Variant type that can hold Any other type. More...
#include <OgreAny.h>

Classes | |
| class | holder |
| class | placeholder |
Public Member Functions | |
| Any () | |
| template<typename ValueType > | |
| Any (const ValueType &value) | |
| Any (const Any &other) | |
| virtual | ~Any () |
| Any & | swap (Any &rhs) |
| template<typename ValueType > | |
| Any & | operator= (const ValueType &rhs) |
| Any & | operator= (const Any &rhs) |
| bool | isEmpty () const |
| const std::type_info & | getType () const |
| void | destroy () |
| template<typename ValueType > | |
| ValueType | operator() () const |
| template<typename ValueType > | |
| ValueType | get (void) const |
Protected Attributes | |
| placeholder * | mContent |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const Any &v) |
| template<typename ValueType > | |
| ValueType * | any_cast (Any *) |
| Ogre::Any::Any | ( | ) |
Definition at line 60 of file OgreAny.h.
Referenced by operator=().
| Ogre::Any::Any | ( | const ValueType & | value | ) | [explicit] |
| Ogre::Any::Any | ( | const Any & | other | ) |
| virtual Ogre::Any::~Any | ( | ) | [virtual] |
| void Ogre::Any::destroy | ( | ) |
Definition at line 122 of file OgreAny.h.
References mContent, Ogre::MEMCATEGORY_GENERAL, and OGRE_DELETE_T.
Referenced by ~Any().
| ValueType Ogre::Any::get | ( | void | ) | const |
Definition at line 218 of file OgreAny.h.
References Ogre::Exception::ERR_INVALIDPARAMS, getType(), and mContent.
| const std::type_info& Ogre::Any::getType | ( | void | ) | const |
Definition at line 109 of file OgreAny.h.
References Ogre::Any::placeholder::getType(), and mContent.
Referenced by Ogre::any_cast(), get(), and operator()().
| bool Ogre::Any::isEmpty | ( | ) | const |
| ValueType Ogre::Any::operator() | ( | ) | const |
Definition at line 194 of file OgreAny.h.
References Ogre::Exception::ERR_INVALIDPARAMS, getType(), and mContent.
| Any& Ogre::Any::operator= | ( | const ValueType & | rhs | ) |
| std::ostream& operator<< | ( | std::ostream & | o, |
| const Any & | v | ||
| ) | [friend] |
placeholder* Ogre::Any::mContent [protected] |
Definition at line 185 of file OgreAny.h.
Referenced by Ogre::any_cast(), Ogre::AnyNumeric::AnyNumeric(), destroy(), get(), getType(), isEmpty(), operator()(), Ogre::AnyNumeric::operator*(), Ogre::AnyNumeric::operator*=(), Ogre::AnyNumeric::operator+(), Ogre::AnyNumeric::operator+=(), Ogre::AnyNumeric::operator-(), Ogre::AnyNumeric::operator-=(), Ogre::AnyNumeric::operator/(), Ogre::AnyNumeric::operator/=(), and swap().
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun Sep 2 2012 07:27:25