Class
MemoryManager
Saves and manages data using IDs.
MemoryManager | |||||||||||||||||
![]() | ![]() | ||||||||||||||||
|
Include Headers
seqan/seeds.h
Parameters
The value type, that is the type of the items/characters stored in the manager. Remarks: Use Value to get the value type for a given class. | |
A positive integer that specifies the number of values in each allocated block. Remarks: Size has to be a power of 2, e.g., 1024. |
Specializations
Faster than the pointer version but needs data size of at least size_t. | |
Datasize of at least 4 bytes. Not suitable for many blocks. |
Functions
btains a new id from the id manager. | |
Releases a given id so it can be redistributed later on. |
SeqAn - Sequence Analysis Library - www.seqan.de