Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
Classes | Macros
pool.h File Reference
#include <ilog/iostream.h>
#include <ilog/memory.h>

Classes

class  IlPoolOf(Char)
 A predefined memory pool that manages pointers to char. More...
 
class  IlPoolOf(IlUInt)
 A memory pool of arrays of IlUInts. More...
 
class  IlPoolOf(NAME)
 A generic class that handles memory pools. More...
 
class  IlPoolOf(Pointer)
 A predefined memory pool that manages pointers to void. More...
 

Macros

#define IlDeclarePoolOf(NAME, TYPE)
 Declares a new pool. More...
 
#define IlDefinePoolOf(NAME)
 Defines a new pool. More...
 

Detailed Description

Library: ilog
Declaration of the IlPool class.

Macro Definition Documentation

◆ IlDeclarePoolOf

#define IlDeclarePoolOf (   NAME,
  TYPE 
)

Declares a new pool.

This macro declares a new class called IlPoolOf(NAME). The call to IlDeclarePoolOf usually appears in a header file (although you might want to create a private pool, locally in a C++ source file).

The definition of this class must be done in a C++ source file by calling the macro IlDefinePoolOf(NAME).

Parameters
NAMEThe identifier of this pool.
TYPEThe type of the objects that are handled by this pool.
See also
IlDefinePoolOf.

◆ IlDefinePoolOf

#define IlDefinePoolOf (   NAME)

Defines a new pool.

This macro defines the class IlPoolOf(NAME) that must have been declared, using a call to IlDeclarePoolOf(NAME, TYPE).

See also
IlDeclarePoolOf.