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

Protected Attributes

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

<>

Constructor & Destructor Documentation

◆ MultiArrayValueSeries() [1/2]

template<class RT , class AT >
MultiArrayValueSeries< RT, AT >::MultiArrayValueSeries ( std::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
inlineoverride

Member Function Documentation

◆ arr() [1/2]

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

Reimplemented from ValueSeries< RT >.

◆ arr() [2/2]

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

Reimplemented from ValueSeries< RT >.

◆ bytesPerItem()

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

Reimplemented from ValueSeries< RT >.

◆ canSetAll()

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

Reimplemented from ValueSeries< RT >.

◆ clone()

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

Implements ValueSeries< RT >.

◆ isOK()

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

Reimplemented from ValueSeries< RT >.

◆ reSizeable()

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

Reimplemented from ValueSeries< RT >.

◆ selfSufficient()

template<class RT , class AT >
bool MultiArrayValueSeries< RT, AT >::selfSufficient ( ) const
inlineoverridevirtual
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)
inlineoverridevirtual

Reimplemented from ValueSeries< RT >.

◆ setSize()

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

Reimplemented from ValueSeries< RT >.

◆ setValue()

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

Reimplemented from ValueSeries< RT >.

◆ size()

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

Implements ValueSeries< RT >.

◆ value()

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

Implements ValueSeries< RT >.

◆ writable()

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

Reimplemented from ValueSeries< RT >.

Member Data Documentation

◆ chunksize_

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

◆ cursize_

template<class RT , class AT >
std::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-2024