1 #ifndef GAUDIKERNEL_CONTAINEDOBJECT_H 2 #define GAUDIKERNEL_CONTAINEDOBJECT_H 21 static const CLID CLID_ContainedObject = 190;
57 virtual long index()
const {
return m_parent ? m_parent->index(
this ) : -1; }
72 #endif // GAUDIKERNEL_CONTAINEDOBJECT_H
ObjectList< ContainedObject > ContainedObjectList
virtual StreamBuffer & serialize(StreamBuffer &s)
Serialize the object for reading.
The stream buffer is a small object collecting object data.
ObjectVector< ContainedObject > ContainedObjectVector
friend std::ostream & operator<<(std::ostream &s, const ContainedObject &obj)
Output operator (ASCII)
ObjectVector is one of the basic Gaudi container classes capable of being registered in Data Stores...
virtual const CLID & clID() const
Retrieve pointer to class identifier.
virtual long index() const
Distance in the parent container.
ContainedObject(const ContainedObject &)
Copy constructor – do NOT copy the parent reference...
virtual StreamBuffer & serialize(StreamBuffer &s) const
Serialize the object for writing.
static const CLID & classID()
const ObjectContainerBase * parent() const
Access to parent object.
ObjectList is one of the basic Gaudi container classes capable of being registered in Data Stores...
unsigned int CLID
Class ID definition.
static const CLID & classID()
All classes that their objects may be contained in an LHCb ObjectContainer (e.g.
void setParent(ObjectContainerBase *value)
Update parent member.
ObjectContainerBase is the base class for Gaudi container classes.
virtual std::ostream & fillStream(std::ostream &s) const
Fill the output stream (ASCII)