#include <BALL/FORMAT/antechamberFile.h>
Public Member Functions | |
Constructors and Destructors | |
AntechamberFile () | |
AntechamberFile (const String &filename, File::OpenMode open_mode=std::ios::in) | |
virtual | ~AntechamberFile () |
Destructor. | |
Reading and Writing of Kernel Datastructures | |
virtual bool | write (const AtomContainer &ac) |
virtual bool | write (const System &system) |
virtual bool | read (System &system) |
virtual Molecule * | read () |
virtual bool | write (const Molecule &molecule) |
Protected Member Functions | |
void | ac_split_ (const String &line, std::vector< String > &split) |
Antechamber file format (ac-file) class.
This class is used to read and write antechamber input/output files.
Definition at line 25 of file antechamberFile.h.
BALL::AntechamberFile::AntechamberFile | ( | ) |
Default constructor
BALL::AntechamberFile::AntechamberFile | ( | const String & | filename, | |
File::OpenMode | open_mode = std::ios::in | |||
) |
Detailed constructor
Exception::FileNotFound | if the file could not be opened |
virtual BALL::AntechamberFile::~AntechamberFile | ( | ) | [virtual] |
Destructor.
void BALL::AntechamberFile::ac_split_ | ( | const String & | line, | |
std::vector< String > & | split | |||
) | [protected] |
virtual Molecule* BALL::AntechamberFile::read | ( | ) | [virtual] |
Read a Molecule from the ac file
Exception::ParseError | if a syntax error was encountered |
Reimplemented from BALL::GenericMolFile.
Read a system from the ac file
Exception::ParseError | if a syntax error was encountered |
Reimplemented from BALL::GenericMolFile.
Write a Molecule to the ac file
File::CannotWrite | if writing to the file failed |
Reimplemented from BALL::GenericMolFile.
Write a system to the ac file
File::CannotWrite | if writing to the file failed |
Reimplemented from BALL::GenericMolFile.
virtual bool BALL::AntechamberFile::write | ( | const AtomContainer & | ac | ) | [virtual] |
Write an AtomContainer to the ac file
File::CannotWrite | if writing to the file failed |