|
HDK
|
#include <UNI_ID.h>
Inheritance diagram for UNI_ID:Public Types | |
| using | NumericType = exint |
| Numerical representation of the ID. More... | |
Public Member Functions | |
| constexpr | UNI_ID (NumericType id_number=INVALID_ID) |
| Explicit constructor. More... | |
| constexpr void | clear () |
| Resets the ID to an invalid value. More... | |
| constexpr NumericType | numericValue () const |
| Returns the numeric value of this ID. More... | |
| constexpr exint | exintValue () const |
| Returns an exint value of this ID. More... | |
| operator exint () const | |
| constexpr bool | isValid () const |
| Returns true if this ID is valid; false otherwise. More... | |
| constexpr | operator bool () const |
| Returns true if this ID is valid; false otherwise. More... | |
| constexpr bool | operator== (const UNI_ID &other) const |
| Comparison operators. More... | |
| constexpr bool | operator!= (const UNI_ID &other) const |
| Comparison operators. More... | |
| constexpr bool | operator< (const UNI_ID &other) const |
| Remaining comparison operators, used for sorting, etc. More... | |
| constexpr bool | operator<= (const UNI_ID &other) const |
| Remaining comparison operators, used for sorting, etc. More... | |
| constexpr bool | operator> (const UNI_ID &other) const |
| Remaining comparison operators, used for sorting, etc. More... | |
| constexpr bool | operator>= (const UNI_ID &other) const |
| Remaining comparison operators, used for sorting, etc. More... | |
Static Public Attributes | |
| static constexpr NumericType | INVALID_ID = -1 |
Friends | |
| size_t | hash_value (const UNI_ID &id) |
| Hash function for use of UNI_ID as a key in the UT_Map class. More... | |
An ID for referencing elements within the UNI library, such as graphs, but also local graph's elements, like nodes, wires, etc.
| using UNI_ID::NumericType = exint |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
static |