BazisLib::UniqueIdPool Class Reference
#include <uidpool.h>
List of all members.
Detailed Description
The
UniqueIdPool class allows maintains a list of IDs allowing clients to allocate/release some of them. If you want to assign a locally unique ID to any newly created object, consider using this class. It has constant running time for both allocation and freeing operations.
Member Typedef Documentation
Constructor & Destructor Documentation
| BazisLib::UniqueIdPool::UniqueIdPool |
( |
unsigned |
MaxIDCount |
) |
[inline] |
| BazisLib::UniqueIdPool::~UniqueIdPool |
( |
|
) |
[inline] |
Member Function Documentation
| _type BazisLib::UniqueIdPool::AllocateID |
( |
|
) |
[inline] |
| void BazisLib::UniqueIdPool::ReleaseID |
( |
_type |
ID |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: