Everett
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
everett::registry_traits< R > Struct Template Reference

#include <registry.h>

Public Types

using registry_type = R
 

Static Public Attributes

static constexpr std::size_t sort_count = registry_detail::info<R>::count
 
static constexpr profile_unit unit = registry_detail::info<R>::mode.value_or(profile_unit::byte)
 
static constexpr auto fixed_value_bits = registry_detail::info<R>::width
 
static constexpr auto value_width
 
static constexpr bool fixed_width = value_width.has_value()
 

Member Typedef Documentation

◆ registry_type

template<class R >
using everett::registry_traits< R >::registry_type = R

Member Data Documentation

◆ fixed_value_bits

template<class R >
constexpr auto everett::registry_traits< R >::fixed_value_bits = registry_detail::info<R>::width
staticconstexpr

◆ fixed_width

template<class R >
constexpr bool everett::registry_traits< R >::fixed_width = value_width.has_value()
staticconstexpr

◆ sort_count

template<class R >
constexpr std::size_t everett::registry_traits< R >::sort_count = registry_detail::info<R>::count
staticconstexpr

◆ unit

template<class R >
constexpr profile_unit everett::registry_traits< R >::unit = registry_detail::info<R>::mode.value_or(profile_unit::byte)
staticconstexpr

◆ value_width

template<class R >
constexpr auto everett::registry_traits< R >::value_width
staticconstexpr
Initial value:
std::optional<std::uint64_t>(*fixed_value_bits >> (unit == profile_unit::byte ? 3 : 0)) : std::nullopt
static constexpr profile_unit unit
Definition registry.h:222
static constexpr auto fixed_value_bits
Definition registry.h:223

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