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

Protected Member Functions

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

Protected Attributes

T * ptr_
 
ValueSeries< T > * stor_
 

Detailed Description

template<class T>
class ArrayImplBase< T >

Helper class to handle internal storage of arrays

<>

Constructor & Destructor Documentation

◆ ArrayImplBase()

template<class T >
ArrayImplBase< T >::ArrayImplBase
inlineprotected

◆ ~ArrayImplBase()

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

Member Function Documentation

◆ getDataFrom()

template<class T >
bool ArrayImplBase< T >::getDataFrom ( const ArrayND< T > &  templ)
inlineprotected

◆ getStorageSize()

template<class T >
virtual int64_t ArrayImplBase< T >::getStorageSize ( ) const
protectedpure virtual

◆ setStorageInternal()

template<class T >
bool ArrayImplBase< T >::setStorageInternal ( ValueSeries< T > *  s)
inlineprotected

◆ setStorageNoResize()

template<class T >
bool ArrayImplBase< T >::setStorageNoResize ( ValueSeries< T > *  s)
inlineprotected

◆ storageOK()

template<class T >
bool ArrayImplBase< T >::storageOK
inlineprotected

◆ updateStorageSize()

template<class T >
bool ArrayImplBase< T >::updateStorageSize
inlineprotected

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

Member Data Documentation

◆ ptr_

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

◆ stor_

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

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