BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
BALL::SmartsMatcher::RecStructPool_ Class Reference

class which does the pool operations of the RecStructCore_ pool More...

#include <BALL/STRUCTURE/smartsMatcher.h>

Public Member Functions

 RecStructPool_ ()
 default constructors More...
 
virtual ~RecStructPool_ ()
 destructor More...
 
RecStructCore_getNextFree ()
 returns the a free RecStructCore_ of the pool (creates new ones if needed) More...
 
Position getLastPosition ()
 returns the position of the last RecStructCore_* from getNextFree() More...
 
void destroy (Position pos)
 frees the structure at position pos More...
 

Detailed Description

class which does the pool operations of the RecStructCore_ pool

Definition at line 153 of file smartsMatcher.h.

Constructor & Destructor Documentation

BALL::SmartsMatcher::RecStructPool_::RecStructPool_ ( )

default constructors

virtual BALL::SmartsMatcher::RecStructPool_::~RecStructPool_ ( )
virtual

destructor

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()

RecStructCore_* BALL::SmartsMatcher::RecStructPool_::getNextFree ( )

returns the a free RecStructCore_ of the pool (creates new ones if needed)