CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edm::RootHandlers::WarningSentry Struct Reference

Public Member Functions

 WarningSentry (RootHandlers *iHandler, SeverityLevel level)
 
 ~WarningSentry ()
 

Public Attributes

edm::propagate_const< RootHandlers * > m_handler
 

Detailed Description

Definition at line 12 of file RootHandlers.h.

Constructor & Destructor Documentation

edm::RootHandlers::WarningSentry::WarningSentry ( RootHandlers iHandler,
SeverityLevel  level 
)
inline

Definition at line 13 of file RootHandlers.h.

13  : m_handler(iHandler) {
14  m_handler->ignoreWarnings_(level);
15  };
edm::propagate_const< RootHandlers * > m_handler
Definition: RootHandlers.h:17
edm::RootHandlers::WarningSentry::~WarningSentry ( )
inline

Definition at line 16 of file RootHandlers.h.

16 { m_handler->enableWarnings_(); }
edm::propagate_const< RootHandlers * > m_handler
Definition: RootHandlers.h:17

Member Data Documentation

edm::propagate_const<RootHandlers*> edm::RootHandlers::WarningSentry::m_handler

Definition at line 17 of file RootHandlers.h.