The Gaudi Framework  v29r0 (ff2e7097)
ContainedObject.cpp
Go to the documentation of this file.
2 
4 {
5  // If the object is contained in a container, remove it from there
6  if ( m_parent ) m_parent->remove( this );
7 }
ObjectContainerBase * m_parent
Pointer to the parent.
virtual ~ContainedObject()
Destructor.
virtual long remove(ContainedObject *value)=0
Release object from the container (the pointer will be removed from the container, but the object itself will remain alive).