OpendTect  7.0
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 *, 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 void setAll (T)
 
virtual bool setSize (std::int64_t)
 
virtual void setValue (std::int64_t, T)
 
virtual std::int64_t size () const =0
 
virtual T value (std::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,
std::int64_t  nrvals 
) const
inline

◆ getValues() [2/2]

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

◆ isOK()

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

◆ operator[]()

template<class T >
T ValueSeries< T >::operator[] ( std::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 >, and ArrayZValues< AT >.

◆ setAll()

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

◆ setSize()

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

◆ setValue()

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

◆ size()

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

◆ value()

template<class T >
virtual T ValueSeries< T >::value ( std::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-2024