Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: parameters.h,v 1.18 2005/12/23 17:01:46 amoll Exp $
// general parameter file class
//
#ifndef BALL_FORMAT_PARAMETERS_H
#define BALL_FORMAT_PARAMETERS_H
#ifndef BALL_FORMAT_INIFILE_H
# include <BALL/FORMAT/INIFile.h>
#endif
namespace BALL
{
class BALL_EXPORT Parameters
{
public:
BALL_CREATE(Parameters)
Parameters();
Parameters(const String& filename);
Parameters(const Parameters& force_field_parameter);
virtual ~Parameters();
virtual void clear()
;
const Parameters& operator = (const Parameters& parameters);
void setFilename(const String& filename);
const String& getFilename() const;
INIFile& getParameterFile();
bool init();
virtual bool isValid() const;
bool operator == (const Parameters& parameters) const;
protected:
/*_ @name Protected Members
*/
//_@{
/*_
*/
bool valid_;
/*_ the INIFile
*/
INIFile INI_file_;
//_@}
};
} // namespace BALL
#endif // BALL_FORMAT_PARAMETERS_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
INIFile.h
BALL::INIFile
Definition INIFile.h:29
BALL::Parameters::init
bool init()
BALL::Parameters::Parameters
Parameters()
BALL::Parameters::isValid
virtual bool isValid() const
BALL::Parameters::getParameterFile
INIFile & getParameterFile()
BALL::Parameters::getFilename
const String & getFilename() const
BALL::Parameters::valid_
bool valid_
Definition parameters.h:111
BALL::Parameters::INI_file_
INIFile INI_file_
Definition parameters.h:115
BALL::Parameters::setFilename
void setFilename(const String &filename)
BALL::Parameters::clear
virtual void clear()
BALL::String
Definition string.h:57
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
BALL
Definition constants.h:13