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

Constant view for a 4D array. More...

#include <arccore/base/Array4View.h>

Public Member Functions

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

Detailed Description

template<class DataType>
class Arcane::ConstArray4View< DataType >

Constant view for a 4D array.

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

Constructor & Destructor Documentation

◆ ConstArray4View() [1/2]

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

Definition at line 173 of file arccore/src/base/arccore/base/Array4View.h.

◆ ConstArray4View() [2/2]

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

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

Member Function Documentation

◆ data()

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

Pointer to the allocated memory.

Definition at line 236 of file arccore/src/base/arccore/base/Array4View.h.

◆ dim1Size()

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

Definition at line 197 of file arccore/src/base/arccore/base/Array4View.h.

◆ dim2Size()

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

Definition at line 198 of file arccore/src/base/arccore/base/Array4View.h.

◆ dim3Size()

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

Definition at line 199 of file arccore/src/base/arccore/base/Array4View.h.

◆ dim4Size()

template<class DataType>
Integer Arcane::ConstArray4View< DataType >::dim4Size ( ) const
inlineconstexpr

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

◆ item()

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

Definition at line 224 of file arccore/src/base/arccore/base/Array4View.h.

◆ operator()()

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

Value for element i,j,k,l.

Definition at line 211 of file arccore/src/base/arccore/base/Array4View.h.

◆ operator[]()

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

Definition at line 205 of file arccore/src/base/arccore/base/Array4View.h.

◆ totalNbElement()

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

Definition at line 201 of file arccore/src/base/arccore/base/Array4View.h.

◆ unguardedBasePointer()

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

Pointer to the allocated memory.

Definition at line 233 of file arccore/src/base/arccore/base/Array4View.h.


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