#include <SetClassParsing.h>
Public Member Functions | |
SetClassParsing (bool enable) | |
~SetClassParsing () | |
Private Attributes | |
int | previous_ |
Static Private Attributes | |
static std::atomic< bool > | active_ = false |
An instance of this class can be used to temporarily enable or disable ROOT class parsing. The destructor restores the state.
Because this class modifies the global state of ROOT, it must not be used in concurrent context.
Definition at line 17 of file SetClassParsing.h.
|
inline |
Definition at line 19 of file SetClassParsing.h.
References active_, cms::cuda::assert(), DiMuonV_cfg::enable, and previous_.
|
inline |
|
staticprivate |
Definition at line 32 of file SetClassParsing.h.
Referenced by SetClassParsing(), and ~SetClassParsing().
|
private |
Definition at line 31 of file SetClassParsing.h.
Referenced by SetClassParsing(), and ~SetClassParsing().