Macros
macros.hpp File Reference

Macros for ecl exception handling. More...

#include <ecl/config/macros.hpp>
#include <ecl/config/ecl.hpp>
Include dependency graph for macros.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ecl_assert_throw(expression, exception)   if ( !(expression) ) { throw exception; }
 Debug mode throw with a logical condition check. More...
 
#define ecl_catch(exception)   catch(exception)
 The catch part of a try-catch macro matching ecl_throw calls. More...
 
#define ecl_debug_catch(exception)   catch(exception)
 The catch part of a try-catch macro matching ecl_debug_throw/ecl_assert_throw calls. More...
 
#define ecl_debug_throw(exception)   throw exception;
 Debug mode exception throw. More...
 
#define ecl_debug_try   try
 The try part of a try-catch macro matching ecl_debug_throw/ecl_assert_throw calls. More...
 
#define ecl_exceptions_LOCAL
 
#define ecl_exceptions_PUBLIC
 
#define ECL_HAS_EXCEPTIONS
 
#define ecl_throw(exception)   throw exception;
 Standard ecl throw exception throw. More...
 
#define ecl_try   try
 The try part of a try-catch macro matching ecl_throw calls. More...
 

Detailed Description

Macros for ecl exception handling.

Date
March, 2011

Definition in file macros.hpp.

Macro Definition Documentation

◆ ecl_exceptions_LOCAL

#define ecl_exceptions_LOCAL

Definition at line 38 of file macros.hpp.

◆ ecl_exceptions_PUBLIC

#define ecl_exceptions_PUBLIC

Definition at line 37 of file macros.hpp.

◆ ECL_HAS_EXCEPTIONS

#define ECL_HAS_EXCEPTIONS

Definition at line 91 of file macros.hpp.



ecl_exceptions
Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:04