ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CAny Class Reference

#include <any.h>

List of all members.

Classes

class  CAbstractReference
 Abstract reference to object. More...
class  CReference
 Actual templetized reference to object. More...

Public Member Functions

 CAny ()
 Constructor.
template<typename T >
 CAny (const T &t_object)
 Constructor with templetized argument.
 CAny (const CAny &c_any)
 Copy constructor Clone the reference to the object, if the reference is not NULL.
 ~CAny ()
 Destructor.
CAnyswap (CAny &c_any)
 Redefinition of the swap function of the std library.
template<typename T >
CAnyoperator= (const T &t_object)
 Assignment operator when object is operand.
CAnyoperator= (const CAny &c_any)
 Assignment operator when any type is operand.

Public Attributes

CAbstractReferencem_pcRef
 Pointer to object reference.

Detailed Description

Definition at line 25 of file any.h.


Constructor & Destructor Documentation

argos::CAny::CAny ( ) [inline]

Constructor.

Definition at line 32 of file any.h.

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

Constructor with templetized argument.

Definition at line 39 of file any.h.

argos::CAny::CAny ( const CAny c_any) [inline]

Copy constructor Clone the reference to the object, if the reference is not NULL.

Definition at line 46 of file any.h.

argos::CAny::~CAny ( ) [inline]

Destructor.

Definition at line 52 of file any.h.


Member Function Documentation

template<typename T >
CAny& argos::CAny::operator= ( const T &  t_object) [inline]

Assignment operator when object is operand.

Definition at line 69 of file any.h.

CAny& argos::CAny::operator= ( const CAny c_any) [inline]

Assignment operator when any type is operand.

Definition at line 77 of file any.h.

CAny& argos::CAny::swap ( CAny c_any) [inline]

Redefinition of the swap function of the std library.

Definition at line 60 of file any.h.


Member Data Documentation

Pointer to object reference.

Definition at line 139 of file any.h.


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