BALL  1.5.0
RDFSection.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_STRUCTURE_RDFSECTION_H
6 #define BALL_STRUCTURE_RDFSECTION_H
7 
8 #ifndef BALL_STRUCTURE_RADIALDISTRIBUTIONFUNCTION_H
10 #endif
11 
12 #ifndef BALL_FORMAT_PARAMETERSECTION_H
14 #endif
15 
16 namespace BALL
17 {
22  : public ParameterSection
23  {
24  public:
25 
27 
28 
31 
32  enum Type
33  {
34  UNKNOWN_TYPE = 0,
35  PIECEWISE_POLYNOMIAL = 1
36  };
37 
39 
42 
46 
49  RDFSection(const RDFSection& rdf_section) ;
50 
53  virtual ~RDFSection() ;
54 
56 
59 
61  const RDFSection& operator = (const RDFSection& rdf_section) ;
62 
65  virtual void clear() ;
66 
68 
71 
73  virtual bool extractSection(Parameters& parameters, const String& section_name)
74  ;
75 
77 
80 
84 
86 
89 
92  bool operator == (const RDFSection& section) const ;
93 
95 
96  protected:
97 
98  /*_ The RDF that is to be read from a section */
100 
101  };
102 
103 } // namespace BALL
104 
105 
106 #endif // BALL_STRUCTURE_RDFSECTION_H
BALL::Parameters
Definition: parameters.h:25
BALL_EXPORT
#define BALL_EXPORT
Definition: COMMON/global.h:50
BALL::RDFSection::RDFSection
RDFSection()
BALL::RDFSection::extractSection
virtual bool extractSection(Parameters &parameters, const String &section_name)
BALL::RDFSection
Definition: RDFSection.h:23
BALL::RDFSection::~RDFSection
virtual ~RDFSection()
parameterSection.h
BALL::RDFSection::rdf_
RadialDistributionFunction rdf_
Definition: RDFSection.h:99
BALL::RadialDistributionFunction
Definition: radialDistributionFunction.h:23
BALL::String
Definition: string.h:57
BALL
Definition: constants.h:13
BALL::RDFSection::RDFSection
RDFSection(const RDFSection &rdf_section)
radialDistributionFunction.h
BALL::RDFSection::Type
Type
Definition: RDFSection.h:33
BALL::RDFSection::getRDF
const RadialDistributionFunction & getRDF() const
BALL::operator==
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL::ParameterSection
Definition: parameterSection.h:40
BALL_CREATE
#define BALL_CREATE(name)
Definition: create.h:62
BALL::RDFSection::clear
virtual void clear()