OpendTect  7.0
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)
 
const T * arr () const override
 
T * arr () override
 
ValueSeries< T > * clone () const override
 
bool isOK () const override
 
std::int64_t size () const override
 
value (std::int64_t idx) const override
 
- Public Member Functions inherited from ValueSeries< T >
virtual ~ValueSeries ()
 
virtual char bytesPerItem () const
 
virtual bool canSetAll () const
 
void getValues (T *, std::int64_t nrvals) const
 
void getValues (ValueSeries< T > &, std::int64_t nrvals) const
 
operator[] (std::int64_t idx) const
 
virtual bool reSizeable () const
 
virtual bool selfSufficient () const
 
virtual void setAll (T)
 
virtual bool setSize (std::int64_t)
 
virtual void setValue (std::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 >
const T* ArrayNDValseriesAdapter< T >::arr ( ) const
inlineoverridevirtual

Reimplemented from ValueSeries< T >.

◆ arr() [2/2]

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

Reimplemented from ValueSeries< T >.

◆ clone()

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

Implements ValueSeries< T >.

◆ isOK()

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

Reimplemented from ValueSeries< T >.

◆ size()

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

Implements ValueSeries< T >.

◆ value()

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

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-2024