OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
ConstDataPackRef< T > Class Template Reference
Inheritance diagram for ConstDataPackRef< T >:
[legend]

Public Member Functions

 ConstDataPackRef (const DataPack *p)
 Assumes p is obtained. More...
 
 ConstDataPackRef (const ConstDataPackRef< T > &)
 
virtual ~ConstDataPackRef ()
 
ConstDataPackRef< T > & operator= (const ConstDataPackRef< T > &)
 
void releaseNow ()
 
 operator bool () const
 
const T * operator-> () const
 
const T & operator* () const
 
const T * ptr () const
 
const DataPackdataPack () const
 

Protected Attributes

DataPackdp_
 
T * ptr_
 

Detailed Description

template<class T>
class ConstDataPackRef< T >

Constructor & Destructor Documentation

template<class T >
ConstDataPackRef< T >::ConstDataPackRef ( const DataPack p)
inline

Assumes p is obtained.

template<class T>
ConstDataPackRef< T >::ConstDataPackRef ( const ConstDataPackRef< T > &  dpr)
inline
template<class T>
virtual ConstDataPackRef< T >::~ConstDataPackRef ( )
inlinevirtual

Member Function Documentation

template<class T>
const DataPack* ConstDataPackRef< T >::dataPack ( ) const
inline
template<class T>
ConstDataPackRef< T >::operator bool ( ) const
inline
template<class T>
const T& ConstDataPackRef< T >::operator* ( ) const
inline
template<class T>
const T* ConstDataPackRef< T >::operator-> ( ) const
inline
template<class T>
ConstDataPackRef< T > & ConstDataPackRef< T >::operator= ( const ConstDataPackRef< T > &  dpr)
inline
template<class T>
const T* ConstDataPackRef< T >::ptr ( ) const
inline
template<class T >
void ConstDataPackRef< T >::releaseNow ( )
inline

Member Data Documentation

template<class T>
DataPack* ConstDataPackRef< T >::dp_
protected
template<class T>
T* ConstDataPackRef< T >::ptr_
protected

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