OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Array1DSlice< T > Class Template Reference

Subclass of Array1D and ArrayNDSliceBase. More...

Inheritance diagram for Array1DSlice< T >:
[legend]

Public Member Functions

 Array1DSlice (ArrayND< T > &)
 
 Array1DSlice (const ArrayND< T > &)
 
 ~Array1DSlice ()
 
ValueSeries< T > * clone () const
 
get (int) const
 
const Array1DInfoinfo () const
 
bool isSettable () const
 
void set (int, T)
 
- Public Member Functions inherited from Array1D< T >
getND (const int *pos) const
 
operator[] (int idx) const
 
virtual void setAll (T t)
 
void setND (const int *pos, T v)
 
void setValue (int64_t i, T t)
 
value (int64_t i) const
 
bool writable () const
 
- 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
 
int nrDims () const
 
virtual bool setInfo (const ArrayNDInfo &)
 
virtual bool setStorage (ValueSeries< T > *s)
 
uint64_t totalSize () const
 
bool validPos (int *pos) const
 
- Public Member Functions inherited from ValueSeries< T >
virtual ~ValueSeries ()
 
virtual T * arr ()
 
virtual const T * arr () const
 
virtual char bytesPerItem () const
 
virtual bool canSetAll () const
 
void getValues (T *, int64_t nrvals) const
 
void getValues (ValueSeries< T > &, int64_t nrvals) const
 
virtual bool isOK () const
 
operator[] (int64_t idx) const
 
virtual bool reSizeable () const
 
virtual bool selfSufficient () const
 
virtual bool setSize (int64_t)
 
- Public Member Functions inherited from ArrayNDSliceBase
virtual ~ArrayNDSliceBase ()
 
int getDimSize (int dim) const
 
int getPos (int dim) const
 
bool init ()
 
void setDimMap (int localdim, int remotedim)
 
bool setPos (int dim, int pos)
 

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

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

Detailed Description

template<class T>
class Array1DSlice< T >

Subclass of Array1D and ArrayNDSliceBase.

<>

Constructor & Destructor Documentation

◆ Array1DSlice() [1/2]

template<class T >
Array1DSlice< T >::Array1DSlice ( ArrayND< T > &  source)
inline

◆ Array1DSlice() [2/2]

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

◆ ~Array1DSlice()

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

Member Function Documentation

◆ clone()

template<class T >
ValueSeries< T > * Array1DSlice< T >::clone
inlinevirtual

Implements ValueSeries< T >.

◆ get()

template<class T >
T Array1DSlice< T >::get ( int  pos) const
inlinevirtual

Implements Array1D< T >.

◆ getStorage_()

template<class T >
const ValueSeries< T > * Array1DSlice< T >::getStorage_
inlineprotectedvirtual

Reimplemented from ArrayND< T >.

◆ info()

template<class T >
const Array1DInfo & Array1DSlice< T >::info
inlinevirtual

Implements Array1D< T >.

◆ isSettable()

template<class T >
bool Array1DSlice< T >::isSettable
inlinevirtual

Reimplemented from ArrayND< T >.

◆ set()

template<class T >
void Array1DSlice< T >::set ( int  pos,
val 
)
inlinevirtual

Implements Array1D< T >.

Member Data Documentation

◆ source_

template<class T >
ArrayND<T>& Array1DSlice< T >::source_
protected

◆ storage_

template<class T >
OffsetValueSeries<T>* Array1DSlice< T >::storage_
mutableprotected

◆ writable_

template<class T >
bool Array1DSlice< T >::writable_
protected

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