ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace xAOD {
12
26
27 public:
30
32 virtual void destruct( void* ptr ) const = 0;
33
34 }; // class TVirtualDestructor
35
46 template< class T >
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
Implementation of the destructor base class for a given type.
Definition TDestructor.h:47
virtual void destruct(void *ptr) const
Function that deletes an object of this type from memory.
Base class for the templated destructor types.
Definition TDestructor.h:25
virtual ~TVirtualDestructor()
Virtual destructor (just realising the pun...), to make vtable happy.
Definition TDestructor.h:29
virtual void destruct(void *ptr) const =0
Function that deletes an object of a given type from memory.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.