OpenClonk
C4IDListChunk Class Reference

#include <C4IDList.h>

Inheritance diagram for C4IDListChunk:
[legend]
Collaboration diagram for C4IDListChunk:
[legend]

Public Member Functions

 C4IDListChunk ()
 
 ~C4IDListChunk ()
 
void Clear ()
 

Public Attributes

C4ID id [C4IDListChunkSize]
 
int32_t Count [C4IDListChunkSize]
 
C4IDListChunkpNext
 

Detailed Description

Definition at line 30 of file C4IDList.h.

Constructor & Destructor Documentation

◆ C4IDListChunk()

C4IDListChunk::C4IDListChunk ( )

Definition at line 70 of file stub-handle.cpp.

70 {}

Referenced by C4IDList::IncreaseIDCount().

Here is the caller graph for this function:

◆ ~C4IDListChunk()

C4IDListChunk::~C4IDListChunk ( )

Definition at line 71 of file stub-handle.cpp.

71 {}

Member Function Documentation

◆ Clear()

void C4IDListChunk::Clear ( )

Definition at line 40 of file C4IDList.cpp.

41 {
42  // Kill all chunks
43  C4IDListChunk *pChunk = pNext;
44  C4IDListChunk *pChunk2;
45  while (pChunk)
46  {
47  pChunk2 = pChunk->pNext;
48  pChunk->pNext = nullptr;
49  delete pChunk;
50  pChunk = pChunk2;
51  }
52  pNext = nullptr;
53 }
C4IDListChunk * pNext
Definition: C4IDList.h:36

References pNext.

Member Data Documentation

◆ Count

◆ id

◆ pNext


The documentation for this class was generated from the following files: