![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Accessor for read-only access to dynamic nvar buffer data. More...
#include <shamrock/include/shamrock/patch/PatchDataFieldSpan.hpp>
Public Member Functions | |
| const T & | operator() (u32 idx, u32 offset) const |
| Access to element at index idx and offset var. | |
| const T & | operator[] (u32 idx) const |
| Access the underlying pointer. | |
Public Attributes | |
| const T * | ptr |
| Pointer to the data. | |
| u32 | nvar |
| Number of variables. | |
Accessor for read-only access to dynamic nvar buffer data.
Definition at line 48 of file PatchDataFieldSpan.hpp.
|
inline |
Access to element at index idx and offset var.
Definition at line 53 of file PatchDataFieldSpan.hpp.
|
inline |
Access the underlying pointer.
Definition at line 56 of file PatchDataFieldSpan.hpp.
| u32 shamrock::details::PatchDataFieldSpan_access_ro_dyn_nvar< T >::nvar |
Number of variables.
Definition at line 50 of file PatchDataFieldSpan.hpp.
| const T* shamrock::details::PatchDataFieldSpan_access_ro_dyn_nvar< T >::ptr |
Pointer to the data.
Definition at line 49 of file PatchDataFieldSpan.hpp.