#include <OgreAny.h>
Public Member Functions | |
AnyNumeric () | |
template<typename ValueType> | |
AnyNumeric (const ValueType &value) | |
AnyNumeric (const AnyNumeric &other) | |
AnyNumeric & | operator= (const AnyNumeric &rhs) |
AnyNumeric | operator+ (const AnyNumeric &rhs) const |
AnyNumeric | operator- (const AnyNumeric &rhs) const |
AnyNumeric | operator* (const AnyNumeric &rhs) const |
AnyNumeric | operator* (Real factor) const |
AnyNumeric | operator/ (const AnyNumeric &rhs) const |
AnyNumeric & | operator+= (const AnyNumeric &rhs) |
AnyNumeric & | operator-= (const AnyNumeric &rhs) |
AnyNumeric & | operator*= (const AnyNumeric &rhs) |
AnyNumeric & | operator/= (const AnyNumeric &rhs) |
Any & | swap (Any &rhs) |
bool | isEmpty () const |
const std::type_info & | getType () const |
template<typename ValueType> | |
ValueType | operator() () const |
Protected Member Functions | |
AnyNumeric (placeholder *pholder) | |
Construct from holder. | |
Protected Attributes | |
placeholder * | mContent |
Friends | |
std::ostream & | operator<< (std::ostream &o, const Any &v) |
template<typename ValueType> | |
ValueType * | any_cast (Any *) |
Classes | |
class | numholder |
class | numplaceholder |
Definition at line 215 of file OgreAny.h.
Ogre::AnyNumeric::AnyNumeric | ( | ) |
Definition at line 218 of file OgreAny.h.
Referenced by operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and operator=().
Ogre::AnyNumeric::AnyNumeric | ( | const ValueType & | value | ) |
Definition at line 224 of file OgreAny.h.
References Ogre::Any::mContent, Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.
Ogre::AnyNumeric::AnyNumeric | ( | const AnyNumeric & | other | ) |
Definition at line 230 of file OgreAny.h.
References Ogre::Any::placeholder::clone(), and Ogre::Any::mContent.
Ogre::AnyNumeric::AnyNumeric | ( | placeholder * | pholder | ) | [protected] |
AnyNumeric& Ogre::AnyNumeric::operator= | ( | const AnyNumeric & | rhs | ) |
AnyNumeric Ogre::AnyNumeric::operator+ | ( | const AnyNumeric & | rhs | ) | const |
AnyNumeric Ogre::AnyNumeric::operator- | ( | const AnyNumeric & | rhs | ) | const |
AnyNumeric Ogre::AnyNumeric::operator* | ( | const AnyNumeric & | rhs | ) | const |
AnyNumeric Ogre::AnyNumeric::operator* | ( | Real | factor | ) | const |
AnyNumeric Ogre::AnyNumeric::operator/ | ( | const AnyNumeric & | rhs | ) | const |
AnyNumeric& Ogre::AnyNumeric::operator+= | ( | const AnyNumeric & | rhs | ) |
AnyNumeric& Ogre::AnyNumeric::operator-= | ( | const AnyNumeric & | rhs | ) |
AnyNumeric& Ogre::AnyNumeric::operator*= | ( | const AnyNumeric & | rhs | ) |
AnyNumeric& Ogre::AnyNumeric::operator/= | ( | const AnyNumeric & | rhs | ) |
bool Ogre::Any::isEmpty | ( | ) | const [inherited] |
const std::type_info& Ogre::Any::getType | ( | void | ) | const [inherited] |
Definition at line 104 of file OgreAny.h.
References Ogre::Any::placeholder::getType(), and Ogre::Any::mContent.
Referenced by Ogre::any_cast(), and Ogre::Any::operator()().
ValueType Ogre::Any::operator() | ( | ) | const [inherited] |
Definition at line 184 of file OgreAny.h.
References Ogre::Exception::ERR_INVALIDPARAMS, Ogre::Any::getType(), Ogre::Any::mContent, and OGRE_EXCEPT.
std::ostream& operator<< | ( | std::ostream & | o, | |
const Any & | v | |||
) | [friend, inherited] |
ValueType* any_cast | ( | Any * | operand | ) | [friend, inherited] |
placeholder* Ogre::Any::mContent [protected, inherited] |
Definition at line 175 of file OgreAny.h.
Referenced by Ogre::any_cast(), AnyNumeric(), Ogre::Any::getType(), Ogre::Any::isEmpty(), Ogre::Any::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), Ogre::Any::swap(), and Ogre::Any::~Any().
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:02:51 2009