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

Implementation of ArrayNDInfo. More...

Inheritance diagram for ArrayNDInfoImpl:
[legend]

Public Member Functions

 ArrayNDInfoImpl (const ArrayNDInfo &)
 
 ArrayNDInfoImpl (const ArrayNDInfoImpl &)
 
 ArrayNDInfoImpl (int ndim)
 
 ~ArrayNDInfoImpl ()
 
ArrayNDInfoclone () const override
 
int getNDim () 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 ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual bool getArrayPos (std::uint64_t, int *) const
 
virtual std::uint64_t getOffset (const int *) const
 
int nrDims () const
 
bool validDimPos (int dim, int pos) const
 
virtual bool validPos (const int *) const
 

Static Public Member Functions

template<class T >
static ArrayNDInfocreate (const T *, int sz)
 
static ArrayNDInfocreate (int ndim)
 

Protected Attributes

std::uint64_t cachedtotalsz_
 
int * dimsz_
 
int ndim_
 

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

<>

Constructor & Destructor Documentation

◆ ArrayNDInfoImpl() [1/3]

ArrayNDInfoImpl::ArrayNDInfoImpl ( int  ndim)

◆ ArrayNDInfoImpl() [2/3]

ArrayNDInfoImpl::ArrayNDInfoImpl ( const ArrayNDInfo )

◆ ArrayNDInfoImpl() [3/3]

ArrayNDInfoImpl::ArrayNDInfoImpl ( const ArrayNDInfoImpl )

◆ ~ArrayNDInfoImpl()

ArrayNDInfoImpl::~ArrayNDInfoImpl ( )

Member Function Documentation

◆ clone()

ArrayNDInfo* ArrayNDInfoImpl::clone ( ) const
overridevirtual

Implements ArrayNDInfo.

◆ create() [1/2]

template<class T >
ArrayNDInfo * ArrayNDInfoImpl::create ( const T *  sizes,
int  sz 
)
inlinestatic

◆ create() [2/2]

static ArrayNDInfo* ArrayNDInfoImpl::create ( int  ndim)
static

◆ getNDim()

int ArrayNDInfoImpl::getNDim ( ) const
overridevirtual

Implements ArrayNDInfo.

◆ getSize()

int ArrayNDInfoImpl::getSize ( int  dim) const
overridevirtual

Implements ArrayNDInfo.

◆ getTotalSz()

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

Reimplemented from ArrayNDInfo.

◆ isOK()

bool ArrayNDInfoImpl::isOK ( ) const
inlineoverridevirtual

Reimplemented from ArrayNDInfo.

◆ setSize()

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

Reimplemented from ArrayNDInfo.

Member Data Documentation

◆ cachedtotalsz_

std::uint64_t ArrayNDInfoImpl::cachedtotalsz_
protected

◆ dimsz_

int* ArrayNDInfoImpl::dimsz_
protected

◆ ndim_

int ArrayNDInfoImpl::ndim_
protected

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