Ogre::AnyNumeric::numholder< ValueType > Class Template Reference

`#include <OgreAny.h>`

Inheritance diagram for Ogre::AnyNumeric::numholder< ValueType >:
[legend]

## Public Member Functions

| numholder (const ValueType &value)
virtual placeholder * | add (placeholder *rhs)
virtual placeholder * | clone () const
virtual placeholder * | divide (placeholder *rhs)
virtual const std::type_info & | getType () const
virtual placeholder * | multiply (placeholder *rhs)
virtual placeholder * | multiply (Real factor)
virtual placeholder * | subtract (placeholder *rhs)
virtual void | writeToStream (std::ostream &o)

## Public Attributes

ValueType | held

## Detailed Description

### template<typename ValueType>
class Ogre::AnyNumeric::numholder< ValueType >

Definition at line 284 of file OgreAny.h.

## Constructor & Destructor Documentation

## numholder()

template<typename ValueType >

Ogre::AnyNumeric::numholder< ValueType >::numholder | ( | const ValueType & | value | ) |

Definition at line 288 of file OgreAny.h.

## Member Function Documentation

## add()

template<typename ValueType >

virtual placeholder* Ogre::AnyNumeric::numholder< ValueType >::add | ( | placeholder * | rhs | ) |

virtual

Implements Ogre::AnyNumeric::numplaceholder.

Definition at line 305 of file OgreAny.h.

References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.

## clone()

template<typename ValueType >

virtual placeholder* Ogre::AnyNumeric::numholder< ValueType >::clone | ( |  | ) | const

virtual

Implements Ogre::Any::placeholder.

Definition at line 300 of file OgreAny.h.

References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.

## divide()

template<typename ValueType >

virtual placeholder* Ogre::AnyNumeric::numholder< ValueType >::divide | ( | placeholder * | rhs | ) |

virtual

Implements Ogre::AnyNumeric::numplaceholder.

Definition at line 321 of file OgreAny.h.

References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.

## getType()

template<typename ValueType >

virtual const std::type_info& Ogre::AnyNumeric::numholder< ValueType >::getType | ( | void |  | ) | const

virtual

Implements Ogre::Any::placeholder.

Definition at line 295 of file OgreAny.h.

## multiply() [1/2]

template<typename ValueType >

virtual placeholder* Ogre::AnyNumeric::numholder< ValueType >::multiply | ( | placeholder * | rhs | ) |

virtual

Implements Ogre::AnyNumeric::numplaceholder.

Definition at line 313 of file OgreAny.h.

References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.

## multiply() [2/2]

template<typename ValueType >

virtual placeholder* Ogre::AnyNumeric::numholder< ValueType >::multiply | ( | Real | factor | ) |

virtual

Implements Ogre::AnyNumeric::numplaceholder.

Definition at line 317 of file OgreAny.h.

References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.

## subtract()

template<typename ValueType >

virtual placeholder* Ogre::AnyNumeric::numholder< ValueType >::subtract | ( | placeholder * | rhs | ) |

virtual

Implements Ogre::AnyNumeric::numplaceholder.

Definition at line 309 of file OgreAny.h.

References Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.

## writeToStream()

template<typename ValueType >

virtual void Ogre::AnyNumeric::numholder< ValueType >::writeToStream | ( | std::ostream & | o | ) |

virtual

Implements Ogre::Any::placeholder.

Definition at line 325 of file OgreAny.h.

## Member Data Documentation

## held

template<typename ValueType >

ValueType Ogre::AnyNumeric::numholder< ValueType >::held

Definition at line 332 of file OgreAny.h.

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

- OgreAny.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.