OpendTect  7.0
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 ConvMemValueSeries instead. More...

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

Public Member Functions

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

Protected Attributes

std::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 ConvMemValueSeries instead.

<>

Constructor & Destructor Documentation

◆ ArrayValueSeries() [1/2]

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

◆ ArrayValueSeries() [2/2]

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

◆ ~ArrayValueSeries()

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

Member Function Documentation

◆ arr() [1/2]

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

Reimplemented from ValueSeries< RT >.

◆ arr() [2/2]

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

Reimplemented from ValueSeries< RT >.

◆ bytesPerItem()

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

Reimplemented from ValueSeries< RT >.

◆ canSetAll()

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

Reimplemented from ValueSeries< RT >.

◆ clone()

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

Implements ValueSeries< RT >.

◆ isOK()

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

Reimplemented from ValueSeries< RT >.

◆ operator!=()

template<class RT , class AT >
bool ArrayValueSeries< RT, AT >::operator!= ( const ArrayValueSeries< RT, AT > &  oth) const

◆ operator==()

template<class RT , class AT >
bool ArrayValueSeries< RT, AT >::operator== ( const ArrayValueSeries< RT, AT > &  oth) const

◆ reSizeable()

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

Reimplemented from ValueSeries< RT >.

◆ setAll()

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

Reimplemented from ValueSeries< RT >.

◆ setSize()

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

Reimplemented from ValueSeries< RT >.

◆ setValue()

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

Reimplemented from ValueSeries< RT >.

◆ size()

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

Implements ValueSeries< RT >.

◆ storArr() [1/2]

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

◆ storArr() [2/2]

template<class RT , class AT >
const AT* ArrayValueSeries< RT, AT >::storArr ( ) const
inline

◆ value()

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

Implements ValueSeries< RT >.

◆ writable()

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

Reimplemented from ValueSeries< RT >.

Member Data Documentation

◆ cursize_

template<class RT , class AT >
std::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-2024