Constant view for a 4D array. More...
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. | |
Private Attributes | |
| const DataType * | m_ptr |
| Integer | m_dim1_size |
| Size of the 1st dimension. | |
| Integer | m_dim2_size |
| Size of the 2nd dimension. | |
| Integer | m_dim3_size |
| Size of the 3rd dimension. | |
| Integer | m_dim4_size |
| Size of the 4th dimension. | |
| Integer | m_dim34_size |
| dim3 * dim4 | |
| Integer | m_dim234_size |
| dim2 * dim3 * dim4 | |
Constant view for a 4D array.
Definition at line 169 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Definition at line 173 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Definition at line 184 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Pointer to the allocated memory.
Definition at line 236 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Definition at line 197 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Definition at line 198 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Definition at line 199 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Definition at line 200 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Definition at line 224 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Value for element i,j,k,l.
Definition at line 211 of file arccore/src/base/arccore/base/Array4View.h.
References m_dim1_size, m_dim234_size, m_dim2_size, m_dim34_size, m_dim3_size, and m_dim4_size.
|
inlineconstexpr |
Definition at line 205 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Definition at line 201 of file arccore/src/base/arccore/base/Array4View.h.
|
inlineconstexpr |
Pointer to the allocated memory.
Definition at line 233 of file arccore/src/base/arccore/base/Array4View.h.
|
private |
Size of the 1st dimension.
Definition at line 241 of file arccore/src/base/arccore/base/Array4View.h.
Referenced by operator()().
|
private |
dim2 * dim3 * dim4
Definition at line 246 of file arccore/src/base/arccore/base/Array4View.h.
Referenced by operator()().
|
private |
Size of the 2nd dimension.
Definition at line 242 of file arccore/src/base/arccore/base/Array4View.h.
Referenced by operator()().
|
private |
dim3 * dim4
Definition at line 245 of file arccore/src/base/arccore/base/Array4View.h.
Referenced by operator()().
|
private |
Size of the 3rd dimension.
Definition at line 243 of file arccore/src/base/arccore/base/Array4View.h.
Referenced by operator()().
|
private |
Size of the 4th dimension.
Definition at line 244 of file arccore/src/base/arccore/base/Array4View.h.
Referenced by operator()().
|
private |
Definition at line 240 of file arccore/src/base/arccore/base/Array4View.h.