Low-Level Abstraction of Memory Access
llama::mapping::ChangeType< ArrayExtents, RecordDim, InnerMapping, ReplacementMap > Struct Template Reference

#include <ChangeType.hpp>

+ Inheritance diagram for llama::mapping::ChangeType< ArrayExtents, RecordDim, InnerMapping, ReplacementMap >:
+ Collaboration diagram for llama::mapping::ChangeType< ArrayExtents, RecordDim, InnerMapping, ReplacementMap >:

Additional Inherited Members

- Public Types inherited from llama::mapping::Projection< ArrayExtents, RecordDim, InnerMapping, internal::MakeProjectionMap< RecordDim, ReplacementMap > >
using Inner = InnerMapping< ArrayExtents, internal::ReplaceTypesByProjectionResults< RecordDim, internal::MakeProjectionMap< RecordDim, ReplacementMap > > >
 
using ProjectionMap = internal::MakeProjectionMap< RecordDim, ReplacementMap >
 
using ArrayExtents = typename Inner::ArrayExtents
 
using RecordDim = RecordDim
 
- Public Member Functions inherited from llama::mapping::Projection< ArrayExtents, RecordDim, InnerMapping, internal::MakeProjectionMap< RecordDim, ReplacementMap > >
constexpr auto compute (ArrayIndex ai, RecordCoord< RecordCoords... > rc, BlobArray &blobs) const
 
constexpr auto blobNrAndOffset (ArrayIndex ai, RecordCoord< RecordCoords... > rc={}) const -> NrAndOffset< typename ArrayExtents::value_type >
 
- Static Public Member Functions inherited from llama::mapping::Projection< ArrayExtents, RecordDim, InnerMapping, internal::MakeProjectionMap< RecordDim, ReplacementMap > >
static constexpr auto isComputed (RecordCoord) -> bool
 
- Protected Types inherited from llama::mapping::Projection< ArrayExtents, RecordDim, InnerMapping, internal::MakeProjectionMap< RecordDim, ReplacementMap > >
using ArrayIndex = typename ArrayExtents::Index
 

Detailed Description

template<typename ArrayExtents, typename RecordDim, template< typename, typename > typename InnerMapping, typename ReplacementMap>
struct llama::mapping::ChangeType< ArrayExtents, RecordDim, InnerMapping, ReplacementMap >

Mapping that changes the type in the record domain for a different one in storage. Conversions happen during load and store.

Template Parameters
ReplacementMapA type list of binary type lists (a map) specifiying which type or the type at a RecordCoord (map key) to replace by which other type (mapped value).

Definition at line 59 of file ChangeType.hpp.


The documentation for this struct was generated from the following file: