3 #include <yuni/core/string.h> 20 CLID(uint32_t atomid, uint32_t
lvid);
30 void reclass(uint32_t atomid, uint32_t lvid);
37 uint32_t
lvid()
const;
68 std::ostream& operator << (std::ostream& out,
const ny::CLID& rhs);
size_t hash() const
hash of the clid
Definition: clid.hxx:59
uint32_t atomid() const
Get the atom id of the clid.
Definition: clid.hxx:64
static CLID AtomMapID(uint32_t atomid)
Create a CLID for an atom id.
Definition: clid.hxx:9
bool isVoid() const
Get if the clid is valid (aka != 0)
Definition: clid.hxx:21
CLID()=default
Default constructor.
bool operator!=(const CLID &) const
Not equal operator.
Definition: clid.hxx:49
bool operator==(const CLID &) const
Equal operator.
Definition: clid.hxx:44
void reclass(uint32_t lvid)
update the class id from lvid only
Definition: clid.hxx:26
void reclassToVoid()
update to 'void'
Definition: clid.hxx:39
CLID & operator=(const CLID &)=default
Assignment operator.
bool operator<(const CLID &) const
Comparison operator.
Definition: clid.hxx:54
uint32_t lvid() const
Get the lvid part.
Definition: clid.hxx:69