File indexing completed on 2024-04-06 12:12:51
0001 #ifndef FWCore_PArameterSet_IllegalParameters_h
0002 #define FWCore_PArameterSet_IllegalParameters_h
0003
0004 #include <atomic>
0005
0006 namespace edm {
0007
0008 class EventProcessor;
0009 class SubProcess;
0010 class ParameterSetDescription;
0011
0012 class IllegalParameters {
0013 private:
0014 static std::atomic<bool> throwAnException_;
0015 static bool throwAnException() { return throwAnException_; }
0016 static void setThrowAnException(bool v) { throwAnException_ = v; }
0017
0018 friend class EventProcessor;
0019 friend class SubProcess;
0020 friend class ParameterSetDescription;
0021 };
0022 }
0023
0024 #endif