OpendTect
6.6
|
Public Member Functions | |
ConstPtrMan (const ConstPtrMan< T > &)=delete | |
ConstPtrMan (const T *=nullptr) | |
ConstPtrMan (ConstPtrMan< T > &&) | |
ConstPtrMan< T > & | operator= (const ConstPtrMan< T > &)=delete |
ConstPtrMan< T > & | operator= (const T *p) |
Public Member Functions inherited from ConstPtrManBase< T > | |
T * | getNonConstPtr () const |
operator const T * () const | |
const T & | operator* () const |
const T * | operator-> () const |
const T * | ptr () const |
Public Member Functions inherited from PtrManBase< T > | |
T * | createIfNull (PointerCreator=createSingleObject< T >) |
void | erase () |
bool | operator! () const |
T * | release () |
Returns pointer. I won't take care of it any longer. More... | |
T * | set (T *p, bool doerase=true) |
Returns old pointer if not erased. More... | |
bool | setIfNull (T *p) |
bool | setIfNull (T *p, bool takeover) |
Static Private Member Functions | |
static void | deleteFunc (T *p) |
Additional Inherited Members | |
Public Types inherited from PtrManBase< T > | |
typedef T *(* | PointerCreator) () |
Protected Types inherited from ConstPtrManBase< T > | |
typedef void(* | PtrFunc) (T *) |
Protected Types inherited from PtrManBase< T > | |
typedef void(* | PtrFunc) (T *) |
Protected Member Functions inherited from ConstPtrManBase< T > | |
ConstPtrManBase (PtrFunc setfunc, PtrFunc deletor, T *p) | |
Protected Member Functions inherited from PtrManBase< T > | |
PtrManBase (PtrFunc setfunc, PtrFunc deletor, T *) | |
virtual | ~PtrManBase () |
Protected Attributes inherited from PtrManBase< T > | |
PtrFunc | deletefunc_ |
Threads::AtomicPointer< T > | ptr_ |
PtrFunc | setfunc_ |
Smart pointer for normal const pointers.
<>
|
inline |
|
inline |
|
delete |
|
inlinestaticprivate |
|
delete |
|
inline |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022