OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
Array4DInfoImpl Class Reference

Implementation of Array4DInfo. More...

Inheritance diagram for Array4DInfoImpl:
[legend]

Public Member Functions

 Array4DInfoImpl (const Array4DInfo &)
 
 Array4DInfoImpl (int sz0=0, int sz1=0, int sz2=0, int sz3=0)
 
Array4DInfoclone () const override
 
int getSize (int dim) const override
 
bool isOK () const override
 
bool setSize (int dim, int nsz) override
 
virtual std::uint64_t totalSize () const
 
- Public Member Functions inherited from Array4DInfo
int getNDim () const override
 
std::uint64_t getOffset (const int *pos) const override
 
virtual std::uint64_t getOffset (int, int, int, int) const
 
bool validPos (const int *pos) const override
 
virtual bool validPos (int, int, int, int) const
 
- Public Member Functions inherited from ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual bool getArrayPos (std::uint64_t, int *) const
 
virtual std::uint64_t getTotalSz () const
 
int nrDims () const
 
bool validDimPos (int dim, int pos) const
 

Protected Attributes

std::uint64_t cachedtotalsz_
 
int dimsz_ [4]
 

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 Array4DInfo.

<>

Constructor & Destructor Documentation

◆ Array4DInfoImpl() [1/2]

Array4DInfoImpl::Array4DInfoImpl ( int  sz0 = 0,
int  sz1 = 0,
int  sz2 = 0,
int  sz3 = 0 
)

◆ Array4DInfoImpl() [2/2]

Array4DInfoImpl::Array4DInfoImpl ( const Array4DInfo )

Member Function Documentation

◆ clone()

Array4DInfo* Array4DInfoImpl::clone ( ) const
inlineoverridevirtual

Implements ArrayNDInfo.

◆ getSize()

int Array4DInfoImpl::getSize ( int  dim) const
inlineoverridevirtual

Implements ArrayNDInfo.

◆ isOK()

bool Array4DInfoImpl::isOK ( ) const
inlineoverridevirtual

Reimplemented from ArrayNDInfo.

◆ setSize()

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

Reimplemented from ArrayNDInfo.

◆ totalSize()

virtual std::uint64_t Array4DInfoImpl::totalSize ( ) const
inlinevirtual

Member Data Documentation

◆ cachedtotalsz_

std::uint64_t Array4DInfoImpl::cachedtotalsz_
protected

◆ dimsz_

int Array4DInfoImpl::dimsz_[4]
protected

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