![]() |
Low-Level Abstraction of Memory Access
|
#include <Null.hpp>
Inheritance diagram for llama::mapping::Null< TArrayExtents, TRecordDim >:
Collaboration diagram for llama::mapping::Null< TArrayExtents, TRecordDim >:Public Member Functions | |
| constexpr auto | blobSize (size_type) const -> size_type |
| template<std::size_t... RecordCoords, typename Blobs > | |
| constexpr auto | compute (typename Base::ArrayIndex, RecordCoord< RecordCoords... >, Blobs &) const |
Public Member Functions inherited from llama::mapping::MappingBase< TArrayExtents, TRecordDim > | |
| constexpr | MappingBase ()=default |
| constexpr | MappingBase (ArrayExtents extents, RecordDim={}) |
| constexpr auto | extents () const -> ArrayExtents |
Static Public Member Functions | |
| template<std::size_t... RecordCoords> | |
| static constexpr auto | isComputed (RecordCoord< RecordCoords... >) |
Static Public Attributes | |
| static constexpr std::size_t | blobCount = 0 |
Additional Inherited Members | |
Public Types inherited from llama::mapping::MappingBase< TArrayExtents, TRecordDim > | |
| using | ArrayExtents = TArrayExtents |
| using | RecordDim = TRecordDim |
Protected Types inherited from llama::mapping::MappingBase< TArrayExtents, TRecordDim > | |
| using | ArrayIndex = typename ArrayExtents::Index |
| using | size_type = typename ArrayExtents::value_type |
The Null mappings maps all elements to nothing. Writing data through a reference obtained from the Null mapping discards the value. Reading through such a reference returns a default constructed object.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
staticconstexpr |