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

Protected Attributes

ValueSeries< T > & src_
 
int64_t off_
 
bool writable_
 

Detailed Description

template<class T>
class OffsetValueSeries< T >

ValueSeries of offsets.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from ValueSeries< T >.

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

Reimplemented from ValueSeries< T >.

template<class T >
bool OffsetValueSeries< T >::canSetAll ( ) const
inlinevirtual

Reimplemented from ValueSeries< T >.

template<class T >
ValueSeries< T > * OffsetValueSeries< T >::clone ( ) const
inlinevirtual

Implements ValueSeries< T >.

template<class T >
int64_t OffsetValueSeries< T >::getOffset ( ) const
inline
template<class T >
void OffsetValueSeries< T >::setAll ( v)
inlinevirtual

Reimplemented from ValueSeries< T >.

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

Reimplemented from ValueSeries< T >.

template<class T>
const ValueSeries<T>& OffsetValueSeries< T >::source ( ) const
inline
template<class T >
T OffsetValueSeries< T >::value ( int64_t  idx) const
inlinevirtual

Implements ValueSeries< T >.

template<class T >
bool OffsetValueSeries< T >::writable ( ) const
inlinevirtual

Reimplemented from ValueSeries< T >.

Member Data Documentation

template<class T>
int64_t OffsetValueSeries< T >::off_
protected
template<class T>
ValueSeries<T>& OffsetValueSeries< T >::src_
protected
template<class T>
bool OffsetValueSeries< T >::writable_
protected

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