Defines
macros.hpp File Reference

Macros for ecl exception handling. More...

#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.

Defines

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

Detailed Description

Macros for ecl exception handling.

Date:
March, 2011

Definition in file macros.hpp.


Define Documentation

Definition at line 84 of file macros.hpp.



ecl_exceptions
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:11:54