Constant view on a MultiArray2. More...
#include <arcane/utils/MultiArray2View.h>
Public Member Functions | |
| ConstMultiArray2View (ConstArrayView< DataType > buf, ConstArrayView< Int32 > indexes, ConstArrayView< Int32 > sizes) | |
| View on the array buf. | |
| ConstMultiArray2View ()=default | |
| Empty view. | |
| Int32 | dim1Size () const |
| Number of elements in the first dimension. | |
| ARCANE_DEPRECATED_122 Int32 | size () const |
| Number of elements in the first dimension. | |
| ConstArrayView< Int32 > | dim2Sizes () const |
| Number of elements in the second dimension. | |
| Int32 | totalNbElement () const |
| Total number of elements in the array. | |
| ConstArrayView< DataType > | operator[] (Int32 i) const |
| The i-th element of the array. | |
Friends | |
| class | MultiArray2< DataType > |
Constant view on a MultiArray2.
Definition at line 92 of file MultiArray2View.h.
|
inline |
View on the array buf.
Definition at line 101 of file MultiArray2View.h.
|
inline |
Number of elements in the first dimension.
Definition at line 114 of file MultiArray2View.h.
Referenced by Arcane::ConstMultiArray2View< TiedNode >::size().
|
inline |
Number of elements in the second dimension.
Definition at line 123 of file MultiArray2View.h.
|
inline |
The i-th element of the array.
Definition at line 131 of file MultiArray2View.h.
|
inline |
Number of elements in the first dimension.
Definition at line 120 of file MultiArray2View.h.
Referenced by Arcane::MeshUtils::writeMeshConnectivity().
|
inline |
Total number of elements in the array.
Definition at line 126 of file MultiArray2View.h.
|
friend |
Definition at line 82 of file MultiArray2View.h.