#include <parameters.h>
Inheritance diagram for Parameters:

Public Member Functions | |
Constructors and destructor | |
| Parameters () | |
| Default constructor. | |
| Parameters (const String &filename) | |
| Constructor. | |
| Parameters (const Parameters &force_field_parameter) | |
| Copy constructor. | |
| virtual | ~Parameters () |
| Destructor. | |
| virtual void | clear () throw () |
| Clear method. | |
Assignment | |
| const Parameters & | operator= (const Parameters ¶meters) |
| Assignment operator. | |
Accessors | |
| void | setFilename (const String &filename) |
| Sets the filename for the INI file. | |
| const String & | getFilename () const |
| Return the current INI file's name. | |
| INIFile & | getParameterFile () |
| Return a reference to the INI file. | |
| bool | init () |
| Read the contents of the INI file and interpret them. | |
Predicates | |
| virtual bool | isValid () const |
| Validity predicate. | |
| bool | operator== (const Parameters ¶meters) const |
| Equality operator. | |
Protected Attributes | |
| bool | valid_ |
| INIFile | INI_file_ |
This class is intended to simplify parameter management for force fields or other stronlgy parameterized methods. It is based on INIFile .
|
|
Default constructor.
|
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clear method.
Reimplemented in ForceFieldParameters. |
|
|
Return the current INI file's name.
|
|
|
Return a reference to the INI file.
|
|
|
Read the contents of the INI file and interpret them.
Reimplemented in ForceFieldParameters. |
|
|
Validity predicate. Return true if the parameters were correctly initialized, the internal INI file is valid.
Reimplemented in ForceFieldParameters. |
|
|
Sets the filename for the INI file.
|