Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a02290.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a02290.php on line 2
The ARGoS Website

#include <any.h>

Collaboration diagram for argos::CAny:

Classes

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

Public Member Functions

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

Public Attributes

CAbstractReferencem_pcRef
 Pointer to object reference. More...
 

Detailed Description

Definition at line 25 of file any.h.

Constructor & Destructor Documentation

◆ CAny() [1/3]

argos::CAny::CAny ( )
inline

Constructor.

Definition at line 32 of file any.h.

◆ CAny() [2/3]

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

Constructor with templetized argument.

Definition at line 39 of file any.h.

◆ CAny() [3/3]

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.

◆ ~CAny()

argos::CAny::~CAny ( )
inline

Destructor.

Definition at line 52 of file any.h.

Member Function Documentation

◆ operator=() [1/2]

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.

◆ operator=() [2/2]

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

Assignment operator when any type is operand.

Definition at line 77 of file any.h.

◆ swap()

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

◆ m_pcRef

CAbstractReference* argos::CAny::m_pcRef

Pointer to object reference.

Definition at line 139 of file any.h.