Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-22 06:27:23

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 ParameterSetDescription;
0010 
0011   class IllegalParameters {
0012   private:
0013     static std::atomic<bool> throwAnException_;
0014     static bool throwAnException() { return throwAnException_; }
0015     static void setThrowAnException(bool v) { throwAnException_ = v; }
0016 
0017     friend class EventProcessor;
0018     friend class ParameterSetDescription;
0019   };
0020 }  // namespace edm
0021 
0022 #endif