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

Interface to a series of values. More...

Inheritance diagram for ValueSeries< T >:
[legend]

Public Member Functions

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 void setAll (T)
 
virtual bool setSize (int64_t)
 
virtual void setValue (int64_t, T)
 
virtual T value (int64_t) const =0
 
virtual bool writable () const
 

Detailed Description

template<class T>
class ValueSeries< T >

Interface to a series of values.

If the values are in contiguous memory, arr() should return non-null.

<>

Constructor & Destructor Documentation

◆ ~ValueSeries()

template<class T >
virtual ValueSeries< T >::~ValueSeries ( )
inlinevirtual

Member Function Documentation

◆ arr() [1/2]

template<class T >
virtual T* ValueSeries< T >::arr ( )
inlinevirtual

◆ arr() [2/2]

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

◆ bytesPerItem()

template<class T >
virtual char ValueSeries< T >::bytesPerItem ( ) const
inlinevirtual

◆ canSetAll()

template<class T >
virtual bool ValueSeries< T >::canSetAll ( ) const
inlinevirtual

◆ clone()

template<class T >
virtual ValueSeries<T>* ValueSeries< T >::clone ( ) const
pure virtual

◆ getValues() [1/2]

template<class T >
void ValueSeries< T >::getValues ( T *  to,
int64_t  nrvals 
) const
inline

◆ getValues() [2/2]

template<class T >
void ValueSeries< T >::getValues ( ValueSeries< T > &  to,
int64_t  nrvals 
) const
inline

◆ isOK()

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

◆ operator[]()

template<class T >
T ValueSeries< T >::operator[] ( int64_t  idx) const
inline

◆ reSizeable()

template<class T >
virtual bool ValueSeries< T >::reSizeable ( ) const
inlinevirtual

◆ selfSufficient()

template<class T >
virtual bool ValueSeries< T >::selfSufficient ( ) const
inlinevirtual
Returns
true if not depending on other objects

Reimplemented in ConvMemValueSeries< T >, MultiArrayValueSeries< RT, AT >, ArrayValueSeries< RT, AT >, and ArrayValueSeries< float, float >.

◆ setAll()

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

◆ setSize()

template<class T >
virtual bool ValueSeries< T >::setSize ( int64_t  )
inlinevirtual

◆ setValue()

template<class T >
virtual void ValueSeries< T >::setValue ( int64_t  ,
 
)
inlinevirtual

◆ value()

template<class T >
virtual T ValueSeries< T >::value ( int64_t  ) const
pure virtual

◆ writable()

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

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