OpendTect  6.6
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 ConstDataPackRef< T > &)
 
 ConstDataPackRef (const DataPack *p)
 Assumes p is obtained. More...
 
virtual ~ConstDataPackRef ()
 
const DataPackdataPack () const
 
 operator bool () const
 
const T & operator* () const
 
const T * operator-> () const
 
ConstDataPackRef< T > & operator= (const ConstDataPackRef< T > &)
 
const T * ptr () const
 
void releaseNow ()
 

Protected Attributes

DataPackdp_
 
T * ptr_
 

Detailed Description

template<class T>
class ConstDataPackRef< T >

<>

Constructor & Destructor Documentation

◆ ConstDataPackRef() [1/2]

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

Assumes p is obtained.

◆ ConstDataPackRef() [2/2]

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

◆ ~ConstDataPackRef()

template<class T >
virtual ConstDataPackRef< T >::~ConstDataPackRef ( )
inlinevirtual

Member Function Documentation

◆ dataPack()

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

◆ operator bool()

template<class T >
ConstDataPackRef< T >::operator bool ( ) const
inline

◆ operator*()

template<class T >
const T& ConstDataPackRef< T >::operator* ( ) const
inline

◆ operator->()

template<class T >
const T* ConstDataPackRef< T >::operator-> ( ) const
inline

◆ operator=()

template<class T >
ConstDataPackRef< T > & ConstDataPackRef< T >::operator= ( const ConstDataPackRef< T > &  dpr)
inline

◆ ptr()

template<class T >
const T* ConstDataPackRef< T >::ptr ( ) const
inline

◆ releaseNow()

template<class T >
void ConstDataPackRef< T >::releaseNow
inline

Member Data Documentation

◆ dp_

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

◆ ptr_

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

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