Project

General

Profile

SO3Engine
SO3::SAnyNumeric Class Reference

#include <SO3Any.h>

Inheritance diagram for SO3::SAnyNumeric:
SO3::SAny

Classes

class  numholder
 
class  numplaceholder
 

Public Member Functions

 SAnyNumeric ()
 
template<typename ValueType >
 SAnyNumeric (const ValueType &value)
 
 SAnyNumeric (const SAnyNumeric &other)
 
 SAnyNumeric (placeholder *pholder)
 
SAnyNumericoperator= (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
 
SAnyNumericoperator+= (const SAnyNumeric &rhs)
 
SAnyNumericoperator-= (const SAnyNumeric &rhs)
 
SAnyNumericoperator*= (const SAnyNumeric &rhs)
 
SAnyNumericoperator/= (const SAnyNumeric &rhs)
 
- Public Member Functions inherited from SO3::SAny
 SAny ()
 
template<typename ValueType >
 SAny (const ValueType &value)
 
 SAny (const SAny &other)
 
virtual ~SAny ()
 
SAnySwap (SAny &rhs)
 
template<typename ValueType >
SAnyoperator= (const ValueType &rhs)
 
SAnyoperator= (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
placeholdermContent
 

Detailed Description

Specialised SAny class which has built in arithmetic operators, but can hold only types which support operator +,-,* and / .

Definition at line 224 of file SO3Any.h.

Constructor & Destructor Documentation

◆ SAnyNumeric() [1/4]

SO3::SAnyNumeric::SAnyNumeric ( )
inline

Definition at line 345 of file SO3Any.h.

◆ SAnyNumeric() [2/4]

template<typename ValueType >
SO3::SAnyNumeric::SAnyNumeric ( const ValueType &  value)
inline

Definition at line 351 of file SO3Any.h.

◆ SAnyNumeric() [3/4]

SO3::SAnyNumeric::SAnyNumeric ( const SAnyNumeric other)
inline

Definition at line 358 of file SO3Any.h.

◆ SAnyNumeric() [4/4]

SO3::SAnyNumeric::SAnyNumeric ( placeholder pholder)
inline

Definition at line 365 of file SO3Any.h.

Member Function Documentation

◆ operator*() [1/2]

SAnyNumeric SO3::SAnyNumeric::operator* ( const SAnyNumeric rhs) const
inline

Definition at line 394 of file SO3Any.h.

◆ operator*() [2/2]

SAnyNumeric SO3::SAnyNumeric::operator* ( float  factor) const
inline

Definition at line 401 of file SO3Any.h.

◆ operator*=()

SAnyNumeric & SO3::SAnyNumeric::operator*= ( const SAnyNumeric rhs)
inline

Definition at line 431 of file SO3Any.h.

◆ operator+()

SAnyNumeric SO3::SAnyNumeric::operator+ ( const SAnyNumeric rhs) const
inline

Definition at line 380 of file SO3Any.h.

◆ operator+=()

SAnyNumeric & SO3::SAnyNumeric::operator+= ( const SAnyNumeric rhs)
inline

Definition at line 415 of file SO3Any.h.

◆ operator-()

SAnyNumeric SO3::SAnyNumeric::operator- ( const SAnyNumeric rhs) const
inline

Definition at line 387 of file SO3Any.h.

◆ operator-=()

SAnyNumeric & SO3::SAnyNumeric::operator-= ( const SAnyNumeric rhs)
inline

Definition at line 423 of file SO3Any.h.

◆ operator/()

SAnyNumeric SO3::SAnyNumeric::operator/ ( const SAnyNumeric rhs) const
inline

Definition at line 408 of file SO3Any.h.

◆ operator/=()

SAnyNumeric & SO3::SAnyNumeric::operator/= ( const SAnyNumeric rhs)
inline

Definition at line 439 of file SO3Any.h.

◆ operator=()

SAnyNumeric & SO3::SAnyNumeric::operator= ( const SAnyNumeric rhs)
inline

Definition at line 372 of file SO3Any.h.


The documentation for this class was generated from the following file: