OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
Array2DInfoImpl Class Reference

Implementation of Array2DInfo. More...

Inheritance diagram for Array2DInfoImpl:
[legend]

Public Member Functions

 Array2DInfoImpl (const Array2DInfo &)
 
 Array2DInfoImpl (int sz0=0, int sz1=0)
 
virtual Array2DInfoclone () const
 
virtual int getSize (int dim) const
 
virtual uint64_t getTotalSz () const
 
virtual bool isOK () const
 
virtual bool setSize (int dim, int nsz)
 
- Public Member Functions inherited from Array2DInfo
virtual int getNDim () const
 
virtual uint64_t getOffset (const int *iarr) const
 
virtual uint64_t getOffset (int, int) const
 
virtual bool validPos (const int *iarr) const
 
virtual bool validPos (int, int) const
 
- Public Member Functions inherited from ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual bool getArrayPos (uint64_t, int *) const
 
int nrDims () const
 
bool validDimPos (int dim, int pos) const
 

Protected Attributes

uint64_t cachedtotalsz_
 
int dimsz_ [2]
 

Additional Inherited Members

- Public Types inherited from ArrayNDInfo
typedef nr_dims_type dim_idx_type
 
typedef size_type idx_type
 
typedef const idx_typeNDPos
 
typedef TypeSet< idx_typeNDPosBuf
 
typedef const size_typeNDSize
 
typedef short nr_dims_type
 
typedef int64_t offset_type
 
typedef int size_type
 
typedef offset_type total_size_type
 
- Protected Member Functions inherited from ArrayNDInfo
uint64_t calcTotalSz () const
 

Detailed Description

Implementation of Array2DInfo.

<>

Constructor & Destructor Documentation

◆ Array2DInfoImpl() [1/2]

Array2DInfoImpl::Array2DInfoImpl ( int  sz0 = 0,
int  sz1 = 0 
)

◆ Array2DInfoImpl() [2/2]

Array2DInfoImpl::Array2DInfoImpl ( const Array2DInfo )

Member Function Documentation

◆ clone()

virtual Array2DInfo* Array2DInfoImpl::clone ( ) const
inlinevirtual

Implements ArrayNDInfo.

◆ getSize()

int Array2DInfoImpl::getSize ( int  dim) const
inlinevirtual

Implements ArrayNDInfo.

◆ getTotalSz()

virtual uint64_t Array2DInfoImpl::getTotalSz ( ) const
inlinevirtual

Reimplemented from ArrayNDInfo.

◆ isOK()

virtual bool Array2DInfoImpl::isOK ( ) const
inlinevirtual

Reimplemented from ArrayNDInfo.

◆ setSize()

virtual bool Array2DInfoImpl::setSize ( int  dim,
int  nsz 
)
virtual

Reimplemented from ArrayNDInfo.

Member Data Documentation

◆ cachedtotalsz_

uint64_t Array2DInfoImpl::cachedtotalsz_
protected

◆ dimsz_

int Array2DInfoImpl::dimsz_[2]
protected

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