argos::CAny::CReference< T > Class Template Reference

Actual templetized reference to object. More...

#include <any.h>

Inheritance diagram for argos::CAny::CReference< T >:
Collaboration diagram for argos::CAny::CReference< T >:

Public Member Functions

 CReference (const T &t_object)
 
virtual ~CReference ()
 Destructor. More...
 
virtual const std::type_info & GetType () const
 
virtual CAbstractReferenceClone () const
 Clone the reference. More...
 
- Public Member Functions inherited from argos::CAny::CAbstractReference
virtual ~CAbstractReference ()
 Destructor. More...
 

Public Attributes

m_tObject
 Actual referenced object. More...
 

Detailed Description

template<typename T>
class argos::CAny::CReference< T >

Actual templetized reference to object.

Definition at line 107 of file any.h.

Constructor & Destructor Documentation

template<typename T >
argos::CAny::CReference< T >::CReference ( const T &  t_object)
inline

Definition at line 109 of file any.h.

template<typename T >
virtual argos::CAny::CReference< T >::~CReference ( )
inlinevirtual

Destructor.

Definition at line 113 of file any.h.

Member Function Documentation

template<typename T >
virtual CAbstractReference* argos::CAny::CReference< T >::Clone ( ) const
inlinevirtual

Clone the reference.

Implements argos::CAny::CAbstractReference.

Definition at line 123 of file any.h.

template<typename T >
virtual const std::type_info& argos::CAny::CReference< T >::GetType ( ) const
inlinevirtual
Returns
The type info on the referenced object

Implements argos::CAny::CAbstractReference.

Definition at line 117 of file any.h.

Member Data Documentation

template<typename T >
T argos::CAny::CReference< T >::m_tObject

Actual referenced object.

Definition at line 131 of file any.h.