OpendTect  7.0
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)
 
Array2DInfoclone () const override
 
int getSize (int dim) const override
 
std::uint64_t getTotalSz () const override
 
bool isOK () const override
 
bool setSize (int dim, int nsz) override
 
- Public Member Functions inherited from Array2DInfo
int getNDim () const override
 
std::uint64_t getOffset (const int *iarr) const override
 
virtual std::uint64_t getOffset (int, int) const
 
bool validPos (const int *iarr) const override
 
virtual bool validPos (int, int) const
 
- Public Member Functions inherited from ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual bool getArrayPos (std::uint64_t, int *) const
 
int nrDims () const
 
bool validDimPos (int dim, int pos) const
 

Protected Attributes

std::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 std::int16_t nr_dims_type
 
typedef std::int64_t offset_type
 
typedef std::int32_t size_type
 
typedef offset_type total_size_type
 
- Protected Member Functions inherited from ArrayNDInfo
std::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()

Array2DInfo* Array2DInfoImpl::clone ( ) const
inlineoverridevirtual

Implements ArrayNDInfo.

◆ getSize()

int Array2DInfoImpl::getSize ( int  dim) const
inlineoverridevirtual

Implements ArrayNDInfo.

◆ getTotalSz()

std::uint64_t Array2DInfoImpl::getTotalSz ( ) const
inlineoverridevirtual

Reimplemented from ArrayNDInfo.

◆ isOK()

bool Array2DInfoImpl::isOK ( ) const
inlineoverridevirtual

Reimplemented from ArrayNDInfo.

◆ setSize()

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

Reimplemented from ArrayNDInfo.

Member Data Documentation

◆ cachedtotalsz_

std::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-2024