Fourier library: Operations in the Fourier domain
Error handling module

Classes

class  fourier::Exception
 Base class for exceptions. More...
 

Macros

#define FOURIER_Xassert(C, M, E)   if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); }
 Check an assertion and report by throwing an exception. More...
 
#define FOURIER_assert(C, M)   FOURIER_Xassert( C , M , fourier::Exception )
 Check an assertion and report by throwing an exception. More...
 
#define FOURIER_abort(M)   throw( fourier::Exception ( M , __FILE__, __LINE__ ))
 Abort and give a message. More...
 
#define FOURIER_report_assert(C, M, V)
 Check an assertion and report only. More...
 
#define FOURIER_nonfatal_assert(F, C, M, V)   if (F) { FOURIER_report_assert(C,M,V) } else { FOURIER_assert(C,M) }
 Macro to distinguish between fatal and non fatal assertions. More...
 

Functions

void fourier::report_violation (const char *message, const char *file, const int &line, const char *condition)
 report violation of assertion More...
 

Detailed Description