#include <env.h>
Public Member Functions | |
Env (const char *id) | |
Arg::Type | GetType () const |
void | SetI (int i) |
void | SetB (bool b) |
void | SetF (float f) |
void | SetS (const char *s) |
void | SetO (Root *o) |
int | GetI (void) const |
bool | GetB (void) const |
float | GetF (void) const |
const char * | GetS (void) const |
Root * | GetO (void) const |
void | GetAsString (string &result) |
Private Attributes | |
Arg | arg |
Env::Env | ( | const char * | id | ) | [inline] |
void Env::SetI | ( | int | i | ) | [inline] |
Sets the value of this object to the passed integer.
void Env::SetB | ( | bool | b | ) | [inline] |
Sets the value of this object to the passes boolean value.
void Env::SetF | ( | float | f | ) | [inline] |
Sets the value of this object to the passed float value.
void Env::SetS | ( | const char * | s | ) | [inline] |
Sets the value of this object to the passed string.
void Env::SetO | ( | Root * | o | ) | [inline] |
Sets the value of this objet to the passed object.
int Env::GetI | ( | void | ) | const [inline] |
Returns the integer value.
bool Env::GetB | ( | void | ) | const [inline] |
Returns the boolean value.
float Env::GetF | ( | void | ) | const [inline] |
Returns the float value.
const char * Env::GetS | ( | void | ) | const [inline] |
Returns the string.
Root * Env::GetO | ( | void | ) | const [inline] |
Returns the object.
void Env::GetAsString | ( | string & | result | ) |