OpendTect  7.0
Public Member Functions | List of all members
Array1DInfo Class Reference

Contains the information about the size of Array1D, and in what order the data is stored (if accessable via a pointer). More...

Inheritance diagram for Array1DInfo:
[legend]

Public Member Functions

int getNDim () const override
 
std::uint64_t getOffset (const int *iarr) const override
 
virtual std::uint64_t getOffset (int pos) const
 
bool validPos (const int *iarr) const override
 
virtual bool validPos (int pos) const
 
- Public Member Functions inherited from ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual ArrayNDInfoclone () const =0
 
virtual bool getArrayPos (std::uint64_t, int *) const
 
virtual int getSize (int dim) const =0
 
virtual std::uint64_t getTotalSz () const
 
virtual bool isOK () const
 
int nrDims () const
 
virtual bool setSize (int dim, int sz)
 
bool validDimPos (int dim, int pos) const
 

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

Contains the information about the size of Array1D, and in what order the data is stored (if accessable via a pointer).

<>

Member Function Documentation

◆ getNDim()

int Array1DInfo::getNDim ( ) const
inlineoverridevirtual

Implements ArrayNDInfo.

◆ getOffset() [1/2]

std::uint64_t Array1DInfo::getOffset ( const int *  ) const
inlineoverridevirtual

Returns offset in a 'flat' array.

Reimplemented from ArrayNDInfo.

◆ getOffset() [2/2]

virtual std::uint64_t Array1DInfo::getOffset ( int  pos) const
inlinevirtual

◆ validPos() [1/2]

bool Array1DInfo::validPos ( const int *  ) const
inlineoverridevirtual

Checks if the position exists.

Reimplemented from ArrayNDInfo.

◆ validPos() [2/2]

virtual bool Array1DInfo::validPos ( int  pos) const
inlinevirtual

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