BALL 1.5.0
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: parameters.h,v 1.18 2005/12/23 17:01:46 amoll Exp $
5// general parameter file class
6//
7
8#ifndef BALL_FORMAT_PARAMETERS_H
9#define BALL_FORMAT_PARAMETERS_H
10
11#ifndef BALL_FORMAT_INIFILE_H
12# include <BALL/FORMAT/INIFile.h>
13#endif
14
15namespace BALL
16{
25 {
26 public:
27
29
30
33
34
37
40 Parameters(const String& filename);
41
44 Parameters(const Parameters& force_field_parameter);
45
48 virtual ~Parameters();
49
52 virtual void clear()
53 ;
54
56
59
62 const Parameters& operator = (const Parameters& parameters);
63
65
68
71 void setFilename(const String& filename);
72
75 const String& getFilename() const;
76
79 INIFile& getParameterFile();
80
83 bool init();
84
86
89
95 virtual bool isValid() const;
96
99 bool operator == (const Parameters& parameters) const;
100
102
103 protected:
104
105 /*_ @name Protected Members
106 */
107 //_@{
108
109 /*_
110 */
111 bool valid_;
112
113 /*_ the INIFile
114 */
115 INIFile INI_file_;
116 //_@}
117 };
118} // namespace BALL
119
120#endif // BALL_FORMAT_PARAMETERS_H
#define BALL_CREATE(name)
Definition create.h:62
#define BALL_EXPORT