Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

GameOptions Class Reference

Inheritance diagram for GameOptions:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::map< std::string,
OptionValue > 
Map

Public Member Functions

void clear ()
OptionValue get (const std::string &key, OptionValue def=0, bool add=false)
void load (const std::string &file, bool clear=true)
void reload (bool clearOld=true)
void remove (const std::string &key)
void save (const std::string &file) const
void set (const std::string &key, OptionValue val)

Static Public Member Functions

static GameOptionsgetInstance ()
static bool isActive ()
static bool isDestroyed ()
static bool isVirgin ()

Public Attributes

Map options

Static Public Attributes

static const std::string OPTIONS_FILE = "AnimalRace.xml"

Protected Member Functions

 Singleton ()

Member Function Documentation

static GameOptions * ONE::util::Singleton< GameOptions , Lifetime >::getInstance  )  [static, inherited]
 

static bool ONE::util::Singleton< GameOptions , Lifetime >::isActive  )  [static, inherited]
 

static bool ONE::util::Singleton< GameOptions , Lifetime >::isDestroyed  )  [static, inherited]
 

static bool ONE::util::Singleton< GameOptions , Lifetime >::isVirgin  )  [static, inherited]
 

void GameOptions::reload bool  clearOld = true  ) 
 

ONE::util::Singleton< GameOptions , Lifetime >::Singleton  )  [protected, inherited]
 


Member Data Documentation

const std::string GameOptions::OPTIONS_FILE = "AnimalRace.xml" [static]
 


Generated on Wed Sep 7 19:03:46 2005 for AnimalRace by  doxygen 1.4.3