| cartobase
    5.1.2
    | 
A ref is a const_ref which can reference non constant objects. More...
#include <cartobase/smart/rcptr.h>


| Public Types | |
| typedef T | referenced_type | 
|  Public Types inherited from carto::const_ref< T > | |
| typedef T | referenced_type | 
| Public Member Functions | |
| ref () | |
| ref (T *pObject) | |
| ref (T *pObject, bool externalowner) | |
| template<class U > | |
| ref (std::auto_ptr< U > r) | |
| ref (const ref< T > &other) | |
| template<class R > | |
| ref (const ref< R > &other) | |
| ~ref () | |
| T * | release () | 
| ref< T > & | operator= (const ref< T > &other) | 
| T * | operator-> () const | 
| T & | operator* () const | 
| T * | pointer () const | 
|  Public Member Functions inherited from carto::const_ref< T > | |
| const_ref () | |
| const_ref (const T *pObject) | |
| const_ref (const T *pObject, bool externalowner) | |
| template<class U > | |
| const_ref (std::auto_ptr< U > r) | |
| const_ref (const ref< T > &other) | |
| const_ref (const const_ref< T > &other) | |
| template<class R > | |
| const_ref (const ref< R > &o) | |
| template<class R > | |
| const_ref (const const_ref< R > &other) | |
| ~const_ref () | |
| const_ref< T > & | operator= (const ref< T > &other) | 
| const_ref< T > & | operator= (const const_ref< T > &other) | 
| bool | isNull () const | 
| bool | operator== (const ref< T > &other) const | 
| bool | operator== (const T *pointer) const | 
| bool | operator== (const const_ref< T > &other) const | 
| bool | operator!= (const ref< T > &other) const | 
| bool | operator!= (const const_ref< T > &other) const | 
| bool | operator!= (const T *pointer) const | 
| const T * | operator-> () const | 
| const T & | operator* () const | 
| const T * | pointer () const | 
| int | refCount () const | 
|  Public Member Functions inherited from carto::RefData< T > | |
| int | count () const | 
| Friends | |
| template<class R > | |
| class | const_ref | 
A ref is a const_ref which can reference non constant objects.
| typedef T carto::ref< T >::referenced_type | 
| 
 | inline | 
| 
 | inlineexplicit | 
| 
 | inlineexplicit | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Definition at line 503 of file rcptr.h.
References carto::const_ref< T >::operator=().
Referenced by carto::weak_shared_ptr< T >::operator=().
| 
 | inline | 
Definition at line 516 of file rcptr.h.
Referenced by carto::rc_ptr< T >::get(), carto::rc_ptr< T >::operator insipid *(), and carto::rc_ptr< T >::operator<().
| 
 | inline | 
Definition at line 499 of file rcptr.h.
Referenced by carto::weak_shared_ptr< T >::release(), and carto::shared_ptr< T >::release().