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.

Referenced by C4IDList::C4IDList(), Clear(), C4IDList::DeleteItem(), C4IDList::IncreaseIDCount(), and C4IDList::SetCount().

70 {}
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.

References C4IDList::C4IDList(), C4IDListChunk(), and pNext.

Referenced by C4IDList::C4IDList().

41 {
42  // kill all chunks
43  C4IDListChunk *pChunk=pNext,*pChunk2;
44  while (pChunk)
45  {
46  pChunk2=pChunk->pNext; pChunk->pNext=nullptr;
47  delete pChunk; pChunk=pChunk2;
48  }
49  pNext=nullptr;
50 }
C4IDListChunk * pNext
Definition: C4IDList.h:36
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ Count

◆ id

◆ pNext


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