#include <NMRStarFile.h>
Inheritance diagram for NMRStarFile:
Public Types | |
Enums | |
enum | ReferenceMethod { INTERNAL_REFERENCE, EXTERNAL_REFERENCE, UNKNOWN_REFERENCE, UNSET_REFERENCE } |
enum | ReferenceType { DIRECT_TYPE, INDIRECT_TYPE, UNKNOWN_TYPE, UNSET_TYPE } |
Public Member Functions | |
Constructors and Destructors | |
NMRStarFile () throw () | |
Standard constructor. | |
NMRStarFile (const NMRStarFile &f) throw (Exception::FileNotFound) | |
Copy constructor. | |
NMRStarFile (const String &file_name) throw (Exception::FileNotFound, Exception::ParseError) | |
Detailed constuctor. | |
const NMRStarFile & | operator= (const NMRStarFile &f) throw () |
Assignment operator. | |
void | clear () throw () |
Clear the object. | |
Access methods | |
Size | getNumberOfAtoms () const throw () |
Get the maiximum number of atoms in all shift sets. | |
const std::vector< NMRAtomDataSet > & | getData () const throw () |
Get the extracted data for the atoms. | |
Equality | |
bool | operator== (const NMRStarFile &f) throw () |
Equality operator. | |
bool | operator!= (const NMRStarFile &f) throw () |
Inequality operator Test if both instances point to different files. |
|
Copy constructor. If the file was open, it is closed. Then the file of f will be opend. All data already extracted in f is copied to this instance. |
|
Detailed constuctor. Opens the given file and extracts all usefull data. |
|
Clear the object.
Reimplemented from LineBasedFile. |
|
Get the extracted data for the atoms.
|
|
Inequality operator Test if both instances point to different files.
|
|
Assignment operator.
|
|
Equality operator. Test if both instances point to the same file. |