Holds a single config value. More...
#include <Application/ConfigFile.h>
Public Member Functions | |
ConfigValue () | |
Constructor. | |
const char * | Name () const |
Gets the name associated with the value. | |
ValueType | Type () const |
Gets the data type of the value. | |
const char * | StringValue () const |
Gets the value as a string. | |
float | FloatValue () const |
Gets the value as a float. | |
int | IntegerValue () const |
Gets the value as an integer. | |
Vector2f | VectorValue () const |
Gets the value as a 2D Vector. | |
Point2f | PointValue () const |
Gets the value as a 2D Point. | |
Color4f | ColorValue () const |
Gets the value as Color. | |
Friends | |
class | ConfigFile |
Holds a single config value.
Color4f ConfigFile::ConfigValue::ColorValue | ( | ) | const [inline] |
float ConfigFile::ConfigValue::FloatValue | ( | ) | const [inline] |
Gets the value as a float.
int ConfigFile::ConfigValue::IntegerValue | ( | ) | const [inline] |
Gets the value as an integer.
const char* ConfigFile::ConfigValue::Name | ( | ) | const [inline] |
Gets the name associated with the value.
Point2f ConfigFile::ConfigValue::PointValue | ( | ) | const [inline] |
Gets the value as a 2D Point.
const char* ConfigFile::ConfigValue::StringValue | ( | ) | const [inline] |
Gets the value as a string.
ValueType ConfigFile::ConfigValue::Type | ( | ) | const [inline] |
Gets the data type of the value.
Vector2f ConfigFile::ConfigValue::VectorValue | ( | ) | const [inline] |
Gets the value as a 2D Vector.