OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
OffsetValueSeries< T > Class Template Reference

ValueSeries of offsets. More...

Inheritance diagram for OffsetValueSeries< T >:
[legend]

Public Member Functions

 OffsetValueSeries (const ValueSeries< T > &src, std::int64_t off, std::int64_t sz)
 
 OffsetValueSeries (ValueSeries< T > &src, std::int64_t off, std::int64_t sz)
 
const T * arr () const override
 
T * arr () override
 
bool canSetAll () const override
 
ValueSeries< T > * clone () const override
 
std::int64_t getOffset () const
 
void setAll (T) override
 
void setOffset (std::int64_t no)
 
bool setSize (std::int64_t sz) override
 
void setValue (std::int64_t idx, T v) override
 
std::int64_t size () const override
 
const ValueSeries< T > & source () const
 
value (std::int64_t idx) const override
 
bool writable () const override
 
- Public Member Functions inherited from ValueSeries< T >
virtual ~ValueSeries ()
 
virtual char bytesPerItem () const
 
void getValues (T *, std::int64_t nrvals) const
 
void getValues (ValueSeries< T > &, std::int64_t nrvals) const
 
virtual bool isOK () const
 
operator[] (std::int64_t idx) const
 
virtual bool reSizeable () const
 
virtual bool selfSufficient () const
 

Protected Attributes

std::int64_t cursize_ = 0
 
std::int64_t off_
 
ValueSeries< T > & src_
 
bool writable_
 

Detailed Description

template<class T>
class OffsetValueSeries< T >

ValueSeries of offsets.

<>

Constructor & Destructor Documentation

◆ OffsetValueSeries() [1/2]

template<class T >
OffsetValueSeries< T >::OffsetValueSeries ( ValueSeries< T > &  src,
std::int64_t  off,
std::int64_t  sz 
)
inline

◆ OffsetValueSeries() [2/2]

template<class T >
OffsetValueSeries< T >::OffsetValueSeries ( const ValueSeries< T > &  src,
std::int64_t  off,
std::int64_t  sz 
)
inline

Member Function Documentation

◆ arr() [1/2]

template<class T >
const T * OffsetValueSeries< T >::arr
inlineoverridevirtual

Reimplemented from ValueSeries< T >.

◆ arr() [2/2]

template<class T >
T * OffsetValueSeries< T >::arr
inlineoverridevirtual

Reimplemented from ValueSeries< T >.

◆ canSetAll()

template<class T >
bool OffsetValueSeries< T >::canSetAll
inlineoverridevirtual

Reimplemented from ValueSeries< T >.

◆ clone()

template<class T >
ValueSeries< T > * OffsetValueSeries< T >::clone
inlineoverridevirtual

Implements ValueSeries< T >.

◆ getOffset()

template<class T >
std::int64_t OffsetValueSeries< T >::getOffset
inline

◆ setAll()

template<class T >
void OffsetValueSeries< T >::setAll ( v)
inlineoverridevirtual

Reimplemented from ValueSeries< T >.

◆ setOffset()

template<class T >
void OffsetValueSeries< T >::setOffset ( std::int64_t  no)
inline

◆ setSize()

template<class T >
bool OffsetValueSeries< T >::setSize ( std::int64_t  sz)
inlineoverridevirtual

Reimplemented from ValueSeries< T >.

◆ setValue()

template<class T >
void OffsetValueSeries< T >::setValue ( std::int64_t  idx,
v 
)
inlineoverridevirtual

Reimplemented from ValueSeries< T >.

◆ size()

template<class T >
std::int64_t OffsetValueSeries< T >::size ( ) const
inlineoverridevirtual

Implements ValueSeries< T >.

◆ source()

template<class T >
const ValueSeries<T>& OffsetValueSeries< T >::source ( ) const
inline

◆ value()

template<class T >
T OffsetValueSeries< T >::value ( std::int64_t  idx) const
inlineoverridevirtual

Implements ValueSeries< T >.

◆ writable()

template<class T >
bool OffsetValueSeries< T >::writable
inlineoverridevirtual

Reimplemented from ValueSeries< T >.

Member Data Documentation

◆ cursize_

template<class T >
std::int64_t OffsetValueSeries< T >::cursize_ = 0
protected

◆ off_

template<class T >
std::int64_t OffsetValueSeries< T >::off_
protected

◆ src_

template<class T >
ValueSeries<T>& OffsetValueSeries< T >::src_
protected

◆ writable_

template<class T >
bool OffsetValueSeries< T >::writable_
protected

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