OGRE-Next
2.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 () 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 |
|
virtual |
|
inlineinherited |
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 operator=(), and Ogre::Any::operator=().
|
inlineinherited |
Referenced by Ogre::any_cast().