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