|
libGDF
|
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. | |
Definition at line 26 of file pointerpool.h.