OpendTect  6.6
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)
 
virtual Array4DInfoclone () const
 
virtual int getSize (int dim) const
 
virtual bool isOK () const
 
virtual bool setSize (int dim, int nsz)
 
virtual uint64_t totalSize () const
 
- Public Member Functions inherited from Array4DInfo
virtual int getNDim () const
 
virtual uint64_t getOffset (const int *pos) const
 
virtual uint64_t getOffset (int, int, int, int) const
 
virtual bool validPos (const int *pos) const
 
virtual bool validPos (int, int, int, int) const
 
- Public Member Functions inherited from ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual bool getArrayPos (uint64_t, int *) const
 
virtual uint64_t getTotalSz () const
 
int nrDims () const
 
bool validDimPos (int dim, int pos) const
 

Protected Attributes

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 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 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()

virtual Array4DInfo* Array4DInfoImpl::clone ( ) const
inlinevirtual

Implements ArrayNDInfo.

◆ getSize()

int Array4DInfoImpl::getSize ( int  dim) const
inlinevirtual

Implements ArrayNDInfo.

◆ isOK()

virtual bool Array4DInfoImpl::isOK ( ) const
inlinevirtual

Reimplemented from ArrayNDInfo.

◆ setSize()

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

Reimplemented from ArrayNDInfo.

◆ totalSize()

virtual uint64_t Array4DInfoImpl::totalSize ( ) const
inlinevirtual

Member Data Documentation

◆ cachedtotalsz_

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-2022