CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IllegalParameters.h
Go to the documentation of this file.
1 #ifndef FWCore_PArameterSet_IllegalParameters_h
2 #define FWCore_PArameterSet_IllegalParameters_h
3 
4 #include <atomic>
5 
6 namespace edm {
7 
8  class EventProcessor;
9  class SubProcess;
11 
13  private:
14  static std::atomic<bool> throwAnException_;
15  static bool throwAnException() { return throwAnException_; }
16  static void setThrowAnException(bool v) { throwAnException_ = v; }
17 
18  friend class EventProcessor;
19  friend class SubProcess;
21  };
22 }
23 
24 #endif
static bool throwAnException()
static void setThrowAnException(bool v)
static std::atomic< bool > throwAnException_