#include <Format.hxx>
Inheritance diagram for SeldonData::FormatText:
Public Member Functions | |
FormatText () throw () | |
Default constructor. | |
FormatText (string separator) throw () | |
Constructor. | |
FormatText (fstream::fmtflags flags, string separator="\t\t") throw () | |
Constructor. | |
FormatText (fstream::fmtflags flags, streamsize precision, streamsize width=-1, string separator="\t\t") throw () | |
Constructor. | |
~FormatText () throw () | |
Destructor. | |
void | SetSeparator (string separator) |
Sets the separator. | |
void | SetFlags (ofstream::fmtflags flags) |
void | SetPrecision (streamsize precision) |
Sets floating-point decimal presision. | |
void | SetWidth (streamsize width) |
Sets field width. | |
template<class TG> | |
void | Read (string FileName, RegularGrid< TG > &G) const |
Reads a text file. | |
template<class TG> | |
void | Read (ifstream &FileStream, RegularGrid< TG > &G) const |
Reads a text file. | |
template<class TG, int N> | |
void | Read (string FileName, GeneralGrid< TG, N > &G) const |
Reads a text file. | |
template<class TG, int N> | |
void | Read (ifstream &FileStream, GeneralGrid< TG, N > &G) const |
Reads a text file. | |
template<class TG> | |
void | Write (RegularGrid< TG > &G, string FileName) const |
Writes a text file. | |
template<class TG> | |
void | Write (RegularGrid< TG > &G, ofstream &FileStream) const |
Writes a text file. | |
template<class TG, int N> | |
void | Write (GeneralGrid< TG, N > &G, string FileName) const |
Writes a text file. | |
template<class TG, int N> | |
void | Write (GeneralGrid< TG, N > &G, ofstream &FileStream) const |
Writes a text file. | |
template<class TD, int N, class TG> | |
void | Read (string FileName, Data< TD, N, TG > &D) const |
Reads a text file. | |
template<class TD, int N, class TG> | |
void | Read (ifstream &FileStream, Data< TD, N, TG > &D) const |
Reads a text file. | |
template<class TD, int N, class TG> | |
void | Write (Data< TD, N, TG > &D, string FileName) const |
Writes a text file. | |
template<class TD, int N, class TG> | |
void | Write (Data< TD, N, TG > &D, ofstream &FileStream) const |
Writes a text file. | |
template<class TA, int N> | |
void | Read (string FileName, Array< TA, N > &A) const |
Reads a text file. | |
template<class TA, int N> | |
void | Read (ifstream &FileStream, Array< TA, N > &A) const |
Reads a text file. | |
template<class TA> | |
void | Read (ifstream &FileStream, Array< TA, 1 > &A) const |
Reads a text file. | |
template<class TA, int N> | |
void | Write (Array< TA, N > &A, string FileName) const |
Writes a text file. | |
template<class TA, int N> | |
void | Write (Array< TA, N > &A, ofstream &FileStream) const |
Writes a text file. | |
Protected Attributes | |
string | separator_ |
fstream::fmtflags | flags_ |
streamsize | precision_ |
streamsize | width_ |
|
Sets floating-point decimal presision.
|
|
Sets the separator.
|
|
Sets field width.
|