DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::detail::DestroyHandles< M > Class Template Reference

map Functor to destroy handles and delete the cached object More...

#include <Handle.h>

Public Member Functions

 DestroyHandles (M &obj)
 Initializing constructor. More...
 
void operator() (const std::pair< typename M::key_type, typename M::mapped_type > &arg) const
 Action operator. More...
 

Public Attributes

M & object
 Container reference. More...
 

Detailed Description

template<typename M>
class dd4hep::detail::DestroyHandles< M >

map Functor to destroy handles and delete the cached object

Definition at line 194 of file Handle.h.

Constructor & Destructor Documentation

◆ DestroyHandles()

template<typename M >
dd4hep::detail::DestroyHandles< M >::DestroyHandles ( M &  obj)
inline

Initializing constructor.

Definition at line 199 of file Handle.h.

Member Function Documentation

◆ operator()()

template<typename M >
void dd4hep::detail::DestroyHandles< M >::operator() ( const std::pair< typename M::key_type, typename M::mapped_type > &  arg) const
inline

Action operator.

Definition at line 201 of file Handle.h.

Member Data Documentation

◆ object

template<typename M >
M& dd4hep::detail::DestroyHandles< M >::object

Container reference.

Definition at line 197 of file Handle.h.


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