class which does the pool operations of the RecStructCore_ pool
More...
#include <BALL/STRUCTURE/smartsMatcher.h>
Private Member Functions |
| void | resize_ () |
| | does the resize operation of the pool (creates new ones, but never release them!)
|
| | RecStructPool_ (const RecStructPool_ &) |
| | copy constructor (declared private as it does not make sense to use it)
|
| RecStructPool_ & | operator= (const RecStructPool_ &) |
| | assignment operator (declared private as it does not make sense to use it)
|
Detailed Description
class which does the pool operations of the RecStructCore_ pool
Definition at line 155 of file smartsMatcher.h.
Constructor & Destructor Documentation
| 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)
Member Function Documentation
| 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!)
Member Data Documentation
| 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 189 of file smartsMatcher.h.
| Position BALL::SmartsMatcher::RecStructPool_::last_position_ |
|
private |
| std::vector<RecStructCore_*> BALL::SmartsMatcher::RecStructPool_::rec_struct_pool_ |
|
private |