|
LTL
2.0.x
|
Public Member Functions | |
| FVMemory () | |
construct as a reference to the memory pointed to by data. More... | |
| FVMemory (const T *const restrict_ data) | |
copy data over from memory pointed to by data. More... | |
| FVMemory (const FVMemory< T, N, 0 > &restrict_ other) | |
| copy constructor More... | |
| T | operator[] (const int i) const |
Access elements with zero-based index i. More... | |
| T & | operator[] (const int i) |
Access elements with zero-based index i. More... | |
| T | operator() (const int i) const |
Access elements with one-based index i. More... | |
| T & | operator() (const int i) |
Access elements with one-based index i. More... | |
| T * | data () |
| Return a pointer to the data. More... | |
| const T * | data () const |
| Return a const-pointer to the data. More... | |
Protected Attributes | |
| T | __data_ [N] |
| the memory block More... | |
Specialization for FVMemory instances having their own memory embedded. Indicated by S=0. This is the case for every freshly allocated FVector object having its own memory.
The physical stride for memory access is one in this case.
|
inline |
construct as a reference to the memory pointed to by data.
|
inline |
copy data over from memory pointed to by data.
|
inline |
copy constructor
|
inline |
Access elements with zero-based index i.
|
inline |
Access elements with zero-based index i.
References ltl::FVMemory< T, N, S >::__data_.
|
inline |
Access elements with one-based index i.
|
inline |
Access elements with one-based index i.
References ltl::FVMemory< T, N, S >::__data_.
|
inline |
Return a pointer to the data.
|
inline |
Return a const-pointer to the data.
References ltl::FVMemory< T, N, S >::__data_.
|
protected |
the memory block
1.8.5