Bonmin  1.7
BonMsgUtils.hpp
Go to the documentation of this file.
00001 #ifndef BonMsgUtils_H
00002 #define BonMsgUtils_H
00003 
00004 #ifdef ADD_MSG
00005 #error "Macro ADD_MSG already defined"    
00006 #endif    
00007 #define ADD_MSG(Id,Type,Level,MSG) addMessage(Id, CoinOneMessage( Type(Id), Level, MSG))
00008 
00009 namespace Bonmin{
00010   inline int std_m(int n){return 1 + n;}
00011   inline int warn_m(int n) {return  3000 + n;}
00012   inline int err_m(int n) {return n + 6000;}
00013 }
00014 #endif
00015