OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | List of all members
ArrayNDImpl< T > Class Template Reference
Inheritance diagram for ArrayNDImpl< T >:
[legend]

Public Member Functions

 ArrayNDImpl (const ArrayND< T > &)
 
 ArrayNDImpl (const ArrayNDImpl< T > &)
 
 ArrayNDImpl (const ArrayNDInfo &)
 
 ~ArrayNDImpl ()
 
bool canChangeNrDims () const override
 
bool canSetInfo () const override
 
bool canSetStorage () const override
 
void copyFrom (const ArrayND< T > &)
 
getND (const int *) const override
 
const ArrayNDInfoinfo () const override
 
bool isOK () const override
 
ArrayNDImpl< T > & operator= (const ArrayND< T > &ai)
 
ArrayNDImpl< T > & operator= (const ArrayNDImpl< T > &ai)
 
bool setInfo (const ArrayNDInfo &) override
 
void setND (const int *, T) override
 
bool setSize (const int *)
 
bool setStorage (ValueSeries< T > *vs) override
 
- Public Member Functions inherited from ArrayND< T >
virtual ~ArrayND ()
 
virtual T * get1D (const int *)
 
virtual const T * get1D (const int *) const
 
virtual int get1DDim () const
 
virtual void getAll (T *ptr) const
 
virtual void getAll (ValueSeries< T > &vs) const
 
T * getData ()
 
const T * getData () const
 
int getSize (int dim) const
 
ValueSeries< T > * getStorage ()
 
const ValueSeries< T > * getStorage () const
 
virtual bool isEmpty () const
 
virtual bool isSettable () const
 
int nrDims () const
 
virtual void setAll (T)
 
std::uint64_t totalSize () const
 
bool validPos (int *pos) const
 

Static Public Member Functions

static ArrayND< T > * clone (const ArrayND< T > &)
 
static bool clone (const ArrayND< T > &, ArrayND< T > &)
 
static ArrayND< T > * create (const ArrayNDInfo &nsz)
 

Protected Member Functions

const T * getData_ () const override
 
const ValueSeries< T > * getStorage_ () const override
 
std::int64_t getStorageSize () const override
 
- Protected Member Functions inherited from ArrayImplBase< T >
 ArrayImplBase ()
 
 ~ArrayImplBase ()
 
bool getDataFrom (const ArrayND< T > &templ)
 
bool setStorageInternal (ValueSeries< T > *)
 
bool setStorageNoResize (ValueSeries< T > *)
 
bool storageOK () const
 
bool updateStorageSize ()
 

Protected Attributes

ArrayNDInfoin_
 
- Protected Attributes inherited from ArrayImplBase< T >
T * ptr_ = nullptr
 
ValueSeries< T > * stor_ = nullptr
 

Private Types

typedef ArrayImplBase< T > base
 

Detailed Description

template<class T>
class ArrayNDImpl< T >

<>

Member Typedef Documentation

◆ base

template<class T >
typedef ArrayImplBase<T> ArrayNDImpl< T >::base
private

Constructor & Destructor Documentation

◆ ArrayNDImpl() [1/3]

template<class T >
ArrayNDImpl< T >::ArrayNDImpl ( const ArrayNDInfo nsz)
inline

◆ ArrayNDImpl() [2/3]

template<class T >
ArrayNDImpl< T >::ArrayNDImpl ( const ArrayND< T > &  templ)
inline

◆ ArrayNDImpl() [3/3]

template<class T >
ArrayNDImpl< T >::ArrayNDImpl ( const ArrayNDImpl< T > &  templ)
inline

◆ ~ArrayNDImpl()

template<class T >
ArrayNDImpl< T >::~ArrayNDImpl
inline

Member Function Documentation

◆ canChangeNrDims()

template<class T >
bool ArrayNDImpl< T >::canChangeNrDims ( ) const
inlineoverridevirtual

Reimplemented from ArrayND< T >.

◆ canSetInfo()

template<class T >
bool ArrayNDImpl< T >::canSetInfo ( ) const
inlineoverridevirtual

Reimplemented from ArrayND< T >.

◆ canSetStorage()

template<class T >
bool ArrayNDImpl< T >::canSetStorage ( ) const
inlineoverridevirtual

Reimplemented from ArrayND< T >.

◆ clone() [1/2]

template<class T >
ArrayND< T > * ArrayNDImpl< T >::clone ( const ArrayND< T > &  oth)
inlinestatic

◆ clone() [2/2]

template<class T >
bool ArrayNDImpl< T >::clone ( const ArrayND< T > &  inp,
ArrayND< T > &  out 
)
inlinestatic

◆ copyFrom()

template<class T >
void ArrayNDImpl< T >::copyFrom ( const ArrayND< T > &  templ)
inline

◆ create()

template<class T >
ArrayND< T > * ArrayNDImpl< T >::create ( const ArrayNDInfo nsz)
inlinestatic

◆ getData_()

template<class T >
const T* ArrayNDImpl< T >::getData_ ( ) const
inlineoverrideprotectedvirtual

Reimplemented from ArrayND< T >.

◆ getND()

template<class T >
T ArrayNDImpl< T >::getND ( const int *  pos) const
inlineoverridevirtual

Implements ArrayND< T >.

◆ getStorage_()

template<class T >
const ValueSeries<T>* ArrayNDImpl< T >::getStorage_ ( ) const
inlineoverrideprotectedvirtual

Reimplemented from ArrayND< T >.

◆ getStorageSize()

template<class T >
std::int64_t ArrayNDImpl< T >::getStorageSize ( ) const
inlineoverrideprotectedvirtual

Implements ArrayImplBase< T >.

◆ info()

template<class T >
const ArrayNDInfo& ArrayNDImpl< T >::info ( ) const
inlineoverridevirtual

Implements ArrayND< T >.

◆ isOK()

template<class T >
bool ArrayNDImpl< T >::isOK ( ) const
inlineoverridevirtual

Reimplemented from ArrayND< T >.

◆ operator=() [1/2]

template<class T >
ArrayNDImpl<T>& ArrayNDImpl< T >::operator= ( const ArrayND< T > &  ai)
inline

◆ operator=() [2/2]

template<class T >
ArrayNDImpl<T>& ArrayNDImpl< T >::operator= ( const ArrayNDImpl< T > &  ai)
inline

◆ setInfo()

template<class T >
bool ArrayNDImpl< T >::setInfo ( const ArrayNDInfo ni)
inlineoverridevirtual

Reimplemented from ArrayND< T >.

◆ setND()

template<class T >
void ArrayNDImpl< T >::setND ( const int *  pos,
v 
)
inlineoverridevirtual

Implements ArrayND< T >.

◆ setSize()

template<class T >
bool ArrayNDImpl< T >::setSize ( const int *  d)
inline

◆ setStorage()

template<class T >
bool ArrayNDImpl< T >::setStorage ( ValueSeries< T > *  s)
inlineoverridevirtual

becomes mine. The size must be settable, or I return false.

Reimplemented from ArrayND< T >.

Member Data Documentation

◆ in_

template<class T >
ArrayNDInfo* ArrayNDImpl< T >::in_
protected

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