CMS 3D CMS Logo

LoggedErrorsSummary.h

Go to the documentation of this file.
00001 #ifndef MessageLogger_LoggedErrorsSummaryy_h
00002 #define MessageLogger_LoggedErrorsSummaryEntry_h
00003 
00004 // ----------------------------------------------------------------------
00005 //
00006 // LoggedErrorsSummary.h - Methods to obtain summary of a warning or error
00007 //                  message issued in an event.  
00008 //
00009 //   Usage:  
00010 //      EnableLoggedErrorsSummary();
00011 //      then per event:
00012 //      some_code_that_might_issue_messages();
00013 //      if (edm::FreshErrorsExist()) {
00014 //        std::vector(edm::ErrorSummaryEntry es = edm::LoggedErrorsSummary();
00015 //        package_as_product_in_the_event (es);
00016 //      }
00017 //
00018 //
00019 // 25-Aug-2008 mf       Created file.
00020 //
00021 // ----------------------------------------------------------------------
00022 
00023 #include "FWCore/MessageLogger/interface/ErrorSummaryEntry.h"
00024 
00025 #include <vector>
00026 
00027 namespace edm {       
00028 
00029 bool EnableLoggedErrorsSummary();
00030 bool DisableLoggedErrorsSummary();
00031 bool FreshErrorsExist();
00032 std::vector<ErrorSummaryEntry> LoggedErrorsSummary();
00033 
00034 }        // end of namespace edm
00035 
00036 
00037 #endif  // MessageLogger_ErrorSummaryEntry_h
00038 

Generated on Tue Jun 9 17:36:17 2009 for CMSSW by  doxygen 1.5.4