include/basix/exception.hpp File Reference

#include <basix/syntactic.hpp>

Go to the source code of this file.

Classes

Namespaces

Defines

Functions




Detailed Description

Definition in file exception.hpp.


Define Documentation

#define ASSERT ( expr,
msg   )     if (!(expr)) ERROR (msg);

Definition at line 81 of file exception.hpp.

Referenced by socket_port_rep::accept(), binary_helper< vector< C, V > >::access(), mmx::add_indentation(), mmx::append(), composed_routine_rep::apply(), identity_routine_rep::apply(), quintary_routine_rep< void, S1, S2, S3, S4, S5 >::apply(), quintary_routine_rep< D, S1, S2, S3, S4, S5 >::apply(), quaternary_routine_rep< void, S1, S2, S3, S4 >::apply(), quaternary_routine_rep< D, S1, S2, S3, S4 >::apply(), ternary_routine_rep< void, S1, S2, S3 >::apply(), ternary_routine_rep< D, S1, S2, S3 >::apply(), binary_routine_rep< void, S1, S2 >::apply(), binary_routine_rep< D, S1, S2 >::apply(), unary_routine_rep< void, S1 >::apply(), unary_routine_rep< D, S1 >::apply(), nullary_routine_rep< void >::apply(), mmx::as_generic(), mmx::big(), mmx::big_dicho(), mmx::binary_assemble_generic(), mmx::binary_map(), mmx::binary_read_generic(), mmx::cAr(), mmx::car(), mmx::cDr(), mmx::cdr(), mmx::change_precision(), composed_routine_rep::composed_routine_rep(), mmx::composite_port(), mmx::connect_to_server(), mmx::cons(), mmx::cpp_demangle(), sqrt_op::def(), div_op::def(), mmx::dot(), mmx::eval_system(), mmx::exec(), mmx::exponent(), int_floor_sqrt_helper< I >::floor_sqrt(), mmx::foreach(), generic::generic(), mmx::generic_as_literal(), mmx::generic_as_string(), mmx::generic_as_vector(), mmx::get_file_source(), mmx::get_interactive_source(), heap_rep< C >::Get_top(), mmx::identity_routine(), mmx::init_system(), mmx::insert(), mmx::inside_append(), mmx::list_map(), mmx::list_map_2(), mmx::list_map_n(), mmx::magnitude(), mmx::map(), mmx::mmc_load(), mmx::new_type_id(), vector< C, V >::operator<<(), string::operator>>(), list< cleaner >::operator[](), heap< C >::operator[](), chain< C >::operator[](), mmx::precision(), mmx::prefix_dir(), heap_rep< C >::Pull(), mmx::range(), input_output_string_port_rep::read(), input_string_port_rep::read(), composite_port_rep::read(), unsigned_int_reconstruct_helper< U >::reconstruct(), int_reconstruct_helper< I >::reconstruct(), mmx::restore_evaluator(), heap_rep< C >::Set_top(), mmx::store_interactive_number(), mmx::store_interactive_source(), mmx::string_as_charcode(), mmx::texmacs_to_scheme(), mmx::threads_set_number(), mmx::tokenize(), mmx::trace_pull(), mmx::trace_push(), mmx::trace_top(), mmx::unary_set(), mmx::user_dir(), mmx::vector_map(), mmx::vector_map_2(), mmx::vector_map_n(), mmx::WRAP_WRAPPED_IMPL(), and void_binary_helper< table< C, T, V > >::write().

#define ERROR ( msg   )     throw mmx::error_message (__FILE__ ":" TOSTRING(__LINE__) ": " msg);
#define STRINGIFY (  )     #x

Definition at line 77 of file exception.hpp.

#define TOSTRING (  )     STRINGIFY(x)

Definition at line 78 of file exception.hpp.

#define VERIFY ( expr,
msg   )     ASSERT(expr,msg)
#define XVERIFY ( expr,
msg,
 ) 
Value:
if (!(expr)) mmerr << "failed for instance " << x << "\n";      \
  ASSERT(expr,msg)

Definition at line 90 of file exception.hpp.


Generated on 6 Dec 2012 for basix by  doxygen 1.6.1