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

Protected Member Functions

virtual int64_t getStorageSize () const =0
 
 ArrayImplBase ()
 
 ~ArrayImplBase ()
 
bool storageOK () const
 
bool updateStorageSize ()
 
bool setStorageNoResize (ValueSeries< T > *)
 
bool setStorageInternal (ValueSeries< T > *)
 
bool getDataFrom (const ArrayND< T > &templ)
 

Protected Attributes

ValueSeries< T > * stor_
 
T * ptr_
 

Detailed Description

template<class T>
class ArrayImplBase< T >

Helper class to handle internal storage of arrays

Constructor & Destructor Documentation

template<class T >
ArrayImplBase< T >::ArrayImplBase ( )
inlineprotected
template<class T>
ArrayImplBase< T >::~ArrayImplBase ( )
inlineprotected

Member Function Documentation

template<class T>
bool ArrayImplBase< T >::getDataFrom ( const ArrayND< T > &  templ)
inlineprotected
template<class T>
virtual int64_t ArrayImplBase< T >::getStorageSize ( ) const
protectedpure virtual
template<class T>
bool ArrayImplBase< T >::setStorageInternal ( ValueSeries< T > *  s)
inlineprotected
template<class T>
bool ArrayImplBase< T >::setStorageNoResize ( ValueSeries< T > *  s)
inlineprotected
template<class T >
bool ArrayImplBase< T >::storageOK ( ) const
inlineprotected
template<class T >
bool ArrayImplBase< T >::updateStorageSize ( )
inlineprotected

Sets storage size to getStorageSize() and creates if need be.

Member Data Documentation

template<class T>
T* ArrayImplBase< T >::ptr_
protected
template<class T>
ValueSeries<T>* ArrayImplBase< T >::stor_
protected

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