2 #ifndef UTIL_LCWARNING_H
3 #define UTIL_LCWARNING_H 1
31 void registerWarning(
const std::string&
id,
const std::string& txt,
int max=10 ) ;
38 LCWarning( std::ostream& outstream=std::cerr );
45 struct _warning_cfg_struct{
51 std::map< std::string, _warning_cfg_struct > _warning_cfg ;
52 std::map< std::string, _warning_cfg_struct > :: iterator _warning_cfg_it ;
53 std::ostream& _outstream ;
void printWarning(const std::string &id)
print the warning text associated to the given id
Definition: LCWarning.cc:117
void registerWarning(const std::string &id, const std::string &txt, int max=10)
register a new warning
Definition: LCWarning.cc:102
Utility class to show warnings in LCIO.
Definition: LCWarning.h:20