OpendTect-6_4  6.4
Classes | Macros | Functions
ptrman.h File Reference
Include dependency graph for ptrman.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PtrManBase< T >
 
class  PtrMan< T >
 
class  ConstPtrMan< T >
 
class  ArrPtrMan< T >
 
class  ConstArrPtrMan< T >
 
class  RefMan< T >
 
class  ConstRefMan< T >
 

Macros

#define mImpPtrManPointerAccess(qual, type)
 

Functions

template<class T >
void deleteAndZeroPtr (T *&ptr, bool isowner=true)
 
template<class T >
void deleteAndZeroArrPtr (T *&ptr, bool isowner=true)
 
template<class T >
T * createSingleObject ()
 
template<class T >
T * createObjectArray (int64_t sz)
 

Macro Definition Documentation

#define mImpPtrManPointerAccess (   qual,
  type 
)
Value:
inline qual type* ptr() qual { return this->ptr_; } \
inline operator qual type*() qual { return this->ptr_; }\
inline qual type* operator ->() qual { return this->ptr_; } \
inline qual type& operator *() qual { return *this->ptr_; }
Coord3 operator*(double f, const Coord3 &b)
Definition: coord.h:130

Function Documentation

template<class T >
T* createObjectArray ( int64_t  sz)
template<class T >
T* createSingleObject ( )
template<class T >
void deleteAndZeroArrPtr ( T *&  ptr,
bool  isowner = true 
)
template<class T >
void deleteAndZeroPtr ( T *&  ptr,
bool  isowner = true 
)

Convenience function to delete and zero pointer.


Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019