OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
ArrayValueSeries< RT, AT > Class Template Reference

Series of values from a pointer to some kind of array. If a more advanced conversion between the return type and the array type is wanted, use ConvValueSeries instead. More...

Inheritance diagram for ArrayValueSeries< RT, AT >:
[legend]

Public Member Functions

 ArrayValueSeries (AT *ptr, bool memmine, int64_t sz=-1)
 
 ArrayValueSeries (int64_t sz)
 
 ~ArrayValueSeries ()
 
ValueSeries< RT > * clone () const
 
bool isOK () const
 
RT value (int64_t idx) const
 
bool writable () const
 
void setValue (int64_t idx, RT v)
 
bool canSetAll () const
 
void setAll (RT)
 
const RT * arr () const
 
RT * arr ()
 
bool selfSufficient () const
 
bool reSizeable () const
 
bool setSize (int64_t)
 
int64_t size () const
 
char bytesPerItem () const
 
- Public Member Functions inherited from ValueSeries< RT >
virtual ~ValueSeries ()
 
void getValues (ValueSeries< RT > &, int64_t nrvals) const
 
void getValues (RT *, int64_t nrvals) const
 
RT operator[] (int64_t idx) const
 

Protected Attributes

AT * ptr_
 
bool mine_
 
int64_t cursize_
 

Detailed Description

template<class RT, class AT>
class ArrayValueSeries< RT, AT >

Series of values from a pointer to some kind of array. If a more advanced conversion between the return type and the array type is wanted, use ConvValueSeries instead.

Constructor & Destructor Documentation

template<class RT , class AT>
ArrayValueSeries< RT, AT >::ArrayValueSeries ( AT *  ptr,
bool  memmine,
int64_t  sz = -1 
)
template<class RT , class AT>
ArrayValueSeries< RT, AT >::ArrayValueSeries ( int64_t  sz)
template<class RT, class AT>
ArrayValueSeries< RT, AT >::~ArrayValueSeries ( )
inline

Member Function Documentation

template<class RT, class AT>
const RT* ArrayValueSeries< RT, AT >::arr ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

template<class RT, class AT>
RT* ArrayValueSeries< RT, AT >::arr ( )
inlinevirtual

Reimplemented from ValueSeries< RT >.

template<class RT, class AT>
char ArrayValueSeries< RT, AT >::bytesPerItem ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

template<class RT, class AT>
bool ArrayValueSeries< RT, AT >::canSetAll ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

template<class RT , class AT >
ValueSeries< RT > * ArrayValueSeries< RT, AT >::clone ( ) const
virtual

Implements ValueSeries< RT >.

template<class RT, class AT>
bool ArrayValueSeries< RT, AT >::isOK ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

template<class RT, class AT>
bool ArrayValueSeries< RT, AT >::reSizeable ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

template<class RT, class AT>
bool ArrayValueSeries< RT, AT >::selfSufficient ( ) const
inlinevirtual
Returns
true if not depending on other objects

Reimplemented from ValueSeries< RT >.

template<class RT, class AT >
void ArrayValueSeries< RT, AT >::setAll ( RT  val)
virtual

Reimplemented from ValueSeries< RT >.

template<class RT , class AT >
bool ArrayValueSeries< RT, AT >::setSize ( int64_t  sz)
inlinevirtual

Reimplemented from ValueSeries< RT >.

template<class RT, class AT >
void ArrayValueSeries< RT, AT >::setValue ( int64_t  idx,
RT  v 
)
virtual

Reimplemented from ValueSeries< RT >.

template<class RT, class AT>
int64_t ArrayValueSeries< RT, AT >::size ( ) const
inline
template<class RT , class AT >
RT ArrayValueSeries< RT, AT >::value ( int64_t  idx) const
virtual

Implements ValueSeries< RT >.

template<class RT, class AT>
bool ArrayValueSeries< RT, AT >::writable ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

Member Data Documentation

template<class RT, class AT>
int64_t ArrayValueSeries< RT, AT >::cursize_
protected
template<class RT, class AT>
bool ArrayValueSeries< RT, AT >::mine_
protected
template<class RT, class AT>
AT* ArrayValueSeries< RT, AT >::ptr_
protected

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