nany
Public Member Functions | Static Public Member Functions | List of all members
ny::CLID Class Referencefinal

Public Member Functions

 CLID ()=default
 Default constructor.
 
 CLID (uint32_t atomid, uint32_t lvid)
 Default constructor with initial value.
 
 CLID (const CLID &)=default
 Copy constructor.
 
bool isVoid () const
 Get if the clid is valid (aka != 0)
 
void reclass (uint32_t lvid)
 update the class id from lvid only
 
void reclass (uint32_t atomid, uint32_t lvid)
 update the class id from {atom id, lvid}
 
void reclassToVoid ()
 update to 'void'
 
uint32_t atomid () const
 Get the atom id of the clid.
 
uint32_t lvid () const
 Get the lvid part.
 
size_t hash () const
 hash of the clid
 
CLIDoperator= (const CLID &)=default
 Assignment operator.
 
bool operator== (const CLID &) const
 Equal operator.
 
bool operator!= (const CLID &) const
 Not equal operator.
 
bool operator< (const CLID &) const
 Comparison operator.
 

Static Public Member Functions

static CLID AtomMapID (uint32_t atomid)
 Create a CLID for an atom id.
 

The documentation for this class was generated from the following files: