MyGUI  3.2.0
Data Structures | Public Member Functions | Static Public Attributes
MyGUI::Any Class Reference

#include <MyGUI_Any.h>

Data Structures

struct  AnyEmpty
class  Holder
class  Placeholder

Public Member Functions

 Any ()
 Any (const Any::AnyEmpty &value)
 Any (const Any &other)
template<typename ValueType >
 Any (const ValueType &value)
 ~Any ()
Anyswap (Any &rhs)
template<typename ValueType >
Anyoperator= (const ValueType &rhs)
Anyoperator= (const Any::AnyEmpty &rhs)
Anyoperator= (const Any &rhs)
bool empty () const
const std::type_info & getType () const
template<typename ValueType >
ValueType * castType (bool _throw=true) const
void * castUnsafe () const

Static Public Attributes

static AnyEmpty Null

Detailed Description

Examples:
Class Any usage.

Definition at line 81 of file MyGUI_Any.h.

Constructor & Destructor Documentation

MyGUI::Any::Any ( )

Definition at line 31 of file MyGUI_Any.cpp.

MyGUI::Any::Any ( const Any::AnyEmpty value)

Definition at line 36 of file MyGUI_Any.cpp.

MyGUI::Any::Any ( const Any other)

Definition at line 41 of file MyGUI_Any.cpp.

template<typename ValueType >
MyGUI::Any::Any ( const ValueType &  value)
inline

Definition at line 92 of file MyGUI_Any.h.

MyGUI::Any::~Any ( )

Definition at line 46 of file MyGUI_Any.cpp.

Member Function Documentation

template<typename ValueType >
ValueType* MyGUI::Any::castType ( bool  _throw = true) const
inline
Examples:
Class Any usage.

Definition at line 117 of file MyGUI_Any.h.

void * MyGUI::Any::castUnsafe ( ) const

Definition at line 82 of file MyGUI_Any.cpp.

bool MyGUI::Any::empty ( ) const

Definition at line 70 of file MyGUI_Any.cpp.

const std::type_info & MyGUI::Any::getType ( ) const

Definition at line 76 of file MyGUI_Any.cpp.

template<typename ValueType >
Any& MyGUI::Any::operator= ( const ValueType &  rhs)
inline

Definition at line 102 of file MyGUI_Any.h.

Any & MyGUI::Any::operator= ( const Any::AnyEmpty rhs)

Definition at line 57 of file MyGUI_Any.cpp.

Any & MyGUI::Any::operator= ( const Any rhs)

Definition at line 64 of file MyGUI_Any.cpp.

Any & MyGUI::Any::swap ( Any rhs)

Definition at line 51 of file MyGUI_Any.cpp.

Field Documentation

Any::AnyEmpty MyGUI::Any::Null
static

Definition at line 85 of file MyGUI_Any.h.


The documentation for this class was generated from the following files: