#include <iso_data_void_value.h>
Inherited by iso::data::TypedValue< Type >.
Inheritance diagram for iso::data::VoidValue:
Public Member Functions | |
template<class Type> | |
VoidValue () | |
template<class Type> | |
VoidValue (const Type &pValue) | |
~VoidValue () | |
const std::type_info * | type () const |
virtual VoidValue * | copy () const=0 |
virtual const VoidValue & | operator= (const VoidValue &pValue) throw (base::Exception) |
template<class Type> | |
operator Type () const throw (base::Exception) | |
template<class Type> | |
bool | match () const |
bool | match (const VoidValue &pValue) const |
template<class Type> | |
void | get (Type &pValue) const throw (base::Exception) |
template<class Type> | |
Type & | value () throw (base::Exception) |
template<class Type> | |
const Type & | value () const throw (base::Exception) |
base::String | info () const |
Protected Attributes | |
void * | mValue |
const std::type_info * | mType |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const VoidValue &pValue) |
value container class
stores a value of an arbitrary data type as void pointer along with information about the data type
Created by Daniel Bisig on 3/13/09.
iso::data::VoidValue::VoidValue | ( | ) |
iso::data::VoidValue::VoidValue | ( | const Type & | pValue | ) |
VoidValue::~VoidValue | ( | ) |
const std::type_info * VoidValue::type | ( | ) | const |
virtual VoidValue* iso::data::VoidValue::copy | ( | ) | const [pure virtual] |
Implemented in iso::data::TypedValue< Type >.
const VoidValue & VoidValue::operator= | ( | const VoidValue & | pValue | ) | throw (base::Exception) [virtual] |
iso::data::VoidValue::operator Type | ( | ) | const throw (base::Exception) |
bool iso::data::VoidValue::match | ( | ) | const [inline] |
bool VoidValue::match | ( | const VoidValue & | pValue | ) | const |
void iso::data::VoidValue::get | ( | Type & | pValue | ) | const throw (base::Exception) |
Type & iso::data::VoidValue::value | ( | ) | throw (base::Exception) |
Reimplemented in iso::data::TypedValue< Type >.
const Type & iso::data::VoidValue::value | ( | ) | const throw (base::Exception) |
Reimplemented in iso::data::TypedValue< Type >.
base::String VoidValue::info | ( | ) | const |
Reimplemented in iso::data::TypedValue< Type >.
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const VoidValue & | pValue | |||
) | [friend] |
void* iso::data::VoidValue::mValue [protected] |
const std::type_info* iso::data::VoidValue::mType [protected] |