OpendTect  7.0
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 override
 
const Array1DInfoinfo () const override=0
 
operator[] (int idx) const
 
virtual void set (int, T)=0
 
void setAll (T t) override
 
void setND (const int *pos, T v) override
 
void setValue (std::int64_t i, T t) override
 
std::int64_t size () const override
 
value (std::int64_t i) const override
 
bool writable () const override
 
- 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)
 
std::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 *, std::int64_t nrvals) const
 
void getValues (ValueSeries< T > &, std::int64_t nrvals) const
 
virtual bool isOK () const
 
operator[] (std::int64_t idx) const
 
virtual bool reSizeable () const
 
virtual bool selfSufficient () const
 
virtual bool setSize (std::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
inlineoverridevirtual

Implements ArrayND< T >.

◆ info()

template<class T >
const Array1DInfo& Array1D< T >::info ( ) const
overridepure 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 >
void Array1D< T >::setAll ( t)
inlineoverridevirtual

Reimplemented from ArrayND< T >.

◆ setND()

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

Implements ArrayND< T >.

◆ setValue()

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

Reimplemented from ValueSeries< T >.

◆ size()

template<class T >
std::int64_t Array1D< T >::size ( ) const
inlineoverridevirtual

Implements ValueSeries< T >.

◆ value()

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

Implements ValueSeries< T >.

◆ writable()

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

Reimplemented from ValueSeries< T >.


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