#include <Config.h>
|
static String | getTypeName (Setting::Type type) |
|
static bool | getBoolValue (const String &name, const Setting &s, bool defaultValue=false) |
|
static float | getFloatValue (const String &name, const Setting &s, float defaultValue=0.0f) |
|
static float | getFloatValue (int index, const Setting &s, float defaultValue=0.0f) |
|
static int | getIntValue (const String &name, const Setting &s, int defaultValue=0) |
|
static int | getIntValue (int index, const Setting &s, int defaultValue=0) |
|
static Vector4f | getVector4fValue (const String &name, const Setting &s, const Vector4f &defaultValue=Vector4f::Zero()) |
|
static Vector3f | getVector3fValue (const String &name, const Setting &s, const Vector3f &defaultValue=Vector3f::Zero()) |
|
static Vector2f | getVector2fValue (const String &name, const Setting &s, const Vector2f &defaultValue=Vector2f::Zero()) |
|
static Vector2i | getVector2iValue (const String &name, const Setting &s, const Vector2i &defaultValue=Vector2i::Zero()) |
|
static String | getStringValue (const String &name, const Setting &s, const String &defaultValue="") |
|
static void | printObjCounts () |
|
omicron::Config::Config |
( |
const String & |
filename | ) |
|
virtual omicron::Config::~Config |
( |
| ) |
|
|
virtual |
void omicron::Config::append |
( |
Config * |
cfg, |
|
|
bool |
overwrite = true |
|
) |
| |
Appends another configuration to this one.
bool omicron::Config::exists |
( |
const String & |
path | ) |
|
static bool omicron::Config::getBoolValue |
( |
const String & |
name, |
|
|
const Setting & |
s, |
|
|
bool |
defaultValue = false |
|
) |
| |
|
static |
bool omicron::Config::getBoolValue |
( |
const String & |
name, |
|
|
bool |
defaultValue = false |
|
) |
| |
const String& omicron::Config::getFilename |
( |
| ) |
|
|
inline |
static float omicron::Config::getFloatValue |
( |
const String & |
name, |
|
|
const Setting & |
s, |
|
|
float |
defaultValue = 0.0f |
|
) |
| |
|
static |
static float omicron::Config::getFloatValue |
( |
int |
index, |
|
|
const Setting & |
s, |
|
|
float |
defaultValue = 0.0f |
|
) |
| |
|
static |
static int omicron::Config::getIntValue |
( |
const String & |
name, |
|
|
const Setting & |
s, |
|
|
int |
defaultValue = 0 |
|
) |
| |
|
static |
static int omicron::Config::getIntValue |
( |
int |
index, |
|
|
const Setting & |
s, |
|
|
int |
defaultValue = 0 |
|
) |
| |
|
static |
Setting& omicron::Config::getRootSetting |
( |
| ) |
|
static String omicron::Config::getTypeName |
( |
Setting::Type |
type | ) |
|
|
static |
bool omicron::Config::isLoaded |
( |
| ) |
|
|
inline |
bool omicron::Config::load |
( |
| ) |
|
The documentation for this class was generated from the following file:
- C:/dev/omegalib/release/src/omicron/include/omicron/Config.h