From e7b9e8de145b5ced7af62bc458de85ff7906c31c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Nov 2023 08:42:02 +0100 Subject: [PATCH] queue/IdTable: add API docs --- src/queue/IdTable.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/queue/IdTable.hxx b/src/queue/IdTable.hxx index e18667294..eca86b131 100644 --- a/src/queue/IdTable.hxx +++ b/src/queue/IdTable.hxx @@ -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: