Public Types | Public Member Functions | Private Member Functions | Private Attributes
Config::ConfigEntry Class Reference

List of all members.

Public Types

enum  eType { TYPE_INT = 1, TYPE_FLOAT, TYPE_STRING }

Public Member Functions

 ConfigEntry ()
 ConfigEntry (const ConfigEntry &e2)
float getFloat () const
float getFloatMax () const
float getFloatMin () const
int getInt () const
int getIntMax () const
int getIntMin () const
const char * getString () const
eType getType () const
ConfigEntryoperator= (const ConfigEntry &e2)
bool operator== (const ConfigEntry &e2)
template<class T >
void set (T t)
template<>
void set (float t)
template<>
void set (int t)
template<>
void set (const char *t)
void setFloat (float f)
void setFloatMax (float m)
void setFloatMin (float m)
void setInt (int i)
void setIntMax (int m)
void setIntMin (int m)
void setString (const char *p)
 ~ConfigEntry ()

Private Member Functions

eType deduceType (int) const
eType deduceType (const char *) const
eType deduceType (float) const

Private Attributes

union {
   char *   data
   float   data_float
   int   data_int
}; 
union {
   void *   minval
   float   minval_float
   int   minval_int
}; 
union {
   void *   maxval
   float   maxval_float
   int   maxval_int
}; 
eType type

Detailed Description

Definition at line 115 of file Config.h.


Member Enumeration Documentation

Enumerator:
TYPE_INT 
TYPE_FLOAT 
TYPE_STRING 

Definition at line 270 of file Config.h.


Constructor & Destructor Documentation

Definition at line 118 of file Config.h.

Definition at line 119 of file Config.h.

Definition at line 125 of file Config.h.


Member Function Documentation

eType Config::ConfigEntry::deduceType ( int  ) const [inline, private]

Definition at line 284 of file Config.h.

eType Config::ConfigEntry::deduceType ( const char *  ) const [inline, private]

Definition at line 288 of file Config.h.

eType Config::ConfigEntry::deduceType ( float  ) const [inline, private]

Definition at line 292 of file Config.h.

float Config::ConfigEntry::getFloat ( ) const [inline]

Definition at line 239 of file Config.h.

float Config::ConfigEntry::getFloatMax ( ) const [inline]

Definition at line 259 of file Config.h.

float Config::ConfigEntry::getFloatMin ( ) const [inline]

Definition at line 264 of file Config.h.

int Config::ConfigEntry::getInt ( ) const [inline]

Definition at line 234 of file Config.h.

int Config::ConfigEntry::getIntMax ( ) const [inline]

Definition at line 249 of file Config.h.

int Config::ConfigEntry::getIntMin ( ) const [inline]

Definition at line 254 of file Config.h.

const char* Config::ConfigEntry::getString ( ) const [inline]

Definition at line 244 of file Config.h.

eType Config::ConfigEntry::getType ( ) const [inline]

Definition at line 277 of file Config.h.

ConfigEntry& Config::ConfigEntry::operator= ( const ConfigEntry e2) [inline]

Definition at line 142 of file Config.h.

bool Config::ConfigEntry::operator== ( const ConfigEntry e2) [inline]

Definition at line 162 of file Config.h.

template<class T >
void Config::ConfigEntry::set ( t)
template<>
void Config::ConfigEntry::set ( float  t) [inline]

Definition at line 332 of file Config.h.

template<>
void Config::ConfigEntry::set ( int  t) [inline]

Definition at line 337 of file Config.h.

template<>
void Config::ConfigEntry::set ( const char *  t) [inline]

Definition at line 342 of file Config.h.

void Config::ConfigEntry::setFloat ( float  f) [inline]

Definition at line 212 of file Config.h.

void Config::ConfigEntry::setFloatMax ( float  m) [inline]

Definition at line 222 of file Config.h.

void Config::ConfigEntry::setFloatMin ( float  m) [inline]

Definition at line 217 of file Config.h.

void Config::ConfigEntry::setInt ( int  i) [inline]

Definition at line 197 of file Config.h.

void Config::ConfigEntry::setIntMax ( int  m) [inline]

Definition at line 207 of file Config.h.

void Config::ConfigEntry::setIntMin ( int  m) [inline]

Definition at line 202 of file Config.h.

void Config::ConfigEntry::setString ( const char *  p) [inline]

Definition at line 227 of file Config.h.


Member Data Documentation

union { ... } [private]
union { ... } [private]
union { ... } [private]

Definition at line 299 of file Config.h.

Definition at line 301 of file Config.h.

Definition at line 300 of file Config.h.

Definition at line 311 of file Config.h.

Definition at line 313 of file Config.h.

Definition at line 312 of file Config.h.

Definition at line 305 of file Config.h.

Definition at line 307 of file Config.h.

Definition at line 306 of file Config.h.

Definition at line 296 of file Config.h.


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


robbie_architecture
Author(s): Viktor Seib
autogenerated on Mon Oct 6 2014 02:53:09