|
Nebula
|
Go to the source code of this file.
Classes | |
| class | Ids::Id |
| This class implements some static helper functions to set high and low 32-bit integers, as well as a function to create a complete id from two of them. More... | |
Namespaces | |
| namespace | Ids |
| This simple Id pool implements a set of free and used consecutive integers. | |
Macros | |
| #define | ID_32_TYPE(x) |
| #define | ID_16_TYPE(x) |
| #define | ID_32_24_8_NAMED_TYPE(x, id32_name, id24_name, id8_name, combined_name) |
| #define | ID_32_24_8_TYPE(x) |
| #define | ID_24_8_24_8_NAMED_TYPE(x, id24_0_name, id8_0_name, id24_1_name, id8_1_name, combined0_name, combined1_name) |
| #define | ID_24_8_24_8_TYPE(x) |
| #define | ID_24_8_NAMED_TYPE(x, id24_name, id8_name, combined_name) |
| #define | ID_24_8_TYPE(x) |
Typedefs | |
| typedef uint64_t | Ids::Id64 |
| typedef uint32_t | Ids::Id32 |
| typedef uint32_t | Ids::Id24 |
| typedef uint16_t | Ids::Id16 |
| typedef uint8_t | Ids::Id8 |
Variables | |
| static constexpr Id64 | Ids::InvalidId64 = 0xFFFFFFFFFFFFFFFF |
| static constexpr Id32 | Ids::InvalidId32 = 0xFFFFFFFF |
| static constexpr Id24 | Ids::InvalidId24 = 0x00FFFFFF |
| static constexpr Id16 | Ids::InvalidId16 = 0xFFFF |
| static constexpr Id8 | Ids::InvalidId8 = 0xFF |
| #define ID_16_TYPE | ( | x | ) |
| #define ID_24_8_24_8_NAMED_TYPE | ( | x, | |
| id24_0_name, | |||
| id8_0_name, | |||
| id24_1_name, | |||
| id8_1_name, | |||
| combined0_name, | |||
| combined1_name ) |
| #define ID_24_8_24_8_TYPE | ( | x | ) |
| #define ID_24_8_NAMED_TYPE | ( | x, | |
| id24_name, | |||
| id8_name, | |||
| combined_name ) |
| #define ID_24_8_TYPE | ( | x | ) |
| #define ID_32_24_8_NAMED_TYPE | ( | x, | |
| id32_name, | |||
| id24_name, | |||
| id8_name, | |||
| combined_name ) |
| #define ID_32_24_8_TYPE | ( | x | ) |
| #define ID_32_TYPE | ( | x | ) |