Public Member Functions | |
CIF (std::istream &in, const bool interpret=true, const bool verbose=false) | |
Creates the CIF object from a stream. | |
void | Parse (std::stringstream &in) |
Separate the file in data blocks and parse them to sort tags, loops and comments. | |
Public Attributes | |
std::map< std::string, CIFData > | mvData |
The data blocks, after parsing. The key is the name of the data block. | |
std::list< std::string > | mvComment |
Global comments, outside and data block. |
All values are stored as string, and Each CIF block is stored in a separate CIFData object. No interpretaion is made here - this must be done from all CIFData objects.
|
Creates the CIF object from a stream.
|
|
Separate the file in data blocks and parse them to sort tags, loops and comments. All is stored in the original strings. |
|
Global comments, outside and data block.
|
|
The data blocks, after parsing. The key is the name of the data block.
|