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

Adapter that makes any ArrayND to a (slow) value series. More...

Inheritance diagram for ArrayNDValseriesAdapter< T >:
[legend]

Public Member Functions

 ArrayNDValseriesAdapter (const ArrayND< T > &a)
 
T * arr ()
 
const T * arr () const
 
ValueSeries< T > * clone () const
 
bool isOK () const
 
value (int64_t idx) const
 
- Public Member Functions inherited from ValueSeries< T >
virtual ~ValueSeries ()
 
virtual char bytesPerItem () const
 
virtual bool canSetAll () const
 
void getValues (T *, int64_t nrvals) const
 
void getValues (ValueSeries< T > &, int64_t nrvals) const
 
operator[] (int64_t idx) const
 
virtual bool reSizeable () const
 
virtual bool selfSufficient () const
 
virtual void setAll (T)
 
virtual bool setSize (int64_t)
 
virtual void setValue (int64_t, T)
 
virtual bool writable () const
 

Protected Attributes

const ArrayND< T > & array_
 

Detailed Description

template<class T>
class ArrayNDValseriesAdapter< T >

Adapter that makes any ArrayND to a (slow) value series.

Try using other methods (like getting the storage) as this is slow.

<>

Constructor & Destructor Documentation

◆ ArrayNDValseriesAdapter()

template<class T >
ArrayNDValseriesAdapter< T >::ArrayNDValseriesAdapter ( const ArrayND< T > &  a)
inline

Member Function Documentation

◆ arr() [1/2]

template<class T >
T* ArrayNDValseriesAdapter< T >::arr ( )
inlinevirtual

Reimplemented from ValueSeries< T >.

◆ arr() [2/2]

template<class T >
const T* ArrayNDValseriesAdapter< T >::arr ( ) const
inlinevirtual

Reimplemented from ValueSeries< T >.

◆ clone()

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

Implements ValueSeries< T >.

◆ isOK()

template<class T >
bool ArrayNDValseriesAdapter< T >::isOK ( ) const
inlinevirtual

Reimplemented from ValueSeries< T >.

◆ value()

template<class T >
T ArrayNDValseriesAdapter< T >::value ( int64_t  idx) const
inlinevirtual

Implements ValueSeries< T >.

Member Data Documentation

◆ array_

template<class T >
const ArrayND<T>& ArrayNDValseriesAdapter< T >::array_
protected

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