SO3Engine
|
SO3::SAnyNumeric Class Reference
#include <SO3Any.h>
Inheritance diagram for SO3::SAnyNumeric:
Classes | |
class | numholder |
class | numplaceholder |
Public Member Functions | |
SAnyNumeric () | |
template<typename ValueType > | |
SAnyNumeric (const ValueType &value) | |
SAnyNumeric (const SAnyNumeric &other) | |
SAnyNumeric (placeholder *pholder) | |
SAnyNumeric & | operator= (const SAnyNumeric &rhs) |
SAnyNumeric | operator+ (const SAnyNumeric &rhs) const |
SAnyNumeric | operator- (const SAnyNumeric &rhs) const |
SAnyNumeric | operator* (const SAnyNumeric &rhs) const |
SAnyNumeric | operator* (float factor) const |
SAnyNumeric | operator/ (const SAnyNumeric &rhs) const |
SAnyNumeric & | operator+= (const SAnyNumeric &rhs) |
SAnyNumeric & | operator-= (const SAnyNumeric &rhs) |
SAnyNumeric & | operator*= (const SAnyNumeric &rhs) |
SAnyNumeric & | operator/= (const SAnyNumeric &rhs) |
Public Member Functions inherited from SO3::SAny | |
SAny () | |
template<typename ValueType > | |
SAny (const ValueType &value) | |
SAny (const SAny &other) | |
virtual | ~SAny () |
SAny & | Swap (SAny &rhs) |
template<typename ValueType > | |
SAny & | operator= (const ValueType &rhs) |
SAny & | operator= (const SAny &rhs) |
bool | IsEmpty () const |
const std::type_info & | GetType () const |
void | Destroy () |
template<typename ValueType > | |
ValueType | operator() () const |
Additional Inherited Members | |
Protected Attributes inherited from SO3::SAny | |
placeholder * | mContent |
Detailed Description
Specialised SAny class which has built in arithmetic operators, but can hold only types which support operator +,-,* and / .
Constructor & Destructor Documentation
◆ SAnyNumeric() [1/4]
◆ SAnyNumeric() [2/4]
template<typename ValueType >
|
inline |
◆ SAnyNumeric() [3/4]
|
inline |
◆ SAnyNumeric() [4/4]
|
inline |
Member Function Documentation
◆ operator*() [1/2]
|
inline |
◆ operator*() [2/2]
|
inline |
◆ operator*=()
|
inline |
◆ operator+()
|
inline |
◆ operator+=()
|
inline |
◆ operator-()
|
inline |
◆ operator-=()
|
inline |
◆ operator/()
|
inline |
◆ operator/=()
|
inline |
◆ operator=()
|
inline |
The documentation for this class was generated from the following file:
- include/SO3Utils/SO3Any.h
Generated by 1.9.8