OpendTect  7.0
Public Member Functions | List of all members
ArrayZValues< AT > Class Template Reference

ValueSeries<double> implementation where the Z values are retrieved from a stored array. The pointer is never managed, and must remain in memory while this object is being used. More...

Inheritance diagram for ArrayZValues< AT >:
[legend]

Public Member Functions

 ArrayZValues (ArrPtrMan< AT > &zvals, od_int64 sz, const ZDomain::Info &)
 
 ArrayZValues (AT *zvals, od_int64 sz, const ZDomain::Info &)
 
 ArrayZValues (TypeSet< AT > &, const ZDomain::Info &)
 
 ~ArrayZValues ()
 
const double * arr () const override
 
double * arr () override
 
ValueSeries< double > & asVS ()
 
const ValueSeries< double > & asVS () const
 
char bytesPerItem () const override
 
bool canSetAll () const override
 
ValueSeries< double > * clone () const override
 
bool isOK () const override
 
bool operator!= (const ArrayZValues< AT > &) const
 
bool operator== (const ArrayZValues< AT > &) const
 
bool reSizeable () const override
 
bool selfSufficient () const override
 
void setAll (double) override
 
bool setSize (od_int64) override
 
void setValue (od_int64, double) override
 
od_int64 size () const override
 
double value (od_int64) const override
 
bool writable () const override
 
- Public Member Functions inherited from ArrayValueSeries< double, AT >
 ArrayValueSeries (AT *ptr, bool memmine, std::int64_t sz=-1)
 
 ArrayValueSeries (std::int64_t sz)
 
 ~ArrayValueSeries () override
 
const double * arr () const override
 
double * arr () override
 
char bytesPerItem () const override
 
bool canSetAll () const override
 
ValueSeries< double > * clone () const override
 
bool isOK () const override
 
bool operator!= (const ArrayValueSeries< double, AT > &) const
 
bool operator== (const ArrayValueSeries< double, AT > &) const
 
bool reSizeable () const override
 
void setAll (double) override
 
bool setSize (std::int64_t) override
 
void setValue (std::int64_t idx, double v) override
 
std::int64_t size () const override
 
AT * storArr ()
 
const AT * storArr () const
 
double value (std::int64_t idx) const override
 
bool writable () const override
 
- Public Member Functions inherited from ValueSeries< double >
virtual ~ValueSeries ()
 
void getValues (double *, std::int64_t nrvals) const
 
void getValues (ValueSeries< double > &, std::int64_t nrvals) const
 
double operator[] (std::int64_t idx) const
 
virtual void setValue (std::int64_t, double)
 
- Public Member Functions inherited from ZValueSeries
 ~ZValueSeries ()
 
bool inFeet () const
 
bool inMeter () const
 
bool isDepth () const
 
virtual bool isRegular () const
 
bool isTime () const
 
bool operator!= (const ZValueSeries &) const
 
bool operator== (const ZValueSeries &) const
 
void setScaler (const LinScaler &)
 
const ZDomain::InfozDomainInfo () const
 

Additional Inherited Members

- Protected Member Functions inherited from ZValueSeries
 ZValueSeries (const ZDomain::Info &)
 
const LinScalergetScaler () const
 
- Protected Attributes inherited from ArrayValueSeries< double, AT >
std::int64_t cursize_
 
bool mine_
 
AT * ptr_
 

Detailed Description

template<class AT>
class ArrayZValues< AT >

ValueSeries<double> implementation where the Z values are retrieved from a stored array. The pointer is never managed, and must remain in memory while this object is being used.

<>

Constructor & Destructor Documentation

◆ ArrayZValues() [1/3]

template<class AT >
ArrayZValues< AT >::ArrayZValues ( AT *  zvals,
od_int64  sz,
const ZDomain::Info zinfo 
)
inline

◆ ArrayZValues() [2/3]

template<class AT >
ArrayZValues< AT >::ArrayZValues ( ArrPtrMan< AT > &  zvals,
od_int64  sz,
const ZDomain::Info zinfo 
)
inline

◆ ArrayZValues() [3/3]

template<class AT >
ArrayZValues< AT >::ArrayZValues ( TypeSet< AT > &  zvals,
const ZDomain::Info zinfo 
)
inline

◆ ~ArrayZValues()

template<class AT >
ArrayZValues< AT >::~ArrayZValues
inline

Member Function Documentation

◆ arr() [1/2]

template<class AT >
const double * ArrayZValues< AT >::arr
inlineoverridevirtual

Reimplemented from ValueSeries< double >.

◆ arr() [2/2]

template<class AT >
double * ArrayZValues< AT >::arr
inlineoverridevirtual

Reimplemented from ValueSeries< double >.

◆ asVS() [1/2]

template<class AT >
ValueSeries< double > & ArrayZValues< AT >::asVS
inline

◆ asVS() [2/2]

template<class AT >
const ValueSeries< double > & ArrayZValues< AT >::asVS
inline

◆ bytesPerItem()

template<class AT >
char ArrayZValues< AT >::bytesPerItem
inlineoverridevirtual

Reimplemented from ValueSeries< double >.

◆ canSetAll()

template<class AT >
bool ArrayZValues< AT >::canSetAll
inlineoverridevirtual

Reimplemented from ValueSeries< double >.

◆ clone()

template<class AT >
ValueSeries< double > * ArrayZValues< AT >::clone
inlineoverridevirtual

Implements ValueSeries< double >.

◆ isOK()

template<class AT >
bool ArrayZValues< AT >::isOK
inlineoverridevirtual

Reimplemented from ValueSeries< double >.

◆ operator!=()

template<class AT >
bool ArrayZValues< AT >::operator!= ( const ArrayZValues< AT > &  oth) const
inline

◆ operator==()

template<class AT >
bool ArrayZValues< AT >::operator== ( const ArrayZValues< AT > &  oth) const
inline

◆ reSizeable()

template<class AT >
bool ArrayZValues< AT >::reSizeable
inlineoverridevirtual

Reimplemented from ValueSeries< double >.

◆ selfSufficient()

template<class AT >
bool ArrayZValues< AT >::selfSufficient
inlineoverridevirtual
Returns
true if not depending on other objects

Reimplemented from ValueSeries< double >.

◆ setAll()

template<class AT >
void ArrayZValues< AT >::setAll ( double  val)
inlineoverridevirtual

Reimplemented from ValueSeries< double >.

◆ setSize()

template<class AT >
bool ArrayZValues< AT >::setSize ( od_int64  sz)
inlineoverride

◆ setValue()

template<class AT >
void ArrayZValues< AT >::setValue ( od_int64  idx,
double  val 
)
inlineoverride

◆ size()

template<class AT >
od_int64 ArrayZValues< AT >::size
inlineoverridevirtual

Implements ValueSeries< double >.

◆ value()

template<class AT >
double ArrayZValues< AT >::value ( od_int64  idx) const
inlineoverride

◆ writable()

template<class AT >
bool ArrayZValues< AT >::writable
inlineoverridevirtual

Reimplemented from ValueSeries< double >.


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