Go to the documentation of this file. 23 const char* nm =
typeid(t).name();
24 while ( *nm >=
'0' && *nm <=
'9' ) nm++;
31 const char* fnm,
int linenr);
34 # define pErrMsg(msg) \ 35 OD::programmerErrMsg(msg,::className(*this),__FILE__,__LINE__) 38 #define pErrMsgOnce(msg) \ 40 mDefineStaticLocalObject( bool, __message_shown__, = false ); \ 41 if ( !__message_shown__ ) \ 43 __message_shown__ = true; \ 49 # define pFreeFnErrMsg(msg) \ 50 OD::programmerErrMsg( msg, __func__, __FILE__, __LINE__ ) 51 void programmerErrMsg(const char *msg, const char *cname, const char *fnm, int linenr)
const char * className(const T &t)
Definition: errmsg.h:21
#define mGlobal(module)
Definition: commondefs.h:160
void ErrMsg(const char *, bool progr=false)
OpendTect.
Definition: commontypes.h:25
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B. V. 2017