run_time_functions.hpp
Go to the documentation of this file.
00001 
00010 /*****************************************************************************
00011 ** Ifdefs
00012 *****************************************************************************/
00013 
00014 #ifndef ECL_ERRORS_ERROR_FUNCTIONS_HPP_
00015 #define ECL_ERRORS_ERROR_FUNCTIONS_HPP_
00016 
00017 /*****************************************************************************
00018 ** Includes
00019 *****************************************************************************/
00020 
00021 #include <cstdlib>
00022 #include <ecl/config/macros.hpp>
00023 #include "handlers.hpp"
00024 
00025 /*****************************************************************************
00026 ** Namespaces
00027 *****************************************************************************/
00028 
00029 /*****************************************************************************
00030 ** Functions [run_time_assert]
00031 *****************************************************************************/
00032 
00033 #if defined(NDEBUG) || defined(ECL_NDEBUG)
00034     #define ecl_run_time_assert(req,loc,msg) ((void)0)
00035 #else
00036 
00051     ecl_errors_PUBLIC void ecl_run_time_assert ( bool requirement, const char* location, const char* msg);
00067     ecl_errors_PUBLIC void ecl_run_time_assert ( bool requirement, const char* location, ecl::ErrorFlag type);
00068 #endif
00069 
00070 /*****************************************************************************
00071 ** Functions [abort]
00072 *****************************************************************************/
00073 
00084 ecl_errors_PUBLIC void ecl_run_time_abort ( const char* location, const char* msg = "Abort procedure called.");
00095 ecl_errors_PUBLIC void ecl_run_time_abort ( const char* location,  ecl::ErrorFlag type );
00096 
00097 #endif /* ECL_ERRORS_ERROR_FUNCTIONS_HPP_*/


ecl_errors
Author(s): Daniel Stonier
autogenerated on Sun Oct 5 2014 23:35:26