Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

TNL::ClassChunker< T > Class Template Reference

Templatized data chunker class with proper construction and destruction of its elements. More...

#include <tnlDataChunker.h>

Inheritance diagram for TNL::ClassChunker< T >:

TNL::DataChunker List of all members.

Public Methods

T * alloc ()
 Allocates and properly constructs in place a new element.

void free (T *elem)
 Properly destructs and frees an element allocated with the alloc method.

void freeBlocks ()
 free all pages currently allocated in the DataChunker


Detailed Description

template<class T>
class TNL::ClassChunker< T >

Templatized data chunker class with proper construction and destruction of its elements.

DataChunker just allocates space. This subclass actually constructs/destructs the elements. This class is appropriate for more complex classes.

Definition at line 96 of file tnlDataChunker.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 18 16:03:37 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18