FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Macros
fei_ErrMacros.hpp File Reference
#include "fei_iostream.hpp"
Include dependency graph for fei_ErrMacros.hpp:

Go to the source code of this file.

Macros

#define fei_file   "unknown_fei_file"
 
#define CHK_ERR(a)
 
#define ERReturn(a)
 
#define voidERReturn
 

Macro Definition Documentation

◆ fei_file

#define fei_file   "unknown_fei_file"

Definition at line 23 of file fei_ErrMacros.hpp.

◆ CHK_ERR

#define CHK_ERR (   a)
Value:
{ int fei_ErrorCode = a; \
if (fei_ErrorCode != 0) { \
fei::console_out() << " FEI ERROR, " << fei_file << ", line " \
<< __LINE__ << " " << fei_ErrorCode << FEI_ENDL; \
return(fei_ErrorCode); \
} }
#define fei_file
#define FEI_ENDL

Definition at line 26 of file fei_ErrMacros.hpp.

◆ ERReturn

#define ERReturn (   a)
Value:
{ fei::console_out() << " FEI ERROR, " << fei_file << ", line " \
<< __LINE__ << FEI_ENDL; \
return(-1); }
std::ostream & console_out()

Definition at line 37 of file fei_ErrMacros.hpp.

◆ voidERReturn

#define voidERReturn
Value:
{ fei::console_out() << " FEI ERROR, " << fei_file \
<< ", line " << __LINE__ << FEI_ENDL; \
return; }

Definition at line 45 of file fei_ErrMacros.hpp.