OpendTect-6_4  6.4
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

virtual ArrayNDInfoclone () const
 
 ArrayNDInfoImpl (int ndim)
 
 ArrayNDInfoImpl (const ArrayNDInfo &)
 
 ArrayNDInfoImpl (const ArrayNDInfoImpl &)
 
 ~ArrayNDInfoImpl ()
 
virtual bool isOK () const
 
virtual uint64_t getTotalSz () const
 
virtual int getNDim () const
 
virtual int getSize (int dim) const
 
virtual bool setSize (int dim, int nsz)
 
- Public Member Functions inherited from ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual uint64_t getOffset (const int *) const
 
virtual bool validPos (const int *) const
 
bool validDimPos (int dim, int pos) const
 
virtual bool getArrayPos (uint64_t, int *) const
 

Static Public Member Functions

static ArrayNDInfocreate (int ndim)
 

Protected Attributes

int ndim_
 
int * dimsz_
 
uint64_t cachedtotalsz_
 

Additional Inherited Members

- Protected Member Functions inherited from ArrayNDInfo
uint64_t calcTotalSz () const
 

Detailed Description

Implementation of ArrayNDInfo.

Constructor & Destructor Documentation

ArrayNDInfoImpl::ArrayNDInfoImpl ( int  ndim)
ArrayNDInfoImpl::ArrayNDInfoImpl ( const ArrayNDInfo )
ArrayNDInfoImpl::ArrayNDInfoImpl ( const ArrayNDInfoImpl )
ArrayNDInfoImpl::~ArrayNDInfoImpl ( )

Member Function Documentation

virtual ArrayNDInfo* ArrayNDInfoImpl::clone ( ) const
virtual

Implements ArrayNDInfo.

static ArrayNDInfo* ArrayNDInfoImpl::create ( int  ndim)
static
virtual int ArrayNDInfoImpl::getNDim ( ) const
virtual

Implements ArrayNDInfo.

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

Implements ArrayNDInfo.

virtual uint64_t ArrayNDInfoImpl::getTotalSz ( ) const
inlinevirtual

Reimplemented from ArrayNDInfo.

virtual bool ArrayNDInfoImpl::isOK ( ) const
inlinevirtual

Reimplemented from ArrayNDInfo.

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

Reimplemented from ArrayNDInfo.

Member Data Documentation

uint64_t ArrayNDInfoImpl::cachedtotalsz_
protected
int* ArrayNDInfoImpl::dimsz_
protected
int ArrayNDInfoImpl::ndim_
protected

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