ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib::record< T, Numbering, FieldOrExts > Class Template Referenceexport
Inheritance diagram for lib::record< T, Numbering, FieldOrExts >:
[legend]
Collaboration diagram for lib::record< T, Numbering, FieldOrExts >:
[legend]

Public Types

using mmio_ref_type = mmio_record_ref<T, Numbering, FieldOrExts...>
using numbering = Numbering
using ref_type = record_ref<T, Numbering, FieldOrExts...>
using storage_type = T

Public Member Functions

constexpr auto bits () const noexcept -> const bit_field< T, Numbering > &
constexpr auto bits () noexcept -> bit_field< T, Numbering > &
template<usize I>
constexpr auto get () const noexcept
template<fixed_string Path>
constexpr auto get () const noexcept
template<usize I>
constexpr auto get () noexcept
template<fixed_string Path>
constexpr auto get () noexcept
constexpr auto mmio_ref () noexcept -> mmio_ref_type
constexpr operator T () const noexcept
template<fixed_string Path>
constexpr auto operator[] (field_tag< Path >) const noexcept
template<fixed_string Path>
constexpr auto operator[] (field_tag< Path >) noexcept
template<class... Bindings>
requires ((requires { Bindings::name; }) && ...)
constexpr record (Bindings &&... bindings) noexcept
constexpr record (T v) noexcept
constexpr auto ref () noexcept -> ref_type
template<usize I, class ValueType>
constexpr decltype(auto) set (this auto &&self, ValueType &&v) noexcept
template<fixed_string Path, class ValueType>
constexpr decltype(auto) set (this auto &&self, ValueType &&v) noexcept
constexpr auto underlying () const noexcept -> T

Static Public Member Functions

template<fixed_string... FieldNames, class... Values>
static constexpr auto make (Values &&... vals) noexcept -> record

Static Public Attributes

static constexpr usize extent = storage_traits<T>::total_bits
static constexpr usize field_count = std::tuple_size_v<FieldTuple>

Friends

constexpr auto operator<=> (const record &, const record &) noexcept=default
constexpr auto operator== (const record &, const record &) noexcept -> bool=default

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