 |
OpenMS
2.4.0
|
Go to the documentation of this file. 38 #include <OpenMS/config.h> 59 #ifdef OPENMS_ASSERTIONS 66 #define OPENMS_PRECONDITION(condition, message) \ 69 Exception::Precondition e(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, # condition); \ 70 if (std::strcmp(message, "") != 0) \ 72 ::std::string tmp(e.getMessage()); \ 74 tmp += ::std::string(message); \ 85 #define OPENMS_POSTCONDITION(condition, message) \ 88 Exception::Postcondition e(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, # condition); \ 89 if (std::strcmp(message, "") != 0) \ 91 std::string tmp(e.getMessage()); \ 93 tmp += std::string(message); \ 106 #define OPENMS_PRECONDITION(condition, message) 113 #define OPENMS_POSTCONDITION(condition, message)