libGDF
PointerPool< T > Class Template Reference
+ Inheritance diagram for PointerPool< T >:

Public Member Functions

 PointerPool (T type_template, size_t num_el=1000)
 Constructor.
virtual ~PointerPool ()
 Destructor.
void expand (size_t num_el)
 Add new elements to pool.
T * pop ()
 Get a free element from the pool.
void push (T *ptr)
 Get a free element from the pool and initialize with src.

Detailed Description

template<typename T>
class PointerPool< T >

Definition at line 26 of file pointerpool.h.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables Friends