OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
ConvMemValueSeries< T > Class Template Reference
Inheritance diagram for ConvMemValueSeries< T >:
[legend]

Public Member Functions

 ConvMemValueSeries (od_int64 sz, const BinDataDesc &stortype, bool doundef=true, const Scaler *scaler=0)
 
 ~ConvMemValueSeries ()
 
T * arr ()
 
const T * arr () const
 
ValueSeries< T > * clone () const
 
BinDataDesc dataDesc () const
 
bool handlesUndef () const
 
bool isOK () const
 
bool reSizeable () const
 
bool selfSufficient () const
 
bool setSize (od_int64)
 
void setValue (od_int64 idx, T v)
 
od_int64 size () const
 
char * storArr ()
 
const char * storArr () const
 
value (od_int64 idx) const
 
bool writable () 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 void setAll (T)
 
virtual bool setSize (int64_t)
 
virtual void setValue (int64_t, T)
 
virtual T value (int64_t) const =0
 

Protected Attributes

DataInterpreter< T > interpreter_
 
char * ptr_
 
BinDataDesc rettype_
 
const Scalerscaler_
 
od_int64 size_
 
UndefArrayHandlerundefhandler_
 

Detailed Description

template<class T>
class ConvMemValueSeries< T >

ValueSeries that holds data in memory, but the memory may be of a different format than T. I.e. a ValueSeries<float> can have it's values stored as chars.

<>

Constructor & Destructor Documentation

◆ ConvMemValueSeries()

template<class T >
ConvMemValueSeries< T >::ConvMemValueSeries ( od_int64  sz,
const BinDataDesc stortype,
bool  doundef = true,
const Scaler scaler = 0 
)
inline

◆ ~ConvMemValueSeries()

template<class T >
ConvMemValueSeries< T >::~ConvMemValueSeries
inline

Member Function Documentation

◆ arr() [1/2]

template<class T >
T * ConvMemValueSeries< T >::arr
inlinevirtual

Reimplemented from ValueSeries< T >.

◆ arr() [2/2]

template<class T >
const T * ConvMemValueSeries< T >::arr
inlinevirtual

Reimplemented from ValueSeries< T >.

◆ clone()

template<class T >
ValueSeries< T > * ConvMemValueSeries< T >::clone
inlinevirtual

Implements ValueSeries< T >.

◆ dataDesc()

template<class T >
BinDataDesc ConvMemValueSeries< T >::dataDesc
inline

◆ handlesUndef()

template<class T >
bool ConvMemValueSeries< T >::handlesUndef ( ) const
inline

◆ isOK()

template<class T >
bool ConvMemValueSeries< T >::isOK
inlinevirtual

Reimplemented from ValueSeries< T >.

◆ reSizeable()

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

Reimplemented from ValueSeries< T >.

◆ selfSufficient()

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

Reimplemented from ValueSeries< T >.

◆ setSize()

template<class T >
bool ConvMemValueSeries< T >::setSize ( od_int64  sz)
inline

◆ setValue()

template<class T >
void ConvMemValueSeries< T >::setValue ( od_int64  idx,
v 
)
inline

◆ size()

template<class T >
od_int64 ConvMemValueSeries< T >::size
inline

◆ storArr() [1/2]

template<class T >
char * ConvMemValueSeries< T >::storArr
inline

◆ storArr() [2/2]

template<class T >
const char * ConvMemValueSeries< T >::storArr
inline

◆ value()

template<class T >
T ConvMemValueSeries< T >::value ( od_int64  idx) const
inline

◆ writable()

template<class T >
bool ConvMemValueSeries< T >::writable
inlinevirtual

Reimplemented from ValueSeries< T >.

Member Data Documentation

◆ interpreter_

template<class T >
DataInterpreter<T> ConvMemValueSeries< T >::interpreter_
protected

◆ ptr_

template<class T >
char* ConvMemValueSeries< T >::ptr_
protected

◆ rettype_

template<class T >
BinDataDesc ConvMemValueSeries< T >::rettype_
protected

◆ scaler_

template<class T >
const Scaler* ConvMemValueSeries< T >::scaler_
protected

◆ size_

template<class T >
od_int64 ConvMemValueSeries< T >::size_
protected

◆ undefhandler_

template<class T >
UndefArrayHandler* ConvMemValueSeries< T >::undefhandler_
protected

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