OGRE  1.9.0
Ogre::Any::holder< ValueType > Class Template Reference

#include <OgreAny.h>

Inheritance diagram for Ogre::Any::holder< ValueType >:

Public Member Functions

 holder (const ValueType &value)
 
virtual placeholderclone () const
 
virtual const std::type_info & getType () const
 
virtual void writeToStream (std::ostream &o)
 

Public Attributes

ValueType held
 

Detailed Description

template<typename ValueType>
class Ogre::Any::holder< ValueType >

Definition at line 149 of file OgreAny.h.

Constructor & Destructor Documentation

◆ holder()

template<typename ValueType>
Ogre::Any::holder< ValueType >::holder ( const ValueType & value)

Definition at line 153 of file OgreAny.h.

References held.

Referenced by clone().

Member Function Documentation

◆ clone()

template<typename ValueType>
virtual placeholder * Ogre::Any::holder< ValueType >::clone ( ) const
virtual

Implements Ogre::Any::placeholder.

Definition at line 165 of file OgreAny.h.

References holder(), held, Ogre::MEMCATEGORY_GENERAL, and OGRE_NEW_T.

◆ getType()

template<typename ValueType>
virtual const std::type_info & Ogre::Any::holder< ValueType >::getType ( ) const
virtual

Implements Ogre::Any::placeholder.

Definition at line 160 of file OgreAny.h.

◆ writeToStream()

template<typename ValueType>
virtual void Ogre::Any::holder< ValueType >::writeToStream ( std::ostream & o)
virtual

Implements Ogre::Any::placeholder.

Definition at line 170 of file OgreAny.h.

References held.

Member Data Documentation

◆ held

template<typename ValueType>
ValueType Ogre::Any::holder< ValueType >::held

Definition at line 178 of file OgreAny.h.

Referenced by holder(), Ogre::Any::any_cast, clone(), and writeToStream().


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