OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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 ( )

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

Referenced by C4IDList::IncreaseIDCount().

70 {}

Here is the caller graph for this function:

C4IDListChunk::~C4IDListChunk ( )

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

71 {}

Member Function Documentation

void C4IDListChunk::Clear ( )

Definition at line 40 of file C4IDList.cpp.

References pNext.

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

Member Data Documentation


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