OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Variant type that can hold Any other type. More...
#include <OgreAny.h>
Public Member Functions | |
Any () | |
template<typename ValueType > | |
Any (const ValueType &value) | |
Any (const Any &other) | |
virtual | ~Any () |
void | destroy () |
template<typename ValueType > | |
ValueType | get (void) const |
const std::type_info & | getType () const |
bool | has_value () const |
bool | isEmpty () const |
template<typename ValueType > | |
ValueType | operator() () const |
template<typename ValueType > | |
Any & | operator= (const ValueType &rhs) |
Any & | operator= (const Any &rhs) |
void | reset () |
Any & | swap (Any &rhs) |
const std::type_info & | type () const |
Friends | |
template<typename ValueType > | |
ValueType * | any_cast (Any *) |
std::ostream & | operator<< (std::ostream &o, const Any &v) |
Variant type that can hold Any other type.
|
inline |
|
inlineexplicit |
|
inline |
|
virtual |
|
inline |
References Ogre::any_cast(), Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.
Referenced by Ogre::WorkQueue::Response::abortRequest().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References swap().
|
inline |
References Ogre::MEMCATEGORY_GENERAL, and OGRE_DELETE_T.
References std::swap().
Referenced by operator=(), and Ogre::AnyNumeric::operator=().
|
inline |
Referenced by Ogre::any_cast().
|
friend |
|
friend |