![]() |
QMCPACK
|
Classes | |
class | ASCIISliceMaker |
class | IOSectionClass |
Wrapper class for IOTreeClass that gives a nearly identical interface as the OutputSectionClass. More... | |
class | IOTreeASCIIClass |
This is the ASCII specialization of IOTreeClass for ASCII text files. More... | |
class | IOTreeClass |
This class stores a tree of input file sections. More... | |
class | IOVarASCII |
class | IOVarASCII< bool, 0 > |
class | IOVarASCII< double, 0 > |
class | IOVarASCII< int, 0 > |
class | IOVarASCII< std::complex< double >, 0 > |
class | IOVarASCII< std::string, 0 > |
class | IOVarBase |
class | SliceCheck |
The following is a template trick for counting how many /// dimension reductions we have made to a dataset by indexing /// by integer arguments. More... | |
class | SliceCheck< int > |
class | TokenClass |
This class holds an ASCII token, which is just a std::string and the line number in which it appeared in the file. More... | |
class | TypeConvert |
The following are template tricks for converting a C++ type /// into an enumerated type variable. More... | |
class | TypeConvert< bool > |
class | TypeConvert< double > |
class | TypeConvert< int > |
class | TypeConvert< std::complex< double > > |
class | TypeConvert< std::string > |
Enumerations | |
enum | IODataType { DOUBLE_TYPE, INT_TYPE, STRING_TYPE, BOOL_TYPE, COMPLEX_TYPE, INVALID } |
enum | IOFileType { ASCII_TYPE } |
Functions | |
void | SetVerbose (bool verb) |
std::string | Extension (std::string fileName) |
In the file name format name.extn, returns the extension. More... | |
IOTreeClass * | ReadTree (std::string fileName, std::string myName, IOTreeClass *parent) |
This function takes a filename, determines it extension, creates a new IOTreeASCIIClass or IOTreeHDF5Class based on the extension, and calls OpenFile on the new object. More... | |
IOTreeClass * | NewTree (std::string fileName, std::string myName, IOTreeClass *parent) |
template<typename T > | |
std::string | TypeString (T &val) |
template<> | |
std::string | TypeString (double &val) |
template<> | |
std::string | TypeString (int &val) |
template<> | |
std::string | TypeString (std::string &val) |
template<> | |
std::string | TypeString (bool &val) |
template<> | |
std::string | TypeString (std::complex< double > &val) |
Variables | |
std::ostream | verr |
class IO::TokenClass |
enum IODataType |
Enumerator | |
---|---|
DOUBLE_TYPE | |
INT_TYPE | |
STRING_TYPE | |
BOOL_TYPE | |
COMPLEX_TYPE | |
INVALID |
Definition at line 26 of file IOVarBase.h.
enum IOFileType |
|
inline |
In the file name format name.extn, returns the extension.
Actually returns everything after the trailing.
IOTreeClass* IO::NewTree | ( | std::string | fileName, |
std::string | myName, | ||
IOTreeClass * | parent | ||
) |
IOTreeClass* IO::ReadTree | ( | std::string | fileName, |
std::string | myName, | ||
IOTreeClass * | parent | ||
) |
This function takes a filename, determines it extension, creates a new IOTreeASCIIClass or IOTreeHDF5Class based on the extension, and calls OpenFile on the new object.
Extensions: .h5: HDF5 .xml: XML .anything_else ASCII
void IO::SetVerbose | ( | bool | verb | ) |
|
inline |
Definition at line 397 of file IOVarBase.h.
Referenced by IOVarASCII< T, RANK >::Print().
|
inline |
Definition at line 402 of file IOVarBase.h.
|
inline |
Definition at line 407 of file IOVarBase.h.
|
inline |
Definition at line 412 of file IOVarBase.h.
|
inline |
Definition at line 417 of file IOVarBase.h.
|
inline |
Definition at line 422 of file IOVarBase.h.
std::ostream verr |