#include <BALL/FORMAT/GAMESSDatFile.h>
List of all members.
|
Classes |
class | block |
struct | State |
Public Member Functions |
|
| GAMESSDatFile () |
| GAMESSDatFile (const GAMESSDatFile &file) throw (Exception::FileNotFound) |
| GAMESSDatFile (const String &filename, File::OpenMode open_mode=std::ios::in) throw (Exception::FileNotFound) |
virtual | ~GAMESSDatFile () |
|
const GAMESSDatFile & | operator= (const GAMESSDatFile &rhs) throw (Exception::FileNotFound) |
|
virtual bool | write (const Molecule &molecule) throw (File::CannotWrite) |
virtual bool | write (const System &molecule) throw (File::CannotWrite) |
virtual Molecule * | read () throw (Exception::ParseError) |
virtual bool | read (System &system) throw (Exception::ParseError) |
|
void | newMolecule () |
void | setMoleculeName (char *name) |
void | insertAtom (char *element, float charge, float x, float y, float z) |
void | insertBond (Index a1, Index a2) |
void | inBlock (const char *blockname) |
void | insertBlockedData (const char *key, const char *value) |
void | insertBlockedData (const String &key, const String &value) |
String & | getBlockedData (const String &block, const String &key) |
const String & | getBlockedData (const String &block, const String &key) const |
void | clearParameters () |
Static Public Attributes |
static State | state |
Protected Member Functions |
virtual void | initRead_ () |
Protected Attributes |
Molecule * | molecule_ |
String | current_block_ |
StringHashMap< block > | blocks_ |
String | symmetry_group_ |
Detailed Description
GAMESSDat file class. This class enables BALL to read and write input and output .dat files for the GAMESS quantum chemistry application.
Constructor & Destructor Documentation
BALL::GAMESSDatFile::GAMESSDatFile |
( |
|
) |
|
virtual BALL::GAMESSDatFile::~GAMESSDatFile |
( |
|
) |
[virtual] |
Member Function Documentation
void BALL::GAMESSDatFile::clearParameters |
( |
|
) |
|
const String& BALL::GAMESSDatFile::getBlockedData |
( |
const String & |
block, |
|
|
const String & |
key | |
|
) |
| | const |
void BALL::GAMESSDatFile::inBlock |
( |
const char * |
blockname |
) |
|
virtual void BALL::GAMESSDatFile::initRead_ |
( |
|
) |
[protected, virtual] |
Initialize internals for read. This method is called by the default implementation of read(System& system) . Its purpose is the initialization of internal members holding, for example, header information from the file. The default implementation provided is empty.
Reimplemented from BALL::GenericMolFile.
void BALL::GAMESSDatFile::insertBlockedData |
( |
const String & |
key, |
|
|
const String & |
value | |
|
) |
| | |
void BALL::GAMESSDatFile::insertBlockedData |
( |
const char * |
key, |
|
|
const char * |
value | |
|
) |
| | |
void BALL::GAMESSDatFile::insertBond |
( |
Index |
a1, |
|
|
Index |
a2 | |
|
) |
| | |
void BALL::GAMESSDatFile::newMolecule |
( |
|
) |
|
void BALL::GAMESSDatFile::setMoleculeName |
( |
char * |
name |
) |
|
Write a molecule to a GAMESSDatFile. If additional GAMESS - keywords are stored in this class, they will be written as well.
Reimplemented from BALL::GenericMolFile.
Member Data Documentation