|
| View ()=default |
| Performs default initialization of the blob array. More...
|
|
| View (Mapping mapping, Array< BlobType, Mapping::blobCount > blobs={}, Accessor accessor={}) |
|
auto | mapping () -> Mapping & |
|
auto | mapping () const -> const Mapping & |
|
auto | accessor () -> Accessor & |
|
auto | accessor () const -> const Accessor & |
|
auto | extents () const -> ArrayExtents |
|
template<typename V > |
auto | operator() (llama::ArrayIndex< V, ArrayIndex::rank >) const |
|
auto | operator() (ArrayIndex ai) const -> decltype(auto) |
| Retrieves the RecordRef at the given ArrayIndex index. More...
|
|
auto | operator() (ArrayIndex ai) -> decltype(auto) |
|
template<typename... Indices, std::enable_if_t< std::conjunction_v< std::is_convertible< Indices, size_type >... >, int > = 0> |
auto | operator() (Indices... indices) const -> decltype(auto) |
|
template<typename... Indices, std::enable_if_t< std::conjunction_v< std::is_convertible< Indices, size_type >... >, int > = 0> |
auto | operator() (Indices... indices) -> decltype(auto) |
|
auto | operator[] (ArrayIndex ai) const -> decltype(auto) |
|
auto | operator[] (ArrayIndex ai) -> decltype(auto) |
|
template<typename V > |
auto | operator[] (llama::ArrayIndex< V, ArrayIndex::rank >) const |
|
auto | operator[] (size_type index) const -> decltype(auto) |
| Retrieves the RecordRef at the 1D ArrayIndex index constructed from the passed index. More...
|
|
auto | operator[] (size_type index) -> decltype(auto) |
|
auto | begin () -> iterator |
|
auto | begin () const -> const_iterator |
|
auto | end () -> iterator |
|
auto | end () const -> const_iterator |
|
auto | blobs () -> Array< BlobType, Mapping::blobCount > & |
|
auto | blobs () const -> const Array< BlobType, Mapping::blobCount > & |
|
template<typename TMapping, typename TBlobType, typename TAccessor = accessor::Default>
struct llama::View< TMapping, TBlobType, TAccessor >
Central LLAMA class holding memory for storage and giving access to values stored there defined by a mapping. A view should be created using allocView.
- Template Parameters
-
TMapping | The mapping used by the view to map accesses into memory. |
TBlobType | The storage type used by the view holding memory. |
TAccessor | The accessor to use when an access is made through this view. |
Definition at line 388 of file View.hpp.
template<typename TMapping , typename TBlobType , typename TAccessor = accessor::Default>
template<typename... Indices, std::enable_if_t< std::conjunction_v< std::is_convertible< Indices, size_type >... >, int > = 0>
auto llama::View< TMapping, TBlobType, TAccessor >::operator() |
( |
Indices... |
indices | ) |
-> decltype(auto)
|
|
inline |
template<typename TMapping , typename TBlobType , typename TAccessor = accessor::Default>
template<typename... Indices, std::enable_if_t< std::conjunction_v< std::is_convertible< Indices, size_type >... >, int > = 0>
auto llama::View< TMapping, TBlobType, TAccessor >::operator() |
( |
Indices... |
indices | ) |
const -> decltype(auto)
|
|
inline |
template<typename TMapping , typename TBlobType , typename TAccessor = accessor::Default>
template<typename TView , typename TBoundRecordCoord , bool OwnView>