OpendTect  6.6
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 ()
 
virtual ArrayNDInfoclone () const
 
virtual int getNDim () 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 ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual bool getArrayPos (uint64_t, int *) const
 
virtual 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

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

virtual ArrayNDInfo* ArrayNDInfoImpl::clone ( ) const
virtual

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

virtual int ArrayNDInfoImpl::getNDim ( ) const
virtual

Implements ArrayNDInfo.

◆ getSize()

virtual int ArrayNDInfoImpl::getSize ( int  dim) const
virtual

Implements ArrayNDInfo.

◆ getTotalSz()

virtual uint64_t ArrayNDInfoImpl::getTotalSz ( ) const
inlinevirtual

Reimplemented from ArrayNDInfo.

◆ isOK()

virtual bool ArrayNDInfoImpl::isOK ( ) const
inlinevirtual

Reimplemented from ArrayNDInfo.

◆ setSize()

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

Reimplemented from ArrayNDInfo.

Member Data Documentation

◆ cachedtotalsz_

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