MeVisLab Toolbox Reference
|
Smart pointer to reference counted object (Helper class) More...
#include <macSmartPtr.h>
Public Member Functions | |
SmartPtr () | |
SmartPtr (const SmartPtr< T > &p) | |
SmartPtr (T *o) | |
~SmartPtr () | |
SmartPtr< T > & | operator= (const SmartPtr< T > &p) |
SmartPtr< T > & | operator= (T *o) |
bool | operator== (const SmartPtr< T > &p) const |
bool | operator!= (const SmartPtr< T > &p) const |
bool | operator== (T *p) const |
bool | operator!= (T *p) const |
bool | isNull () const |
T * | operator-> () const |
T & | operator* () const |
operator T* () const | |
Protected Member Functions | |
T * | object () const |
void | setObject (T *o) |
Smart pointer to reference counted object (Helper class)
Definition at line 27 of file macSmartPtr.h.
|
inline |
Definition at line 31 of file macSmartPtr.h.
|
inline |
Definition at line 33 of file macSmartPtr.h.
References macos::SmartPtr< T >::object(), and macos::SmartPtr< T >::setObject().
|
inline |
Definition at line 37 of file macSmartPtr.h.
|
inline |
Definition at line 42 of file macSmartPtr.h.
|
inline |
Definition at line 72 of file macSmartPtr.h.
References macos::SmartPtr< T >::object().
|
inlineprotected |
Definition at line 82 of file macSmartPtr.h.
Referenced by macos::SmartPtr< T >::isNull(), macos::SmartPtr< T >::operator T*(), macos::SmartPtr< T >::operator!=(), macos::SmartPtr< T >::operator*(), macos::SmartPtr< T >::operator->(), macos::SmartPtr< T >::operator=(), macos::SmartPtr< T >::operator==(), and macos::SmartPtr< T >::SmartPtr().
|
inline |
Definition at line 78 of file macSmartPtr.h.
References macos::SmartPtr< T >::object().
|
inline |
Definition at line 60 of file macSmartPtr.h.
|
inline |
Definition at line 68 of file macSmartPtr.h.
References macos::SmartPtr< T >::object().
|
inline |
Definition at line 76 of file macSmartPtr.h.
References macos::SmartPtr< T >::object().
|
inline |
Definition at line 74 of file macSmartPtr.h.
References macos::SmartPtr< T >::object().
Definition at line 46 of file macSmartPtr.h.
References macos::SmartPtr< T >::object(), and macos::SmartPtr< T >::setObject().
|
inline |
Definition at line 51 of file macSmartPtr.h.
References macos::SmartPtr< T >::setObject().
|
inline |
Definition at line 56 of file macSmartPtr.h.
References macos::SmartPtr< T >::object().
|
inline |
Definition at line 64 of file macSmartPtr.h.
References macos::SmartPtr< T >::object().
|
inlineprotected |
Definition at line 86 of file macSmartPtr.h.
Referenced by macos::SmartPtr< T >::operator=(), and macos::SmartPtr< T >::SmartPtr().