OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Specialised Any class which has built in arithmetic operators, but can hold only types which support operator +,-,* and / . More...
#include <OgreAny.h>
Public Member Functions | |
AnyNumeric () | |
template<typename ValueType > | |
AnyNumeric (const ValueType &value) | |
AnyNumeric (const AnyNumeric &other) | |
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 |
AnyNumeric | operator* (const AnyNumeric &rhs) const |
AnyNumeric | operator* (Real factor) const |
AnyNumeric & | operator*= (const AnyNumeric &rhs) |
AnyNumeric | operator+ (const AnyNumeric &rhs) const |
AnyNumeric & | operator+= (const AnyNumeric &rhs) |
AnyNumeric | operator- (const AnyNumeric &rhs) const |
AnyNumeric & | operator-= (const AnyNumeric &rhs) |
AnyNumeric | operator/ (const AnyNumeric &rhs) const |
AnyNumeric & | operator/= (const AnyNumeric &rhs) |
AnyNumeric & | operator= (const AnyNumeric &rhs) |
void | reset () |
Any & | swap (Any &rhs) |
const std::type_info & | type () const |
Specialised Any class which has built in arithmetic operators, but can hold only types which support operator +,-,* and / .
|
inline |
|
inline |
References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.
|
inline |
References Ogre::Any::getType(), Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.
|
inline |
References Ogre::Any::swap().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References std::swap().
Referenced by operator=().
|
inlineinherited |
Referenced by Ogre::Any::isEmpty().
|
inlineinherited |
References Ogre::Any::has_value().
|
inlineinherited |
Referenced by Ogre::any_cast(), and Ogre::Any::getType().
|
inlineinherited |
References Ogre::Any::type().
Referenced by AnyNumeric(), and Ogre::Any::destroy().
|
inlineinherited |
References Ogre::MEMCATEGORY_GENERAL, and OGRE_DELETE_T.
Referenced by Ogre::WorkQueue::Response::abortRequest(), Ogre::Any::destroy(), and Ogre::Any::~Any().
|
inlineinherited |
References Ogre::Any::any_cast, Ogre::Any::getType(), Ogre::MEMCATEGORY_GENERAL, OGRE_NEW_T, and Ogre::Any::reset().
|
inlineinherited |
|
inlineinherited |