#include <Value.hpp>
Public Types | |
enum | Type { eValueTypeUndefined, eValueTypeBoolean, eValueTypeInteger, eValueTypeMiNoMax, eValueTypeNumber, eValueTypePoint, eValueTypeString } |
typedef bool | Boolean |
typedef int32_t | Integer |
typedef std::string | String |
Public Member Functions | |
Value (Type type) | |
template<typename _ValueType> | |
Value (Type type, const _ValueType &inSource) | |
Value (const Value &inSource) | |
Value & | operator= (const Value &inSource) throw () |
template<typename _ValueType> | |
_ValueType | get () const throw (Error) |
template<typename _ValueType> | |
void | set (const _ValueType &inSource) throw (Error) |
const Type | getType () const throw () |
void | setType (const Type &inSource) throw () |
const bool | getIsSet () const throw () |
void | setIsSet (const bool &inSource) throw () |
Private Attributes | |
Type | mType |
boost::variant< Value::Boolean, Value::Integer, Value::Number, Value::MiNoMax, Value::Point, Value::String > | mValue |
bool | mIsSet |
Classes | |
class | MiNoMax |
class | Number |
class | Point |
Definition at line 37 of file Value.hpp.
typedef bool torc::generic::Value::Boolean |
typedef int32_t torc::generic::Value::Integer |
typedef std::string torc::generic::Value::String |
_ValueType torc::generic::Value::get | ( | ) | const throw (Error) [inline] |
void torc::generic::Value::set | ( | const _ValueType & | inSource | ) | throw (Error) [inline] |
const Value::Type torc::generic::Value::getType | ( | void | ) | const throw () [inline] |
void torc::generic::Value::setType | ( | const Type & | inSource | ) | throw () |
const bool torc::generic::Value::getIsSet | ( | ) | const throw () [inline] |
void torc::generic::Value::setIsSet | ( | const bool & | inSource | ) | throw () |