OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
Attrib::DataHolderArray Class Reference

An array of attribute data holders. More...

Inheritance diagram for Attrib::DataHolderArray:
[legend]

Public Member Functions

 DataHolderArray (const ObjectSet< DataHolder > &)
 
 DataHolderArray (const ObjectSet< DataHolder > &dh, int sidx, int dim0sz, int dim1sz)
 
 ~DataHolderArray ()
 
void set (int i0, int i1, int i2, float val)
 
float get (int i0, int i1, int i2) const
 
const Array3DInfoinfo () const
 
virtual void getAll (float *) const
 
virtual void getAll (ValueSeries< float > &vs) const
 
- Public Member Functions inherited from Array3D< float >
void setND (const int *pos, float v)
 
float getND (const int *pos) const
 
virtual float *** get3DData ()
 
virtual const float *** get3DData () const
 
- Public Member Functions inherited from ArrayND< float >
virtual ~ArrayND ()
 
virtual bool isOK () const
 
virtual bool isEmpty () const
 
virtual bool isSettable () const
 
const ValueSeries< float > * getStorage () const
 
ValueSeries< float > * getStorage ()
 
virtual bool canSetStorage () const
 
virtual bool setStorage (ValueSeries< float > *s)
 
const float * getData () const
 
float * getData ()
 
virtual const float * get1D (const int *) const
 
virtual float * get1D (const int *)
 
virtual int get1DDim () const
 
virtual bool canSetInfo () const
 
virtual bool canChangeNrDims () const
 
virtual bool setInfo (const ArrayNDInfo &)
 
virtual void setAll (float)
 

Protected Attributes

Array3DInfoImpl info_
 
ObjectSet< DataHolderdh_
 
char type_
 
int seriesidx_
 

Additional Inherited Members

- Protected Member Functions inherited from ArrayND< float >
virtual const ValueSeries< float > * getStorage_ () const
 
virtual const float * getData_ () const
 

Detailed Description

An array of attribute data holders.

Constructor & Destructor Documentation

Attrib::DataHolderArray::DataHolderArray ( const ObjectSet< DataHolder > &  )
Attrib::DataHolderArray::DataHolderArray ( const ObjectSet< DataHolder > &  dh,
int  sidx,
int  dim0sz,
int  dim1sz 
)
Attrib::DataHolderArray::~DataHolderArray ( )

Member Function Documentation

float Attrib::DataHolderArray::get ( int  i0,
int  i1,
int  i2 
) const
virtual

Implements Array3D< float >.

virtual void Attrib::DataHolderArray::getAll ( float *  ptr) const
virtual

Fills ptr with values from array. ptr is assumed to be allocated with info().getTotalSz() number of values.

Reimplemented from ArrayND< float >.

virtual void Attrib::DataHolderArray::getAll ( ValueSeries< float > &  vs) const
virtual

Fills vs with values from array. ptr is assumed to be allocated with info().getTotalSz() number of values.

Reimplemented from ArrayND< float >.

const Array3DInfo& Attrib::DataHolderArray::info ( ) const
inlinevirtual

Implements Array3D< float >.

void Attrib::DataHolderArray::set ( int  i0,
int  i1,
int  i2,
float  val 
)
virtual

Implements Array3D< float >.

Member Data Documentation

ObjectSet<DataHolder> Attrib::DataHolderArray::dh_
protected
Array3DInfoImpl Attrib::DataHolderArray::info_
protected
int Attrib::DataHolderArray::seriesidx_
protected
char Attrib::DataHolderArray::type_
protected

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