Project

General

Profile

SO3Engine
SO3::SAnyNumeric::numholder< ValueType > Class Template Reference

#include <SO3Any.h>

Inheritance diagram for SO3::SAnyNumeric::numholder< ValueType >:
SO3::SAnyNumeric::numplaceholder SO3::SAny::placeholder

Public Member Functions

 numholder (const ValueType &value)
 
virtual const std::type_info & GetType () const
 
virtual placeholderClone () const
 
virtual placeholderAdd (placeholder *rhs)
 
virtual placeholderSubtract (placeholder *rhs)
 
virtual placeholderMultiply (placeholder *rhs)
 
virtual placeholderMultiply (float factor)
 
virtual placeholderDivide (placeholder *rhs)
 
virtual void WriteToStream (std::ostream &o)
 
- Public Member Functions inherited from SO3::SAnyNumeric::numplaceholder
 ~numplaceholder ()
 
- Public Member Functions inherited from SO3::SAny::placeholder
virtual ~placeholder ()
 

Public Attributes

ValueType held
 

Detailed Description

template<typename ValueType>
class SO3::SAnyNumeric::numholder< ValueType >

Definition at line 268 of file SO3Any.h.

Constructor & Destructor Documentation

◆ numholder()

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

Definition at line 278 of file SO3Any.h.

Member Function Documentation

◆ Add()

template<typename ValueType >
virtual placeholder * SO3::SAnyNumeric::numholder< ValueType >::Add ( placeholder rhs)
inlinevirtual

Implements SO3::SAnyNumeric::numplaceholder.

Definition at line 298 of file SO3Any.h.

◆ Clone()

template<typename ValueType >
virtual placeholder * SO3::SAnyNumeric::numholder< ValueType >::Clone ( ) const
inlinevirtual

Implements SO3::SAny::placeholder.

Definition at line 291 of file SO3Any.h.

◆ Divide()

template<typename ValueType >
virtual placeholder * SO3::SAnyNumeric::numholder< ValueType >::Divide ( placeholder rhs)
inlinevirtual

Implements SO3::SAnyNumeric::numplaceholder.

Definition at line 326 of file SO3Any.h.

◆ GetType()

template<typename ValueType >
virtual const std::type_info & SO3::SAnyNumeric::numholder< ValueType >::GetType ( ) const
inlinevirtual

Implements SO3::SAny::placeholder.

Definition at line 284 of file SO3Any.h.

◆ Multiply() [1/2]

template<typename ValueType >
virtual placeholder * SO3::SAnyNumeric::numholder< ValueType >::Multiply ( float  factor)
inlinevirtual

Implements SO3::SAnyNumeric::numplaceholder.

Definition at line 319 of file SO3Any.h.

◆ Multiply() [2/2]

template<typename ValueType >
virtual placeholder * SO3::SAnyNumeric::numholder< ValueType >::Multiply ( placeholder rhs)
inlinevirtual

Implements SO3::SAnyNumeric::numplaceholder.

Definition at line 312 of file SO3Any.h.

◆ Subtract()

template<typename ValueType >
virtual placeholder * SO3::SAnyNumeric::numholder< ValueType >::Subtract ( placeholder rhs)
inlinevirtual

Implements SO3::SAnyNumeric::numplaceholder.

Definition at line 305 of file SO3Any.h.

◆ WriteToStream()

template<typename ValueType >
virtual void SO3::SAnyNumeric::numholder< ValueType >::WriteToStream ( std::ostream &  o)
inlinevirtual

Implements SO3::SAny::placeholder.

Definition at line 333 of file SO3Any.h.

Member Data Documentation

◆ held

template<typename ValueType >
ValueType SO3::SAnyNumeric::numholder< ValueType >::held

Definition at line 271 of file SO3Any.h.


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