7#ifndef BALL_DATATYPE_OPTIONS_H
8#define BALL_DATATYPE_OPTIONS_H
14#ifndef BALL_DATATYPE_STRING_H
18#ifndef BALL_DATATYPE_STRINGHASHMAP_H
24#ifndef BALL_MATHS_VECTOR3_H
28#ifndef BALL_CONCEPT_PERSISTENTOBJECT_H
364 bool operator == (const
Options& option) const;
367 bool operator != (const
Options& option) const;
void setVector(const String &key, const Vector3 &value)
void setBool(const String &key, const bool value)
Vector3 getVector(const String &key) const
bool isReal(const String &key) const
bool isSet(const String &key) const
bool getBool(const String &key) const
void addParameterDescription(const String &key, String description, ParamFile::ParameterType type, list< String > *allowed_values=NULL)
Options * getSubcategory(String name)
String get(const String &key) const
bool setDefaultBool(const String &key, const bool value)
double getReal(const String &key) const
void setInteger(const String &key, const long value)
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
StringHashMap< Options * >::Iterator endSubcategories()
static const Size MAX_ENTRY_LENGTH
bool isVector(const String &key) const
long setDefaultInteger(const String &key, const long value)
StringHashMap< Options * >::Iterator beginSubcategories()
long getInteger(const String &key) const
StringHashMap< ParamFile::ParameterDescription > descriptions_
bool readOptionFile(const String &filename)
const String & getName() const
void set(const String &key, const String &value)
bool writeOptionFile(const String &filename) const
void setName(const String &name)
String setDefault(const String &key, const String &value)
double setDefaultReal(const String &key, const double value)
Options * createSubcategory(String name)
StringHashMap< Options * > subcategories_
void write(PersistenceManager &pm) const
bool read(PersistenceManager &pm)
bool isBool(const String &key) const
bool isInteger(const String &key) const
const ParamFile::ParameterDescription * getParameterDescription(const String &key) const
void setReal(const String &key, const double value)
HashMap< String, String >::Iterator Iterator
#define BALL_CREATE(name)
TVector3< float > Vector3