Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ConstArray3View< DataType > Class Template Reference

View for a constant 3D array. More...

#include <arccore/base/Array3View.h>

Public Member Functions

constexpr ConstArray3View (const DataType *ptr, Integer dim1_size, Integer dim2_size, Integer dim3_size)
constexpr Integer dim1Size () const
constexpr Integer dim2Size () const
constexpr Integer dim3Size () const
constexpr Integer totalNbElement () const
constexpr ConstArray2View< DataType > operator[] (Integer i) const
constexpr DataType item (Integer i, Integer j, Integer k) const
constexpr const DataType & operator() (Integer i, Integer j, Integer k) const
constexpr const DataType * unguardedBasePointer () const
 Pointer to the allocated memory.
constexpr const DataType * data () const
 Pointer to the allocated memory.

Detailed Description

template<class DataType>
class Arcane::ConstArray3View< DataType >

View for a constant 3D array.

Definition at line 144 of file arccore/src/base/arccore/base/Array3View.h.

Constructor & Destructor Documentation

◆ ConstArray3View() [1/2]

template<class DataType>
Arcane::ConstArray3View< DataType >::ConstArray3View ( const DataType * ptr,
Integer dim1_size,
Integer dim2_size,
Integer dim3_size )
inlineconstexpr

Definition at line 148 of file arccore/src/base/arccore/base/Array3View.h.

◆ ConstArray3View() [2/2]

template<class DataType>
Arcane::ConstArray3View< DataType >::ConstArray3View ( )
inlineconstexpr

Definition at line 156 of file arccore/src/base/arccore/base/Array3View.h.

Member Function Documentation

◆ data()

template<class DataType>
const DataType * Arcane::ConstArray3View< DataType >::data ( ) const
inlineconstexpr

Pointer to the allocated memory.

Definition at line 203 of file arccore/src/base/arccore/base/Array3View.h.

◆ dim1Size()

template<class DataType>
Integer Arcane::ConstArray3View< DataType >::dim1Size ( ) const
inlineconstexpr

Definition at line 167 of file arccore/src/base/arccore/base/Array3View.h.

◆ dim2Size()

template<class DataType>
Integer Arcane::ConstArray3View< DataType >::dim2Size ( ) const
inlineconstexpr

Definition at line 168 of file arccore/src/base/arccore/base/Array3View.h.

◆ dim3Size()

template<class DataType>
Integer Arcane::ConstArray3View< DataType >::dim3Size ( ) const
inlineconstexpr

Definition at line 169 of file arccore/src/base/arccore/base/Array3View.h.

◆ item()

template<class DataType>
DataType Arcane::ConstArray3View< DataType >::item ( Integer i,
Integer j,
Integer k ) const
inlineconstexpr

Definition at line 179 of file arccore/src/base/arccore/base/Array3View.h.

◆ operator()()

template<class DataType>
const DataType & Arcane::ConstArray3View< DataType >::operator() ( Integer i,
Integer j,
Integer k ) const
inlineconstexpr

Definition at line 184 of file arccore/src/base/arccore/base/Array3View.h.

◆ operator[]()

template<class DataType>
ConstArray2View< DataType > Arcane::ConstArray3View< DataType >::operator[] ( Integer i) const
inlineconstexpr

Definition at line 174 of file arccore/src/base/arccore/base/Array3View.h.

◆ totalNbElement()

template<class DataType>
Integer Arcane::ConstArray3View< DataType >::totalNbElement ( ) const
inlineconstexpr

Definition at line 170 of file arccore/src/base/arccore/base/Array3View.h.

◆ unguardedBasePointer()

template<class DataType>
const DataType * Arcane::ConstArray3View< DataType >::unguardedBasePointer ( ) const
inlineconstexpr

Pointer to the allocated memory.

Definition at line 200 of file arccore/src/base/arccore/base/Array3View.h.


The documentation for this class was generated from the following file: