Struct LiteralID

Struct Documentation

struct LiteralID

An LiteralID identifies a Literal of a given type (e.g. xsd:integer, xsd:string, etc.) within a given NodeStorage.

LiteralIDs are available in the range [0,(2^42-1)].

Public Types

using underlying_type = uint64_t

Public Functions

constexpr LiteralID() noexcept = default
inline explicit constexpr LiteralID(underlying_type const underlying) noexcept

Constructor

Parameters:

underlying – literal ID. MUST be smaller than 2^42. Bounds are not checked.

inline constexpr LiteralID &operator++() noexcept
inline constexpr underlying_type to_underlying() const noexcept
inline explicit operator underlying_type() const noexcept
inline constexpr LiteralID operator++(int) noexcept
inline constexpr LiteralID &operator--() noexcept
inline constexpr LiteralID operator--(int) noexcept
constexpr std::strong_ordering operator<=>(LiteralID const&) const noexcept = default

Public Static Attributes

static constexpr size_t width = 42