OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
MultiArrayValueSeries< RT, AT > Class Template Reference

Valueseries that allocates its data in smaller chunks. By doing this, it performs better in environments where the memory is fragmented (i.e. windows 32 bit). More...

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

Public Member Functions

 MultiArrayValueSeries (const MultiArrayValueSeries< RT, AT > &)
 
 MultiArrayValueSeries (int64_t)
 
 ~MultiArrayValueSeries ()
 
RT * arr ()
 
const RT * arr () const
 
char bytesPerItem () const
 
bool canSetAll () const
 
ValueSeries< RT > * clone () const
 
bool isOK () const
 
bool reSizeable () const
 
bool selfSufficient () const
 
void setAll (RT)
 
bool setSize (int64_t)
 
void setValue (int64_t idx, RT v)
 
int64_t size () const
 
RT value (int64_t idx) const
 
bool writable () const
 
- Public Member Functions inherited from ValueSeries< RT >
virtual ~ValueSeries ()
 
void getValues (RT *, int64_t nrvals) const
 
void getValues (ValueSeries< RT > &, int64_t nrvals) const
 
RT operator[] (int64_t idx) const
 

Protected Attributes

const int64_t chunksize_
 
int64_t cursize_
 
ObjectSet< AT > ptrs_
 

Detailed Description

template<class RT, class AT>
class MultiArrayValueSeries< RT, AT >

Valueseries that allocates its data in smaller chunks. By doing this, it performs better in environments where the memory is fragmented (i.e. windows 32 bit).

<>

Constructor & Destructor Documentation

◆ MultiArrayValueSeries() [1/2]

template<class RT , class AT >
MultiArrayValueSeries< RT, AT >::MultiArrayValueSeries ( int64_t  sz)
inline

◆ MultiArrayValueSeries() [2/2]

template<class RT , class AT >
MultiArrayValueSeries< RT, AT >::MultiArrayValueSeries ( const MultiArrayValueSeries< RT, AT > &  mavs)
inline

◆ ~MultiArrayValueSeries()

template<class RT , class AT >
MultiArrayValueSeries< RT, AT >::~MultiArrayValueSeries
inline

Member Function Documentation

◆ arr() [1/2]

template<class RT , class AT >
RT * MultiArrayValueSeries< RT, AT >::arr
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ arr() [2/2]

template<class RT , class AT >
const RT * MultiArrayValueSeries< RT, AT >::arr
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ bytesPerItem()

template<class RT , class AT >
char MultiArrayValueSeries< RT, AT >::bytesPerItem ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ canSetAll()

template<class RT , class AT >
bool MultiArrayValueSeries< RT, AT >::canSetAll ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ clone()

template<class RT , class AT >
ValueSeries< RT > * MultiArrayValueSeries< RT, AT >::clone
inlinevirtual

Implements ValueSeries< RT >.

◆ isOK()

template<class RT , class AT >
bool MultiArrayValueSeries< RT, AT >::isOK ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ reSizeable()

template<class RT , class AT >
bool MultiArrayValueSeries< RT, AT >::reSizeable ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ selfSufficient()

template<class RT , class AT >
bool MultiArrayValueSeries< RT, AT >::selfSufficient ( ) const
inlinevirtual
Returns
true if not depending on other objects

Reimplemented from ValueSeries< RT >.

◆ setAll()

template<class RT , class AT >
void MultiArrayValueSeries< RT, AT >::setAll ( RT  val)
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ setSize()

template<class RT , class AT >
bool MultiArrayValueSeries< RT, AT >::setSize ( int64_t  sz)
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ setValue()

template<class RT , class AT >
void MultiArrayValueSeries< RT, AT >::setValue ( int64_t  idx,
RT  v 
)
inlinevirtual

Reimplemented from ValueSeries< RT >.

◆ size()

template<class RT , class AT >
int64_t MultiArrayValueSeries< RT, AT >::size ( ) const
inline

◆ value()

template<class RT , class AT >
RT MultiArrayValueSeries< RT, AT >::value ( int64_t  idx) const
inlinevirtual

Implements ValueSeries< RT >.

◆ writable()

template<class RT , class AT >
bool MultiArrayValueSeries< RT, AT >::writable ( ) const
inlinevirtual

Reimplemented from ValueSeries< RT >.

Member Data Documentation

◆ chunksize_

template<class RT , class AT >
const int64_t MultiArrayValueSeries< RT, AT >::chunksize_
protected

◆ cursize_

template<class RT , class AT >
int64_t MultiArrayValueSeries< RT, AT >::cursize_
protected

◆ ptrs_

template<class RT , class AT >
ObjectSet<AT> MultiArrayValueSeries< RT, AT >::ptrs_
protected

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