OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Array2DSlice< T > Class Template Reference

Subclass of Array2D and ArrayNDSliceBase. More...

Inheritance diagram for Array2DSlice< T >:
[legend]

Public Member Functions

 Array2DSlice (ArrayND< T > &)
 
 Array2DSlice (const ArrayND< T > &)
 
 ~Array2DSlice ()
 
get (int, int) const
 
void set (int, int, T)
 
const Array2DInfoinfo () const
 
bool isSettable () const
 
- Public Member Functions inherited from Array2D< T >
void setND (const int *pos, T v)
 
getND (const int *pos) const
 
virtual T ** get2DData ()
 
virtual const T ** get2DData () const
 
- Public Member Functions inherited from ArrayND< T >
virtual ~ArrayND ()
 
virtual bool isOK () const
 
virtual bool isEmpty () const
 
const ValueSeries< T > * getStorage () const
 
ValueSeries< T > * getStorage ()
 
virtual bool canSetStorage () const
 
virtual bool setStorage (ValueSeries< T > *s)
 
const T * getData () const
 
T * getData ()
 
virtual const T * get1D (const int *) const
 
virtual T * get1D (const int *)
 
virtual int get1DDim () const
 
virtual bool canSetInfo () const
 
virtual bool canChangeNrDims () const
 
virtual bool setInfo (const ArrayNDInfo &)
 
virtual void setAll (T)
 
virtual void getAll (T *ptr) const
 
virtual void getAll (ValueSeries< T > &vs) const
 
- Public Member Functions inherited from ArrayNDSliceBase
virtual ~ArrayNDSliceBase ()
 
int getDimSize (int dim) const
 
int getPos (int dim) const
 
bool setPos (int dim, int pos)
 
bool init ()
 
void setDimMap (int localdim, int remotedim)
 

Protected Member Functions

const ValueSeries< T > * getStorage_ () const
 
- Protected Member Functions inherited from ArrayND< T >
virtual const T * getData_ () const
 
- Protected Member Functions inherited from ArrayNDSliceBase
 ArrayNDSliceBase (ArrayNDInfo *, const ArrayNDInfo &)
 
void getSourcePos (const int *localpos, int *sourcepos) const
 

Protected Attributes

bool writable_
 
ArrayND< T > & source_
 
OffsetValueSeries< T > * storage_
 
- Protected Attributes inherited from ArrayNDSliceBase
ArrayNDInfoinfo_
 
const ArrayNDInfosourceinfo_
 
TypeSet< int > vardim_
 
TypeSet< int > position_
 
int64_t offset_
 

Detailed Description

template<class T>
class Array2DSlice< T >

Subclass of Array2D and ArrayNDSliceBase.

Constructor & Destructor Documentation

template<class T >
Array2DSlice< T >::Array2DSlice ( ArrayND< T > &  source)
inline
template<class T >
Array2DSlice< T >::Array2DSlice ( const ArrayND< T > &  source)
inline
template<class T >
Array2DSlice< T >::~Array2DSlice ( )
inline

Member Function Documentation

template<class T >
T Array2DSlice< T >::get ( int  pos0,
int  pos1 
) const
inlinevirtual

Implements Array2D< T >.

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

Reimplemented from ArrayND< T >.

template<class T >
const Array2DInfo & Array2DSlice< T >::info ( ) const
inlinevirtual

Implements Array2D< T >.

template<class T >
bool Array2DSlice< T >::isSettable ( ) const
inlinevirtual

Reimplemented from ArrayND< T >.

template<class T >
void Array2DSlice< T >::set ( int  pos0,
int  pos1,
val 
)
inlinevirtual

Implements Array2D< T >.

Member Data Documentation

template<class T >
ArrayND<T>& Array2DSlice< T >::source_
protected
template<class T >
OffsetValueSeries<T>* Array2DSlice< T >::storage_
mutableprotected
template<class T >
bool Array2DSlice< T >::writable_
protected

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