OGRE
1.11.6
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 |
Referenced by operator=().
|
inlineexplicit |
|
inline |
|
inlinevirtual |
References reset().
References std::swap().
Referenced by Ogre::AnyNumeric::operator=().
|
inline |
References Any().
|
inline |
Referenced by isEmpty().
|
inline |
References has_value().
|
inline |
Referenced by Ogre::any_cast(), and getType().
|
inline |
References type().
Referenced by Ogre::AnyNumeric::AnyNumeric(), and destroy().
|
inline |
References Ogre::MEMCATEGORY_GENERAL, and OGRE_DELETE_T.
Referenced by Ogre::WorkQueue::Response::abortRequest(), destroy(), and ~Any().
|
inline |
References any_cast, getType(), Ogre::MEMCATEGORY_GENERAL, OGRE_NEW_T, and reset().
|
inline |
|
inline |
Referenced by Ogre::UserObjectBindings::operator=().
|
friend |
|
friend |
Referenced by Ogre::any_cast(), and destroy().