![]() |
|
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.
| size_t rapidjson::MemoryPoolAllocator< BaseAllocator >::ChunkHeader::capacity |
Capacity of the chunk in bytes (excluding the header itself).
Referenced by rapidjson::MemoryPoolAllocator< BaseAllocator >::AddChunk(), rapidjson::MemoryPoolAllocator< BaseAllocator >::Malloc(), and rapidjson::MemoryPoolAllocator< BaseAllocator >::MemoryPoolAllocator().
| ChunkHeader* rapidjson::MemoryPoolAllocator< BaseAllocator >::ChunkHeader::next |
Next chunk in the linked list.
Referenced by rapidjson::MemoryPoolAllocator< BaseAllocator >::AddChunk(), rapidjson::MemoryPoolAllocator< BaseAllocator >::Clear(), and rapidjson::MemoryPoolAllocator< BaseAllocator >::MemoryPoolAllocator().
| size_t rapidjson::MemoryPoolAllocator< BaseAllocator >::ChunkHeader::size |
Current size of allocated memory in bytes.
Referenced by rapidjson::MemoryPoolAllocator< BaseAllocator >::AddChunk(), rapidjson::MemoryPoolAllocator< BaseAllocator >::Malloc(), rapidjson::MemoryPoolAllocator< BaseAllocator >::MemoryPoolAllocator(), and rapidjson::MemoryPoolAllocator< BaseAllocator >::Realloc().