Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Private Types

mrpt::utils::CObjectPtr Class Reference


Detailed Description

A smart pointer to a CObject object.

Note:
Declared as a class instead of a typedef to avoid multiple defined symbols when linking dynamic libs.

Definition at line 46 of file CObject.h.

#include <mrpt/utils/CObject.h>

Inheritance diagram for mrpt::utils::CObjectPtr:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CObjectPtr ()
 CObjectPtr (const CObject &data)
 CObjectPtr (CObject *data)
CObjectPtroperator= (const CObject &data)
CObjectPtroperator= (const CObjectPtr &r)

Private Types

typedef
stlplus::smart_ptr_clone
< CObject
BASE

Member Typedef Documentation

Definition at line 48 of file CObject.h.


Constructor & Destructor Documentation

mrpt::utils::CObjectPtr::CObjectPtr (  ) [inline]

Definition at line 50 of file CObject.h.

mrpt::utils::CObjectPtr::CObjectPtr ( const CObject data ) [inline, explicit]

Definition at line 51 of file CObject.h.

mrpt::utils::CObjectPtr::CObjectPtr ( CObject data ) [inline, explicit]

Definition at line 52 of file CObject.h.


Member Function Documentation

CObjectPtr& mrpt::utils::CObjectPtr::operator= ( const CObject data ) [inline]

Definition at line 53 of file CObject.h.

CObjectPtr& mrpt::utils::CObjectPtr::operator= ( const CObjectPtr r ) [inline]

Definition at line 54 of file CObject.h.




Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011