OpendTect  7.0
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 std::int64_t getStorageSize () const =0
 
bool setStorageInternal (ValueSeries< T > *)
 
bool setStorageNoResize (ValueSeries< T > *)
 
bool storageOK () const
 
bool updateStorageSize ()
 

Protected Attributes

T * ptr_ = nullptr
 
ValueSeries< T > * stor_ = nullptr
 

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

◆ stor_

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

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