ConfigFile::ConfigValue Class Reference

Holds a single config value. More...

#include <Application/ConfigFile.h>

List of all members.

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

Detailed Description

Holds a single config value.


Member Function Documentation

Color4f ConfigFile::ConfigValue::ColorValue (  )  const [inline]

Gets the value as Color.

Returns:
the value as a Color.
float ConfigFile::ConfigValue::FloatValue (  )  const [inline]

Gets the value as a float.

Returns:
the value as a float.
int ConfigFile::ConfigValue::IntegerValue (  )  const [inline]

Gets the value as an integer.

Returns:
the value as an integer.
const char* ConfigFile::ConfigValue::Name (  )  const [inline]

Gets the name associated with the value.

Returns:
the name.
Point2f ConfigFile::ConfigValue::PointValue (  )  const [inline]

Gets the value as a 2D Point.

Returns:
the value as a 2D Point.
const char* ConfigFile::ConfigValue::StringValue (  )  const [inline]

Gets the value as a string.

Returns:
the value as a null terminated c-string.
ValueType ConfigFile::ConfigValue::Type (  )  const [inline]

Gets the data type of the value.

Returns:
the data type.
Vector2f ConfigFile::ConfigValue::VectorValue (  )  const [inline]

Gets the value as a 2D Vector.

Returns:
the value as a 2D Vector.

The documentation for this class was generated from the following files:
Generated on Mon Apr 5 19:08:05 2010 for BrickOut |ReDuX| by  doxygen 1.6.3