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

◆ WarningSentry()

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

Definition at line 13 of file RootHandlers.h.

References personalPlayback::level, and m_handler.

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

◆ ~WarningSentry()

edm::RootHandlers::WarningSentry::~WarningSentry ( )
inline

Definition at line 16 of file RootHandlers.h.

References m_handler.

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

Member Data Documentation

◆ m_handler

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

Definition at line 17 of file RootHandlers.h.

Referenced by WarningSentry(), and ~WarningSentry().