OpendTect-6_4  6.4
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
 
void set (int, T)
 
const Array1DInfoinfo () const
 
bool isSettable () const
 
- Public Member Functions inherited from Array1D< T >
void setND (const int *pos, T v)
 
getND (const int *pos) const
 
value (int64_t i) const
 
bool writable () const
 
void setValue (int64_t i, T t)
 
virtual void setAll (T t)
 
operator[] (int idx) 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 getAll (T *ptr) const
 
virtual void getAll (ValueSeries< T > &vs) const
 
- Public Member Functions inherited from ValueSeries< T >
virtual ~ValueSeries ()
 
void getValues (ValueSeries< T > &, int64_t nrvals) const
 
void getValues (T *, int64_t nrvals) const
 
virtual bool isOK () const
 
virtual bool canSetAll () const
 
virtual bool selfSufficient () const
 
virtual bool reSizeable () const
 
virtual bool setSize (int64_t)
 
virtual T * arr ()
 
virtual const T * arr () const
 
virtual char bytesPerItem () const
 
operator[] (int64_t idx) 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 Array1DSlice< T >

Subclass of Array1D and ArrayNDSliceBase.

Constructor & Destructor Documentation

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

Member Function Documentation

template<class T >
ValueSeries< T > * Array1DSlice< T >::clone ( ) const
inlinevirtual

Implements ValueSeries< T >.

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

Implements Array1D< T >.

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

Reimplemented from ArrayND< T >.

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

Implements Array1D< T >.

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

Reimplemented from ArrayND< T >.

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

Implements Array1D< T >.

Member Data Documentation

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

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