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

Protected Attributes

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,
int64_t  off 
)
inline

◆ OffsetValueSeries() [2/2]

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

◆ ~OffsetValueSeries()

template<class T >
OffsetValueSeries< T >::~OffsetValueSeries
inline

Member Function Documentation

◆ arr() [1/2]

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

Reimplemented from ValueSeries< T >.

◆ arr() [2/2]

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

Reimplemented from ValueSeries< T >.

◆ canSetAll()

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

Reimplemented from ValueSeries< T >.

◆ clone()

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

Implements ValueSeries< T >.

◆ getOffset()

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

◆ setAll()

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

Reimplemented from ValueSeries< T >.

◆ setOffset()

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

◆ setSize()

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

Reimplemented from ValueSeries< T >.

◆ setValue()

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

Reimplemented from ValueSeries< T >.

◆ source()

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

◆ value()

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

Implements ValueSeries< T >.

◆ writable()

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

Reimplemented from ValueSeries< T >.

Member Data Documentation

◆ off_

template<class T >
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-2022