23 #ifndef MED_Utilities_HeaderFile
24 #define MED_Utilities_HeaderFile
27 #include "utilities.h"
45 static std::
string GetPrefix();
49 #define MSG(msg) if(SALOME::VerbosityActivated()) std::cout<<MED::PrefixPrinter::GetPrefix()<<msg<<" ("<<__FILE__<<" ["<<__LINE__<<"])\n"; else (void)0
50 #define BEGMSG(msg) if(SALOME::VerbosityActivated()) std::cout<<MED::PrefixPrinter::GetPrefix()<<msg; else (void)0
51 #define INITMSGA(lev,msg) if(SALOME::VerbosityActivated()) { MED::PrefixPrinter aPrefixPrinter_##lev(true); BEGMSG(msg); } else (void)0
52 #define INITMSG(msg) INITMSGA(,msg)
53 #define ADDMSG(msg) if(SALOME::VerbosityActivated()) std::cout<<msg; else (void)0
57 #define EXCEPTION(TYPE, MSG) {\
58 std::ostringstream aStream;\
59 aStream<<__FILE__<<"["<<__LINE__<<"]::"<<MSG;\
60 throw TYPE(aStream.str().c_str());\
#define MEDWRAPPER_EXPORT
Definition: MED_WrapperDef.hxx:33
Definition: MED_Utilities.hxx:38
bool myIsActive
Definition: MED_Utilities.hxx:40
static int myCounter
Definition: MED_Utilities.hxx:39
Definition: MED_Algorithm.cxx:28