![]() |
Low-Level Abstraction of Memory Access
|
#include <BitPackedInt.hpp>
Public Types | |
using | LinearizeArrayIndexFunctor = TLinearizeArrayIndexFunctor |
using | StoredIntegral = TStoredIntegral |
![]() | |
using | ArrayExtents = TArrayExtents |
using | RecordDim = TRecordDim |
Public Member Functions | |
constexpr auto | bits () const -> size_type |
template<typename B = Bits, std::enable_if_t< isConstant< B >, int > = 0> | |
constexpr | BitPackedIntCommon (TArrayExtents extents={}, Bits bits={}, TRecordDim={}) |
template<typename B = Bits, std::enable_if_t<!isConstant< B >, int > = 0> | |
constexpr | BitPackedIntCommon (TArrayExtents extents, Bits bits, 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... >) |
Protected Types | |
using | Base = MappingBase< TArrayExtents, TRecordDim > |
using | VHBits = llama::internal::BoxedValue< Bits > |
using | size_type = typename TArrayExtents::value_type |
template<typename T > | |
using | IsAllowedFieldType = mp_or< std::is_integral< T >, std::is_enum< T > > |
template<typename T > | |
using | IsFieldTypeSmallerOrEqualStorageIntegral = mp_bool< sizeof(T)<=sizeof(StoredIntegral)> |
![]() | |
using | ArrayIndex = typename ArrayExtents::Index |
using | size_type = typename ArrayExtents::value_type |
Additional Inherited Members | |
![]() | |
BoxedValue ()=default | |
BoxedValue (Bits value) | |
constexpr auto | value () const |
Definition at line 242 of file BitPackedInt.hpp.
|
protected |
Definition at line 257 of file BitPackedInt.hpp.
|
protected |
Definition at line 262 of file BitPackedInt.hpp.
|
protected |
Definition at line 269 of file BitPackedInt.hpp.
using llama::mapping::internal::BitPackedIntCommon< TArrayExtents, TRecordDim, Bits, SignBit, TLinearizeArrayIndexFunctor, TStoredIntegral >::LinearizeArrayIndexFunctor = TLinearizeArrayIndexFunctor |
Definition at line 246 of file BitPackedInt.hpp.
|
protected |
Definition at line 259 of file BitPackedInt.hpp.
using llama::mapping::internal::BitPackedIntCommon< TArrayExtents, TRecordDim, Bits, SignBit, TLinearizeArrayIndexFunctor, TStoredIntegral >::StoredIntegral = TStoredIntegral |
Definition at line 247 of file BitPackedInt.hpp.
|
protected |
Definition at line 258 of file BitPackedInt.hpp.
|
inlineexplicitconstexpr |
Definition at line 283 of file BitPackedInt.hpp.
|
inlineexplicitconstexpr |
Definition at line 307 of file BitPackedInt.hpp.
|
inlineconstexpr |
Definition at line 277 of file BitPackedInt.hpp.
|
inlinestaticconstexpr |
Definition at line 340 of file BitPackedInt.hpp.