queue/IdTable: add API docs
This commit is contained in:
parent
321553d5f9
commit
e7b9e8de14
@ -21,8 +21,16 @@ class IdTable {
|
||||
*/
|
||||
unsigned initialized = 1;
|
||||
|
||||
/**
|
||||
* An incrementing counter helping GenerateId() to generate
|
||||
* the next id.
|
||||
*/
|
||||
unsigned next = 1;
|
||||
|
||||
/**
|
||||
* A lookup table: the index is the id number and the value is
|
||||
* the position; -1 means this id is unassigned.
|
||||
*/
|
||||
int *const data = new int[size];
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user