12[[nodiscard]]
constexpr uint64_t
parameter_hash(std::string_view name)
noexcept
14 uint64_t hash = 14695981039346656037ULL;
15 for (
unsigned char character : name) {
17 hash *= 1099511628211ULL;
27 [[nodiscard]]
constexpr bool matches(std::string_view candidate)
const noexcept
constexpr uint64_t parameter_hash(std::string_view name) noexcept
Hash a parameter name once when installing a mapping.
constexpr ParameterKey parameter_key(std::string_view name) noexcept
MappingMode
How one source maps to a network's elements.
@ ONE_TO_ONE
Source elements correspond to network elements.
@ BROADCAST
One source value applies to every network element.
constexpr bool matches(std::string_view candidate) const noexcept
A cached hash paired with its original name for collision-safe matching.