BALL
1.4.2
|
#include <BALL/STRUCTURE/RDFSection.h>
Public Types | |
Enums | |
enum | Type { UNKNOWN_TYPE = 0, PIECEWISE_POLYNOMIAL = 1 } |
Public Types inherited from BALL::ParameterSection | |
enum | { MAX_FIELDS = 20 } |
Public Member Functions | |
Constructors and destructors | |
RDFSection () | |
RDFSection (const RDFSection &rdf_section) | |
virtual | ~RDFSection () |
Assignment | |
const RDFSection & | operator= (const RDFSection &rdf_section) |
virtual void | clear () |
Parameter extraction | |
virtual bool | extractSection (Parameters ¶meters, const String §ion_name) |
Accessors | |
const RadialDistributionFunction & | getRDF () const |
Predicates | |
bool | operator== (const RDFSection §ion) const |
Public Member Functions inherited from BALL::ParameterSection | |
ParameterSection () | |
ParameterSection (const ParameterSection ¶meter_section) | |
virtual | ~ParameterSection () |
bool | extractSection (Parameters ¶meters, const String §ion_name) |
const String & | getSectionName () const |
const String & | getValue (const String &key, const String &variable) const |
bool | has (const String &key, const String &variable) const |
bool | has (const String &key) const |
bool | hasVariable (const String &variable) const |
Position | getColumnIndex (const String &variable) const |
Size | getNumberOfVariables () const |
Size | getNumberOfKeys () const |
const String & | getValue (Position key_index, Position variable_index) const |
const String & | getKey (Position key_index) const |
const ParameterSection & | operator= (const ParameterSection §ion) |
virtual bool | isValid () const |
bool | operator== (const ParameterSection ¶meter_section) const |
Protected Attributes | |
RadialDistributionFunction | rdf_ |
Protected Attributes inherited from BALL::ParameterSection | |
String | section_name_ |
String | format_line_ |
StringHashMap< Index > | section_entries_ |
StringHashMap< Index > | variable_names_ |
std::vector< String > | entries_ |
std::vector< String > | keys_ |
Size | number_of_variables_ |
std::vector< float > | version_ |
bool | valid_ |
Additional Inherited Members | |
Public Attributes inherited from BALL::ParameterSection | |
Options | options |
Static Public Attributes inherited from BALL::ParameterSection | |
static const String | UNDEFINED |
Helper class for RDFParameter.
Definition at line 21 of file RDFSection.h.
Enumerator | |
---|---|
UNKNOWN_TYPE | |
PIECEWISE_POLYNOMIAL |
Definition at line 32 of file RDFSection.h.
BALL::RDFSection::RDFSection | ( | ) |
Default constructor
BALL::RDFSection::RDFSection | ( | const RDFSection & | rdf_section | ) |
Copy constructor
|
virtual |
Destructor
|
virtual |
Clear method
Reimplemented from BALL::ParameterSection.
|
virtual |
const RadialDistributionFunction& BALL::RDFSection::getRDF | ( | ) | const |
return the RDF created by extractSection()
const RDFSection& BALL::RDFSection::operator= | ( | const RDFSection & | rdf_section | ) |
bool BALL::RDFSection::operator== | ( | const RDFSection & | section | ) | const |
Equality operator
|
protected |
Definition at line 99 of file RDFSection.h.