The Gaudi Framework
v26r3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
( 0 !=
m_parent
) {
6
m_parent
->
remove
(
this
);
7
}
8
}
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, but the object itself will remain alive).
ContainedObject::m_parent
ObjectContainerBase * m_parent
Pointer to the parent.
Definition:
ContainedObject.h:72
GaudiKernel
src
Lib
ContainedObject.cpp
Generated on Tue Jul 21 2015 12:23:33 for The Gaudi Framework by
1.8.9.1