Arcane  v3.16.8.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence de la structure MemoryPoolAllocator< BaseAllocator >::ChunkHeader

Chunk header for perpending to each chunk. Plus de détails...

+ Graphe de collaboration de MemoryPoolAllocator< BaseAllocator >::ChunkHeader:

Attributs publics

size_t capacity
 Capacity of the chunk in bytes (excluding the header itself).
 
size_t size
 Current size of allocated memory in bytes.
 
ChunkHeadernext
 Next chunk in the linked list.
 

Description détaillée

template<typename BaseAllocator = CrtAllocator>
struct MemoryPoolAllocator< BaseAllocator >::ChunkHeader

Chunk header for perpending to each chunk.

Chunks are stored as a singly linked list.

Définition à la ligne 135 du fichier allocators.h.

Documentation des données membres

◆ capacity

template<typename BaseAllocator = CrtAllocator>
size_t MemoryPoolAllocator< BaseAllocator >::ChunkHeader::capacity

Capacity of the chunk in bytes (excluding the header itself).

Définition à la ligne 136 du fichier allocators.h.

◆ next

template<typename BaseAllocator = CrtAllocator>
ChunkHeader* MemoryPoolAllocator< BaseAllocator >::ChunkHeader::next

Next chunk in the linked list.

Définition à la ligne 138 du fichier allocators.h.

Référencé par MemoryPoolAllocator< BaseAllocator >::Clear().

◆ size

template<typename BaseAllocator = CrtAllocator>
size_t MemoryPoolAllocator< BaseAllocator >::ChunkHeader::size

Current size of allocated memory in bytes.

Définition à la ligne 137 du fichier allocators.h.


La documentation de cette structure a été générée à partir du fichier suivant :