BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
FORMAT
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
15
namespace
BALL
16
{
24
class
BALL_EXPORT
Parameters
25
{
26
public
:
27
28
BALL_CREATE
(
Parameters
)
29
30
33
36
Parameters
();
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
BALL_CREATE
#define BALL_CREATE(name)
Definition:
create.h:62
BALL::String
Definition:
string.h:61
BALL::Parameters::valid_
bool valid_
Definition:
parameters.h:111
INIFile.h
BALL::operator==
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL::Parameters
Definition:
parameters.h:24
BALL::Parameters::INI_file_
INIFile INI_file_
Definition:
parameters.h:115
BALL::INIFile
Definition:
INIFile.h:28
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
Generated by
1.8.7