All classes that their objects may be contained in an LHCb ObjectContainer (e.g.
DataObject()
Standard Constructor.
virtual size_type numberOfObjects() const =0
Number of objects in the container.
~ObjectContainerBase() override=default
virtual ContainedObject * containedObject(long dist)=0
ObjectContainerBase()=default
Constructor.
virtual long index(const ContainedObject *obj) const =0
Distance of a given object from the beginning of its container.
virtual long remove(ContainedObject *value)=0
Release object from the container (the pointer will be removed from the container,...
size_t size_type
size_type, to conform the STL container interface
virtual long add(ContainedObject *pObject)=0
Virtual functions (forwards to the concrete container definitions) Add an object to the container.
ObjectContainerBase(ObjectContainerBase &&)=default
virtual const ContainedObject * containedObject(long dist) const =0
Pointer to an object of a given distance.
ObjectContainerBase & operator=(ObjectContainerBase &&)=default