OpendTect  7.0
Public Member Functions | List of all members
Array2D< T > Class Template Referenceabstract

Array2D ( Subclass of ArrayND ) is a two dimensional array. More...

Inheritance diagram for Array2D< T >:
[legend]

Public Member Functions

virtual T get (int p0, int p1) const =0
 
virtual T ** get2DData ()
 
virtual const T ** get2DData () const
 
getND (const int *pos) const override
 
const Array2DInfoinfo () const override=0
 
virtual void set (int, int, T)=0
 
void setND (const int *pos, T v) override
 
- Public Member Functions inherited from ArrayND< T >
virtual ~ArrayND ()
 
virtual bool canChangeNrDims () const
 
virtual bool canSetInfo () const
 
virtual bool canSetStorage () const
 
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 isOK () const
 
virtual bool isSettable () const
 
int nrDims () const
 
virtual void setAll (T)
 
virtual bool setInfo (const ArrayNDInfo &)
 
virtual bool setStorage (ValueSeries< T > *s)
 
std::uint64_t totalSize () const
 
bool validPos (int *pos) const
 

Additional Inherited Members

- Protected Member Functions inherited from ArrayND< T >
virtual const T * getData_ () const
 
virtual const ValueSeries< T > * getStorage_ () const
 

Detailed Description

template<class T>
class Array2D< T >

Array2D ( Subclass of ArrayND ) is a two dimensional array.

<>

Member Function Documentation

◆ get()

template<class T >
virtual T Array2D< T >::get ( int  p0,
int  p1 
) const
pure virtual

◆ get2DData() [1/2]

template<class T >
virtual T** Array2D< T >::get2DData ( )
inlinevirtual

◆ get2DData() [2/2]

template<class T >
virtual const T** Array2D< T >::get2DData ( ) const
inlinevirtual

◆ getND()

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

Implements ArrayND< T >.

◆ info()

template<class T >
const Array2DInfo& Array2D< T >::info ( ) const
overridepure virtual

◆ set()

template<class T >
virtual void Array2D< T >::set ( int  ,
int  ,
 
)
pure virtual

◆ setND()

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

Implements ArrayND< T >.


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