#include <Any.h>
Classes | |
class | Holder |
class | PlaceHolder |
Public Member Functions | |
Any () | |
template<typename T > | |
Any (const T &rValue) | |
Any (const Any &rOther) | |
const std::type_info & | GetType () const |
kt_bool | IsEmpty () const |
template<typename T > | |
Any & | operator= (const T &rOther) |
Any & | operator= (const Any &rOther) |
Any & | Swap (Any &rOther) |
~Any () | |
Static Public Attributes | |
static const Any | Empty |
Private Attributes | |
PlaceHolder * | m_pContent |
Friends | |
template<typename T > | |
T * | any_cast (Any *) |
The Any class can hold instances of any type that satisfies ValueType requirements.
karto::Any::Any | ( | ) | [inline] |
karto::Any::Any | ( | const T & | rValue | ) | [inline] |
karto::Any::Any | ( | const Any & | rOther | ) | [inline] |
karto::Any::~Any | ( | ) | [inline] |
const std::type_info& karto::Any::GetType | ( | ) | const [inline] |
kt_bool karto::Any::IsEmpty | ( | ) | const [inline] |
Any& karto::Any::Swap | ( | Any & | rOther | ) | [inline] |
const Any karto::Any::Empty [static] |
PlaceHolder* karto::Any::m_pContent [private] |