OpendTect  7.0
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_ = nullptr
 
T * ptr_ = nullptr
 

Detailed Description

template<class T>
class ConstDataPackRef< T >

This class is obsolete and will be removed. Use ConstRefMan<T> instead.

<>

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_ = nullptr
protected

◆ ptr_

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

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