5#ifndef __Identifier32_h__
6#define __Identifier32_h__
59 void show (std::ostream & out = std::cout)
const;
60 void show (MsgStream & out)
const;
63 explicit operator std::string()
const {
return getString();}
std::ostream & operator<<(std::ostream &out, const Identifier32 &c)
void clear()
Reset to invalid state.
bool is_valid() const
Check if id is in a valid state.
void show(std::ostream &out=std::cout) const
Print out in hex form.
Identifier32(value_type value)
Constructor from value_type (unsigned int)
auto operator<=>(const Identifier32 &) const =default
Identifier32 & operator&=(value_type value)
value_type get_compact() const
Get the compact id.
Identifier32 & operator|=(value_type value)
Bitwise operations.
std::string getString() const
Provide a string form of the identifier - hexadecimal.
static constexpr value_type m_maxValue