#include "MED_WrapperDef.hxx"
#include "utilities.h"
#include <iostream>
#include <sstream>
#include <string>
#include <string.h>
#include <stdexcept>
Go to the source code of this file.
◆ ADDMSG
#define ADDMSG |
( |
|
msg | ) |
if(SALOME::VerbosityActivated()) std::cout<<msg; else (void)0 |
◆ BEGMSG
◆ EXCEPTION
#define EXCEPTION |
( |
|
TYPE, |
|
|
|
MSG |
|
) |
| |
Value: {\
std::ostringstream aStream;\
aStream<<__FILE__<<
"["<<__LINE__<<
"]::"<<
MSG;\
throw TYPE(aStream.str().c_str());\
}
#define MSG(msg)
Definition: MED_Utilities.hxx:49
◆ INITMSG
◆ INITMSGA
#define INITMSGA |
( |
|
lev, |
|
|
|
msg |
|
) |
| if(SALOME::VerbosityActivated()) { MED::PrefixPrinter aPrefixPrinter_##lev(true); BEGMSG(msg); } else (void)0 |
◆ MSG
#define MSG |
( |
|
msg | ) |
if(SALOME::VerbosityActivated()) std::cout<<MED::PrefixPrinter::GetPrefix()<<msg<<" ("<<__FILE__<<" ["<<__LINE__<<"])\n"; else (void)0 |