OpendTect  6.6
Public Member Functions | List of all members
Array1D< T > Class Template Referenceabstract

Array1D ( Subclass of ArrayND ) is a one dimensional array. More...

Inheritance diagram for Array1D< T >:
[legend]

Public Member Functions

virtual T get (int) const =0
 
getND (const int *pos) const
 
virtual const Array1DInfoinfo () const =0
 
operator[] (int idx) const
 
virtual void set (int, T)=0
 
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
 
virtual bool isSettable () 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
 
virtual ValueSeries< T > * clone () const =0
 
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)
 

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 Array1D< T >

Array1D ( Subclass of ArrayND ) is a one dimensional array.

<>

Member Function Documentation

◆ get()

template<class T >
virtual T Array1D< T >::get ( int  ) const
pure virtual

◆ getND()

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

Implements ArrayND< T >.

◆ info()

template<class T >
virtual const Array1DInfo& Array1D< T >::info ( ) const
pure virtual

◆ operator[]()

template<class T >
T Array1D< T >::operator[] ( int  idx) const
inline

◆ set()

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

◆ setAll()

template<class T >
virtual void Array1D< T >::setAll ( t)
inlinevirtual

Reimplemented from ArrayND< T >.

◆ setND()

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

Implements ArrayND< T >.

◆ setValue()

template<class T >
void Array1D< T >::setValue ( int64_t  i,
t 
)
inlinevirtual

Reimplemented from ValueSeries< T >.

◆ value()

template<class T >
T Array1D< T >::value ( int64_t  i) const
inlinevirtual

Implements ValueSeries< T >.

◆ writable()

template<class T >
bool Array1D< T >::writable ( ) const
inlinevirtual

Reimplemented from ValueSeries< T >.


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