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

#include <MyGUI_Any.h>

Data Structures

struct  AnyEmpty
 

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 63 of file MyGUI_Any.h.

Constructor & Destructor Documentation

MyGUI::Any::Any ( )

Definition at line 15 of file MyGUI_Any.cpp.

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

Definition at line 20 of file MyGUI_Any.cpp.

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

Definition at line 25 of file MyGUI_Any.cpp.

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

Definition at line 74 of file MyGUI_Any.h.

MyGUI::Any::~Any ( )

Definition at line 30 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 98 of file MyGUI_Any.h.

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

Definition at line 64 of file MyGUI_Any.cpp.

bool MyGUI::Any::empty ( ) const

Definition at line 54 of file MyGUI_Any.cpp.

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

Definition at line 59 of file MyGUI_Any.cpp.

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

Definition at line 84 of file MyGUI_Any.h.

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

Definition at line 41 of file MyGUI_Any.cpp.

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

Definition at line 48 of file MyGUI_Any.cpp.

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

Definition at line 35 of file MyGUI_Any.cpp.

Field Documentation

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

Definition at line 67 of file MyGUI_Any.h.


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