#include <atomTypes.h>
Inheritance diagram for AtomTypes:
Public Member Functions | |
Constructors and Destructors | |
AtomTypes () throw () | |
Default constructor. | |
AtomTypes (const AtomTypes &atom_types) throw () | |
Copy constructor. | |
virtual | ~AtomTypes () throw () |
Destructor. | |
virtual bool | extractSection (Parameters ¶meters, const String §ion_name="AtomTypes") throw () |
Reads a parameter section from an INI file. | |
Atom::Type | getType (const String &name) const throw () |
Returns the numeric type for a given string. | |
bool | hasType (const String &name) const throw () |
Queries whether a given atom type is defined. | |
String | getTypeName (Atom::Type type) const throw () |
Returns the name for a given index. | |
Size | getNumberOfTypes () const throw () |
Assignment | |
virtual void | clear () throw () |
Clear method. | |
AtomTypes & | operator= (const AtomTypes &atom_types) throw () |
Assignment operator. | |
Predicates | |
bool | operator== (const AtomTypes &atom_types) const throw () |
Equality operator. | |
Protected Attributes | |
StringHashMap< Atom::Type > | type_map_ |
vector< String > | names_ |
Molecular Mechanics Parameter: class describing the atom type section of a parameter file.
|
Default constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Reads a parameter section from an INI file. This method reads the section given in section_name from ini_file, interprets (if given) a format line, reads the data from this section according to the format, and builds some datastructures for fast and easy acces this data. Reimplemented from ParameterSection. |
|
Returns the numeric type for a given string.
|
|
Assignment operator.
|