ATLAS Offline Software
Public Member Functions | List of all members
xAOD::TVirtualDestructor Class Referenceabstract

Base class for the templated destructor types. More...

#include <TDestructor.h>

Inheritance diagram for xAOD::TVirtualDestructor:
Collaboration diagram for xAOD::TVirtualDestructor:

Public Member Functions

virtual ~TVirtualDestructor ()
 Virtual destructor (just realising the pun...), to make vtable happy. More...
 
virtual void destruct (void *ptr) const =0
 Function that deletes an object of a given type from memory. More...
 

Detailed Description

Base class for the templated destructor types.

When recording an object into the transient store that doesn't have a dictionary available, we still need a way of deleting this object correctly when the store is cleared. That is done by using an object of this type on the object's pointer.

Author
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h
Revision
599851
Date
2014-06-02 14:32:51 +0200 (Mon, 02 Jun 2014)

Definition at line 25 of file TDestructor.h.

Constructor & Destructor Documentation

◆ ~TVirtualDestructor()

virtual xAOD::TVirtualDestructor::~TVirtualDestructor ( )
inlinevirtual

Virtual destructor (just realising the pun...), to make vtable happy.

Definition at line 29 of file TDestructor.h.

29 {}

Member Function Documentation

◆ destruct()

virtual void xAOD::TVirtualDestructor::destruct ( void *  ptr) const
pure virtual

Function that deletes an object of a given type from memory.

Implemented in xAOD::TDestructor< T >.


The documentation for this class was generated from the following file: