Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ObjCryst::CIF Class Reference

Main CIF class - parses the stream and separates data blocks, comments, items, loops. More...

List of all members.

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, CIFDatamvData
 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.


Detailed Description

Main CIF class - parses the stream and separates data blocks, comments, items, loops.

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.


Constructor & Destructor Documentation

ObjCryst::CIF::CIF std::istream &  in,
const bool  interpret = true,
const bool  verbose = false
 

Creates the CIF object from a stream.

Parameters:
interpret: if true, interpret all data blocks. See CIFData::ExtractAll()


Member Function Documentation

void ObjCryst::CIF::Parse std::stringstream &  in  ) 
 

Separate the file in data blocks and parse them to sort tags, loops and comments.

All is stored in the original strings.


Member Data Documentation

std::list<std::string> ObjCryst::CIF::mvComment
 

Global comments, outside and data block.

std::map<std::string,CIFData> ObjCryst::CIF::mvData
 

The data blocks, after parsing. The key is the name of the data block.


The documentation for this class was generated from the following file:
Generated on Tue Nov 14 15:03:44 2006 for ObjCryst++ by doxygen 1.3.6