class which does the pool operations of the RecStructCore_ pool
More...
#include <BALL/STRUCTURE/smartsMatcher.h>
class which does the pool operations of the RecStructCore_ pool
Definition at line 157 of file smartsMatcher.h.
BALL::SmartsMatcher::RecStructPool_::RecStructPool_ |
( |
| ) |
|
virtual BALL::SmartsMatcher::RecStructPool_::~RecStructPool_ |
( |
| ) |
|
|
virtual |
BALL::SmartsMatcher::RecStructPool_::RecStructPool_ |
( |
const RecStructPool_ & |
| ) |
|
|
private |
copy constructor (declared private as it does not make sense to use it)
void BALL::SmartsMatcher::RecStructPool_::destroy |
( |
Position |
pos | ) |
|
frees the structure at position pos
Position BALL::SmartsMatcher::RecStructPool_::getLastPosition |
( |
| ) |
|
returns the position of the last RecStructCore_* from getNextFree()
returns the a free RecStructCore_ of the pool (creates new ones if needed)
assignment operator (declared private as it does not make sense to use it)
void BALL::SmartsMatcher::RecStructPool_::resize_ |
( |
| ) |
|
|
private |
does the resize operation of the pool (creates new ones, but never release them!)
std::vector<Position> BALL::SmartsMatcher::RecStructPool_::free_list_ |
|
private |
the list of the free to use structures, represented as positions in the rec_struct_pool_ vector
Definition at line 191 of file smartsMatcher.h.
Position BALL::SmartsMatcher::RecStructPool_::last_position_ |
|
private |
std::vector<RecStructCore_*> BALL::SmartsMatcher::RecStructPool_::rec_struct_pool_ |
|
private |