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.

13  : m_handler(iHandler) {
14  m_handler->ignoreWarnings_(level);
15  };

References personalPlayback::level, and m_handler.

◆ ~WarningSentry()

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

Definition at line 16 of file RootHandlers.h.

16 { m_handler->enableWarnings_(); }

References m_handler.

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().

personalPlayback.level
level
Definition: personalPlayback.py:22
edm::RootHandlers::WarningSentry::m_handler
edm::propagate_const< RootHandlers * > m_handler
Definition: RootHandlers.h:17