OpendTect-6_4  6.4
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). Default chunk size for windows 32 bit is 512MB and for all other platforms default is 32 GB. More...

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

Public Member Functions

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

Protected Attributes

ObjectSet< AT > ptrs_
 
int64_t cursize_
 
const int64_t chunksize_
 

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). Default chunk size for windows 32 bit is 512MB and for all other platforms default is 32 GB.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Implements ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

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

Implements ValueSeries< RT >.

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

Reimplemented from ValueSeries< RT >.

Member Data Documentation

template<class RT, class AT>
const int64_t MultiArrayValueSeries< RT, AT >::chunksize_
protected
template<class RT, class AT>
int64_t MultiArrayValueSeries< RT, AT >::cursize_
protected
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. 2019