xAOD::TDestructor< T > Class Template Reference

#include <TDestructor.h>

Inheritance diagram for xAOD::TDestructor< T >:
xAOD::TVirtualDestructor

List of all members.

Public Member Functions

virtual void destruct (void *ptr) const
 Function that deletes an object of this type from memory.

Detailed Description

template<class T>
class xAOD::TDestructor< T >

Implementation of the destructor base class for a given type

This template implementation is used to delete objects of any given type from memory, for which we don't have a dictionary.

Author:
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
599851
Date
2014-06-02 14:32:51 +0200 (Mon, 02 Jun 2014)

Member Function Documentation

template<class T >
void xAOD::TDestructor< T >::destruct ( void *  ptr  )  const [inline, virtual]

Function that deletes an object of this type from memory.

The function just assumes that the pointer given to it is a valid pointer of type T, and deletes the object behind the pointer accordingly.

Parameters:
ptr A pointer to an object of type T

Implements xAOD::TVirtualDestructor.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1