Loading...
Searching...
No Matches
RDFSection.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_STRUCTURE_RDFSECTION_H
#define BALL_STRUCTURE_RDFSECTION_H
#ifndef BALL_STRUCTURE_RADIALDISTRIBUTIONFUNCTION_H
# include <BALL/STRUCTURE/radialDistributionFunction.h>
#endif
#ifndef BALL_FORMAT_PARAMETERSECTION_H
# include <BALL/FORMAT/parameterSection.h>
#endif
namespace BALL
{
class BALL_EXPORT RDFSection
: public ParameterSection
{
public:
BALL_CREATE(RDFSection)
enum Type
{
UNKNOWN_TYPE = 0,
PIECEWISE_POLYNOMIAL = 1
};
RDFSection() ;
RDFSection(const RDFSection& rdf_section) ;
virtual ~RDFSection() ;
const RDFSection& operator = (const RDFSection& rdf_section) ;
virtual void clear() ;
virtual bool extractSection(Parameters& parameters, const String& section_name)
;
const RadialDistributionFunction& getRDF() const ;
bool operator == (const RDFSection& section) const ;
protected:
/*_ The RDF that is to be read from a section */
RadialDistributionFunction rdf_;
};
} // namespace BALL
#endif // BALL_STRUCTURE_RDFSECTION_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::ParameterSection::ParameterSection
ParameterSection()
BALL::Parameters
Definition parameters.h:25
BALL::RDFSection::RDFSection
RDFSection()
BALL::RDFSection::rdf_
RadialDistributionFunction rdf_
Definition RDFSection.h:99
BALL::RDFSection::RDFSection
RDFSection(const RDFSection &rdf_section)
BALL::RDFSection::clear
virtual void clear()
BALL::RDFSection::extractSection
virtual bool extractSection(Parameters &parameters, const String &section_name)
BALL::RDFSection::getRDF
const RadialDistributionFunction & getRDF() const
BALL::RDFSection::Type
Type
Definition RDFSection.h:33
BALL::RDFSection::PIECEWISE_POLYNOMIAL
@ PIECEWISE_POLYNOMIAL
Definition RDFSection.h:35
BALL::RDFSection::UNKNOWN_TYPE
@ UNKNOWN_TYPE
Definition RDFSection.h:34
BALL::RDFSection::~RDFSection
virtual ~RDFSection()
BALL::RadialDistributionFunction
Definition radialDistributionFunction.h:23
BALL::String
Definition string.h:57
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
BALL
Definition constants.h:13
parameterSection.h
radialDistributionFunction.h