Bonmin  1.8.8
BonMsgUtils.hpp
Go to the documentation of this file.
1 #ifndef BonMsgUtils_H
2 #define BonMsgUtils_H
3 
4 #ifdef ADD_MSG
5 #error "Macro ADD_MSG already defined"
6 #endif
7 #define ADD_MSG(Id,Type,Level,MSG) addMessage(Id, CoinOneMessage( Type(Id), Level, MSG))
8 
9 namespace Bonmin{
10  inline int std_m(int n){return 1 + n;}
11  inline int warn_m(int n) {return 3000 + n;}
12  inline int err_m(int n) {return n + 6000;}
13 }
14 #endif
15 
int err_m(int n)
Definition: BonMsgUtils.hpp:12
int std_m(int n)
Definition: BonMsgUtils.hpp:10
int warn_m(int n)
Definition: BonMsgUtils.hpp:11