OGRE-Next
4.0.0unstable
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 () |
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) |
Public Member Functions inherited from Ogre::Any | |
Any () | |
Any (const Any &other) | |
template<typename ValueType > | |
Any (const ValueType &value) | |
virtual | ~Any () |
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 |
Any & | operator= (const Any &rhs) |
template<typename ValueType > | |
Any & | operator= (const ValueType &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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References Ogre::Any::swap().