46 template <
class SETUP>
83 void*
erase(
long key,
const void* obj );
85 long erase( seq_type::iterator beg, seq_type::iterator end );
91 void setup(
void* seq,
void** rndm );
unsigned int CLID
Class ID definition.
All classes that their objects may be contained in an LHCb ObjectContainer (e.g.
KeyedObjectManager Class to manage keyed objects.
static CLID classID()
Access CLID for this type of container.
long insert(ObjectContainerBase *b, ContainedObject *c, void *o, long k)
Insert new object into container.
void onDirty() const
Callback when the container becomes dirty.
void * erase(long key, const void *obj)
Remove object from container (very inefficient if key is invalid)
void setup(void *seq, void **rndm)
Setup of the Map and the parent object.
virtual ~KeyedObjectManager()
Standard Destructor.
long erase(seq_type::iterator beg, seq_type::iterator end)
Remove object by sequential iterators.
void clearDirect()
Clear all direct access fields.
void * object(long key) const
Retrieve object identified by a key from the container.
KeyedObjectManager(KeyedObjectManager &&other)
KeyedObjectManager()
Standard Constructor.
void reserve(long size)
Reserve buffer space.
void clear()
Clear content of the vector.
long isDirect() const
Check if the container is dirty.
std::vector< void * > seq_type
long insert(ObjectContainerBase *b, ContainedObject *c, void *o, long *k)
Insert new object into container.
long insertDirect(ObjectContainerBase *b, ContainedObject *c, void *o, long k)
Insert element into direct access map.
ObjectContainerBase is the base class for Gaudi container classes.
KeyedObjectManager< vector > Vector
Forward declaration of specialized std::vector-like object manager.
long(* MANIPULATOR)(void *)
Object manipulator type definition.
KeyedObjectManager< hashmap > HashMap
Forward declaration of specialized std::hashmap-like object manager.
KeyedObjectManager< map > Map
Forward declaration of specialized std::map-like object manager.
KeyedObjectManager< array > Array
Forward declaration of specialized redirection array object manager.