RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Settings::Object::State Class Reference

#include <settings.h>

Public Member Functions

 State (void)
 
 State (ID n)
 
 ~State (void)
 
double loadDouble (const std::string &name) const
 
int loadInteger (const std::string &name) const
 
std::string loadString (const std::string &name) const
 
void saveDouble (const std::string &name, double)
 
void saveInteger (const std::string &name, int)
 
void saveString (const std::string &name, const std::string &value)
 
State loadState (const std::string &name) const
 
void saveState (const std::string &name, const State &value)
 
QDomElement xml (QDomDocument &) const
 
void xml (const QDomElement &)
 

Private Attributes

ID id
 
std::map< std::string,
std::string > 
paramMap
 
std::map< std::string, StatestateMap
 

Friends

class Manager
 
class Object
 

Detailed Description

Definition at line 62 of file settings.h.

Constructor & Destructor Documentation

Settings::Object::State::State(void )

Definition at line 55 of file settings.cpp.

Settings::Object::State::State(ID n)

Definition at line 57 of file settings.cpp.

Settings::Object::State::~State(void )

Definition at line 59 of file settings.cpp.

Member Function Documentation

double Settings::Object::State::loadDouble(const std::string & name)const

Definition at line 61 of file settings.cpp.

int Settings::Object::State::loadInteger(const std::string & name)const

Definition at line 77 of file settings.cpp.

Settings::Object::State Settings::Object::State::loadState(const std::string & name)const

Definition at line 124 of file settings.cpp.

std::string Settings::Object::State::loadString(const std::string & name)const

Definition at line 93 of file settings.cpp.

void Settings::Object::State::saveDouble(const std::string & name,
double value 
)

Definition at line 105 of file settings.cpp.

void Settings::Object::State::saveInteger(const std::string & name,
int value 
)

Definition at line 112 of file settings.cpp.

void Settings::Object::State::saveState(const std::string & name,
const Statevalue 
)

Definition at line 136 of file settings.cpp.

void Settings::Object::State::saveString(const std::string & name,
const std::string & value 
)

Definition at line 119 of file settings.cpp.

QDomElement Settings::Object::State::xml(QDomDocument & doc)const

Definition at line 141 of file settings.cpp.

void Settings::Object::State::xml(const QDomElement & e1)

Definition at line 166 of file settings.cpp.

Friends And Related Function Documentation

friend class Manager
friend

Definition at line 65 of file settings.h.

friend class Object
friend

Definition at line 66 of file settings.h.

Member Data Documentation

ID Settings::Object::State::id
private

Definition at line 119 of file settings.h.

std::map<std::string,std::string> Settings::Object::State::paramMap
private

Definition at line 120 of file settings.h.

std::map<std::string,State> Settings::Object::State::stateMap
private

Definition at line 121 of file settings.h.


The documentation for this class was generated from the following files: