Read-only view for a NumVector<DataType_, Size_>. More...
Public Types | |
| using | NumVectorType = NumVector<DataType_, Size> |
| Type of the vector. | |
| using | AccessorReturnType = const NumVectorType& |
| Accessor for the vector. | |
| using | VectorElemenAccessor = DataViewGetter<DataType_> |
| Accessor for one element of the vector. | |
Public Member Functions | |
| __host__ __device__ | NumVectorDataViewGetter (const NumVectorType *ptr) |
| constexpr | operator AccessorReturnType () const noexcept |
Static Public Member Functions | |
| static constexpr __host__ __device__ AccessorReturnType | build (const NumVectorType *ptr) |
Static Public Attributes | |
| static constexpr int | Size = Size_ |
| Number of elements of the vector. | |
Private Attributes | |
| const NumVectorType * | m_ptr = nullptr |
Read-only view for a NumVector<DataType_, Size_>.
Definition at line 33 of file NumVectorDataView.h.
| using Arcane::NumVectorDataViewGetter< DataType_, Size_ >::AccessorReturnType = const NumVectorType& |
Accessor for the vector.
Definition at line 42 of file NumVectorDataView.h.
| using Arcane::NumVectorDataViewGetter< DataType_, Size_ >::NumVectorType = NumVector<DataType_, Size> |
Type of the vector.
Definition at line 40 of file NumVectorDataView.h.
| using Arcane::NumVectorDataViewGetter< DataType_, Size_ >::VectorElemenAccessor = DataViewGetter<DataType_> |
Accessor for one element of the vector.
Definition at line 44 of file NumVectorDataView.h.
|
inlineexplicit |
Definition at line 48 of file NumVectorDataView.h.
|
inlinestaticconstexpr |
Definition at line 54 of file NumVectorDataView.h.
|
inlineconstexprnoexcept |
Definition at line 61 of file NumVectorDataView.h.
|
private |
Definition at line 65 of file NumVectorDataView.h.
|
staticconstexpr |
Number of elements of the vector.
Definition at line 38 of file NumVectorDataView.h.