ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
xAODRootAccess
xAODRootAccess
tools
TDestructor.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: TDestructor.h 599851 2014-06-02 12:32:51Z krasznaa $
8
#ifndef XAODROOTACCESS_TOOLS_TDESTRUCTOR_H
9
#define XAODROOTACCESS_TOOLS_TDESTRUCTOR_H
10
11
namespace
xAOD
{
12
25
class
TVirtualDestructor
{
26
27
public
:
29
virtual
~TVirtualDestructor
() {}
30
32
virtual
void
destruct
(
void
* ptr )
const
= 0;
33
34
};
// class TVirtualDestructor
35
46
template
<
class
T >
47
class
TDestructor
:
public
TVirtualDestructor
{
48
49
public
:
51
virtual
void
destruct
(
void
* ptr )
const
;
52
53
};
// class TDestructor
54
55
}
// namespace xAOD
56
57
// Include the code's implementation:
58
#include "
TDestructor.icc
"
59
60
#endif
// XAODROOTACCESS_TOOLS_TDESTRUCTOR_H
TDestructor.icc
xAOD::TDestructor
Implementation of the destructor base class for a given type.
Definition
TDestructor.h:47
xAOD::TDestructor::destruct
virtual void destruct(void *ptr) const
Function that deletes an object of this type from memory.
xAOD::TVirtualDestructor
Base class for the templated destructor types.
Definition
TDestructor.h:25
xAOD::TVirtualDestructor::~TVirtualDestructor
virtual ~TVirtualDestructor()
Virtual destructor (just realising the pun...), to make vtable happy.
Definition
TDestructor.h:29
xAOD::TVirtualDestructor::destruct
virtual void destruct(void *ptr) const =0
Function that deletes an object of a given type from memory.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.17.0