#include <TDestructorRegistry.h>
Classes | |
| class | TDestructorHolder |
| Type used internally to clean up memory at the end of the process. | |
Public Member Functions | |
| const TVirtualDestructor * | get (const std::type_info &ti) const |
| Get the destructor for a given type. | |
| template<class T > | |
| void | add () |
| Add a new destructor object. | |
Static Public Member Functions | |
| static TDestructorRegistry & | instance () |
| Function accessing the singleton instance of this type. | |
Application-wide registry of destructor objects
This registry is used to keep track of how to destruct objects that are kept in the transient store, and don't have a ROOT dictionary available for them.
| void xAOD::TDestructorRegistry::add | ( | ) | [inline] |
Add a new destructor object.
This function is used by the code to teach the registry about new types that we want to be able to delete from a type agnostic piece of code later on.
1.6.1