The Gaudi Framework
v32r1 (f65d50dc)
ContainedObject.cpp
Go to the documentation of this file.
1
#include "
GaudiKernel/ContainedObject.h
"
2
3
ContainedObject::~ContainedObject
() {
4
// If the object is contained in a container, remove it from there
5
if
(
m_parent
)
m_parent
->
remove
(
this
);
6
}
ContainedObject::m_parent
ObjectContainerBase * m_parent
Pointer to the parent.
Definition:
ContainedObject.h:68
ContainedObject::~ContainedObject
virtual ~ContainedObject()
Destructor.
Definition:
ContainedObject.cpp:3
ObjectContainerBase::remove
virtual long remove(ContainedObject *value)=0
Release object from the container (the pointer will be removed from the container,...
ContainedObject.h
GaudiKernel
src
Lib
ContainedObject.cpp
Generated on Fri Jul 19 2019 00:10:23 for The Gaudi Framework by
1.8.15