NCBI C++ ToolKit
|
Search Toolkit Book for rapidjson::MemoryPoolAllocator::ChunkHeader
Chunk header for perpending to each chunk. More...
Public Attributes | |
size_t | capacity |
Capacity of the chunk in bytes (excluding the header itself). More... | |
size_t | size |
Current size of allocated memory in bytes. More... | |
ChunkHeader * | next |
Next chunk in the linked list. More... | |
Chunk header for perpending to each chunk.
Chunks are stored as a singly linked list.
Definition at line 256 of file allocators.h.
size_t rapidjson::MemoryPoolAllocator< BaseAllocator >::ChunkHeader::capacity |
Capacity of the chunk in bytes (excluding the header itself).
Definition at line 257 of file allocators.h.
Referenced by rapidjson::MemoryPoolAllocator< BaseAllocator >::MemoryPoolAllocator().
ChunkHeader* rapidjson::MemoryPoolAllocator< BaseAllocator >::ChunkHeader::next |
Next chunk in the linked list.
Definition at line 259 of file allocators.h.
Referenced by rapidjson::MemoryPoolAllocator< BaseAllocator >::Capacity(), and rapidjson::MemoryPoolAllocator< BaseAllocator >::Size().
size_t rapidjson::MemoryPoolAllocator< BaseAllocator >::ChunkHeader::size |
Current size of allocated memory in bytes.
Definition at line 258 of file allocators.h.