#include <collection.h>
Public Member Functions | |
Pool (int nptrs) | |
~Pool () | |
int | size () |
Ptr< Element > * | get () |
bool | put (Ptr< Element > *ptr) |
bool | check (char *msg) |
Public Attributes | |
int | mptrs |
int | nptrs |
Ptr< Element > * | hook |
Definition at line 414 of file collection.h.
Definition at line 425 of file collection.h.
References Ptr< Element >::element, Pool< Element >::hook, Pool< Element >::mptrs, Ptr< Element >::next, Pool< Element >::nptrs, Run::option, and Ptr< Element >::prev.
Definition at line 451 of file collection.h.
References Pool< Element >::hook, Pool< Element >::mptrs, and Pool< Element >::nptrs.
bool Pool< Element >::check | ( | char * | msg | ) | [inline] |
DDD
DDD
DDD
DDD
DDD
DDD
DDD
DDD
Definition at line 495 of file collection.h.
References Pool< Element >::hook, Pool< Element >::mptrs, Ptr< Element >::next, and Pool< Element >::nptrs.
Referenced by Container< Element >::checkPool().
DDD: probably not needed, but just to be on the safe side
Definition at line 457 of file collection.h.
References Pool< Element >::hook, Ptr< Element >::next, Pool< Element >::nptrs, and Ptr< Element >::prev.
Referenced by Container< Element >::append0(), and Container< Element >::insert0().
Definition at line 471 of file collection.h.
References Pool< Element >::hook, Pool< Element >::mptrs, Ptr< Element >::next, Pool< Element >::nptrs, and Ptr< Element >::prev.
Referenced by Container< Element >::remove0().
int Pool< Element >::size | ( | ) | [inline] |
Definition at line 419 of file collection.h.
Definition at line 416 of file collection.h.
Referenced by Pool< Element >::check(), Container< Element >::checkPool(), Pool< Element >::get(), Pool< Element >::Pool(), Pool< Element >::put(), and Pool< Element >::~Pool().
Definition at line 415 of file collection.h.
Referenced by Pool< Element >::check(), Pool< Element >::Pool(), Pool< Element >::put(), and Pool< Element >::~Pool().
Definition at line 415 of file collection.h.
Referenced by Pool< Element >::check(), Pool< Element >::get(), Pool< Element >::Pool(), Pool< Element >::put(), Pool< Molecule >::size(), and Pool< Element >::~Pool().