OpendTect  6.6
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
 
bool canSetInfo () const
 
bool canSetStorage () const
 
void copyFrom (const ArrayND< T > &)
 
getND (const int *) const
 
const ArrayNDInfoinfo () const
 
bool isOK () const
 
ArrayNDImpl< T > & operator= (const ArrayND< T > &ai)
 
ArrayNDImpl< T > & operator= (const ArrayNDImpl< T > &ai)
 
bool setInfo (const ArrayNDInfo &)
 
void setND (const int *, T)
 
bool setSize (const int *)
 
bool setStorage (ValueSeries< T > *vs)
 
- 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)
 
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
 
const ValueSeries< T > * getStorage_ () const
 
int64_t getStorageSize () const
 
- 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_
 
ValueSeries< T > * stor_
 

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
inlinevirtual

Reimplemented from ArrayND< T >.

◆ canSetInfo()

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

Reimplemented from ArrayND< T >.

◆ canSetStorage()

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

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
inlineprotectedvirtual

Reimplemented from ArrayND< T >.

◆ getND()

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

Implements ArrayND< T >.

◆ getStorage_()

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

Reimplemented from ArrayND< T >.

◆ getStorageSize()

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

Implements ArrayImplBase< T >.

◆ info()

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

Implements ArrayND< T >.

◆ isOK()

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

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)
inlinevirtual

Reimplemented from ArrayND< T >.

◆ setND()

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

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)
inlinevirtual

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-2022