BALL::RDFSection Class Reference
[Radial Distribution Functions]

Helper class for RDFParameter. More...

#include <RDFSection.h>

Inheritance diagram for BALL::RDFSection:
Inheritance graph
[legend]

List of all members.


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 &parameters, const String &section_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 &section) const
Equality operator.

Protected Attributes

RadialDistributionFunction rdf_

Detailed Description

Helper class for RDFParameter.

Member Function Documentation

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:
parameters the parameters defining the inifile to be read from
section_name the name of the section to be read (without the squared brackets)
Returns:
bool - true if the section could be read, false otherwise

Reimplemented from BALL::ParameterSection.


Generated on Thu Aug 6 18:30:47 2009 for BALL by doxygen 1.5.8