OpendTect-6_4  6.4
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 void set (int, T)=0
 
virtual T get (int) const =0
 
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)
 
virtual const Array1DInfoinfo () const =0
 
operator[] (int idx) const
 
- Public Member Functions inherited from ArrayND< T >
virtual ~ArrayND ()
 
virtual bool isOK () const
 
virtual bool isEmpty () const
 
virtual bool isSettable () 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 ValueSeries< T > * clone () const =0
 
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
 

Additional Inherited Members

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

Detailed Description

template<class T>
class Array1D< T >

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

Member Function Documentation

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

Implements ArrayND< T >.

template<class T>
virtual const Array1DInfo& Array1D< T >::info ( ) const
pure virtual
template<class T>
T Array1D< T >::operator[] ( int  idx) const
inline
template<class T>
virtual void Array1D< T >::set ( int  ,
 
)
pure virtual
template<class T>
virtual void Array1D< T >::setAll ( t)
inlinevirtual

Reimplemented from ArrayND< T >.

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

Implements ArrayND< T >.

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

Reimplemented from ValueSeries< T >.

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

Implements ValueSeries< T >.

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. 2019