![]() |
OGRE 2.3.3
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 () | |
| AnyNumeric (const AnyNumeric &other) | |
| template<typename ValueType> | |
| AnyNumeric (const ValueType &value) | |
| virtual | ~AnyNumeric () |
| 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 |
References Ogre::Any::Any().
Referenced by AnyNumeric(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and operator=().
References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.
|
inline |
References Ogre::Any::Any(), and AnyNumeric().
|
virtual |
|
inlineinherited |
References reset().
References any_cast.
|
inlineinherited |
References type().
|
inlineinherited |
Referenced by isEmpty().
|
inlineinherited |
References has_value().
References any_cast.
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inline |
References AnyNumeric().
|
inlineinherited |
References Ogre::MEMCATEGORY_GENERAL, and OGRE_DELETE_T.
Referenced by destroy().
References Any(), and std::swap().
|
inlineinherited |
Referenced by any_cast, Ogre::any_cast(), and getType().