argos::CAny::CAbstractReference Class Referenceabstract

Abstract reference to object. More...

#include <any.h>

Inheritance diagram for argos::CAny::CAbstractReference:

Public Member Functions

virtual ~CAbstractReference ()
 Destructor. More...
 
virtual const std::type_info & GetType () const =0
 Returns the type info on the referenced object. More...
 
virtual CAbstractReferenceClone () const =0
 Clone the reference. More...
 

Detailed Description

Abstract reference to object.

Definition at line 87 of file any.h.

Constructor & Destructor Documentation

◆ ~CAbstractReference()

virtual argos::CAny::CAbstractReference::~CAbstractReference ( )
inlinevirtual

Destructor.

Definition at line 92 of file any.h.

Member Function Documentation

◆ Clone()

virtual CAbstractReference* argos::CAny::CAbstractReference::Clone ( ) const
pure virtual

Clone the reference.

Implemented in argos::CAny::CReference< T >.

◆ GetType()

virtual const std::type_info& argos::CAny::CAbstractReference::GetType ( ) const
pure virtual

Returns the type info on the referenced object.

Implemented in argos::CAny::CReference< T >.