OGRE
2.2.4
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) | |
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 |
|
inline |
References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.
|
inline |
References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.
|
virtual |
|
inlineinherited |
References Ogre::any_cast(), Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.
Referenced by Ogre::WorkQueue::Response::abortRequest().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References Ogre::Any::swap().
|
inlineinherited |
References Ogre::MEMCATEGORY_GENERAL, and OGRE_DELETE_T.
References std::swap().
Referenced by Ogre::Any::operator=(), and operator=().
|
inlineinherited |
Referenced by Ogre::any_cast().