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

Protected Attributes

int64_t cursize_
 
bool mine_
 
AT * ptr_
 

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

◆ ArrayValueSeries() [1/2]

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

◆ ArrayValueSeries() [2/2]

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

◆ ~ArrayValueSeries()

template<class RT , class AT >
ArrayValueSeries< RT, AT >::~ArrayValueSeries ( )
inline

Member Function Documentation

◆ arr() [1/2]

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

Reimplemented from ValueSeries< RT >.

◆ arr() [2/2]

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

Reimplemented from ValueSeries< RT >.

◆ bytesPerItem()

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

Reimplemented from ValueSeries< RT >.

◆ canSetAll()

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

Reimplemented from ValueSeries< RT >.

◆ clone()

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

Implements ValueSeries< RT >.

◆ isOK()

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

Reimplemented from ValueSeries< RT >.

◆ reSizeable()

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

Reimplemented from ValueSeries< RT >.

◆ selfSufficient()

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

Reimplemented from ValueSeries< RT >.

◆ setAll()

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

Reimplemented from ValueSeries< RT >.

◆ setSize()

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

Reimplemented from ValueSeries< RT >.

◆ setValue()

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

Reimplemented from ValueSeries< RT >.

◆ size()

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

◆ value()

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

Implements ValueSeries< RT >.

◆ writable()

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

Reimplemented from ValueSeries< RT >.

Member Data Documentation

◆ cursize_

template<class RT , class AT >
int64_t ArrayValueSeries< RT, AT >::cursize_
protected

◆ mine_

template<class RT , class AT >
bool ArrayValueSeries< RT, AT >::mine_
protected

◆ ptr_

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. 1995-2022