#include <RDFSection.h>

Public Types |
|
|
Enums
|
|
| enum | Type { UNKNOWN_TYPE = 0, PIECEWISE_POLYNOMIAL = 1 } |
Public Member Functions |
|
|
Constructors and destructors
|
|
| RDFSection () | |
| Default constructor. |
|
| RDFSection (const RDFSection &rdf_section) | |
| Copy constructor. |
|
| virtual | ~RDFSection () |
| Destructor. |
|
|
Assignment
|
|
| const RDFSection & | operator= (const RDFSection &rdf_section) |
| virtual void | clear () |
| Clear method. |
|
|
Parameter extraction
|
|
| virtual bool | extractSection (Parameters ¶meters, const String §ion_name) |
| Reads a parameter section from an
INI file. |
|
|
Accessors
|
|
| const RadialDistributionFunction & | getRDF () const |
| return the RDF created by extractSection() |
|
|
Predicates
|
|
| bool | operator== (const RDFSection §ion) const |
| Equality operator. |
|
Protected Attributes |
|
| RadialDistributionFunction | rdf_ |
| virtual bool BALL::RDFSection::extractSection | ( | Parameters & | parameters, | |
| const String & | section_name | |||
| ) | [virtual] |
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 to the data.
| parameters | the parameters defining the inifile to be read from | |
| section_name | the name of the section to be read (without the squared brackets) |
Reimplemented from BALL::ParameterSection.
1.5.8