CGAL 4.5.1 - STL Extensions for CGAL
|
enum | CGAL::Failure_behaviour { CGAL::ABORT, CGAL::EXIT, CGAL::EXIT_WITH_SUCCESS, CGAL::CONTINUE, CGAL::THROW_EXCEPTION } |
typedef void(* | CGAL::Failure_function )(const char *type, const char *expression, const char *file, int line, const char *explanation) |
Failure_function | CGAL::set_error_handler (Failure_function handler) |
Failure_function | CGAL::set_warning_handler (Failure_function handler) |
Failure_behaviour | CGAL::set_error_behaviour (Failure_behaviour eb) |
Failure_behaviour | CGAL::set_warning_behaviour (Failure_behaviour eb) |
typedef void(* CGAL::Failure_function)(const char *type, const char *expression, const char *file, int line, const char *explanation) |
type | is a string that contains one of the words precondition, postcondition, assertion or warning. |
expression | contains the expression that was violated. |
file,line | contain the place where the check was made. |
explanation | contains an explanation of what was checked. It can be NULL , in which case the expression is thought to be descriptive enough. |
#include <CGAL/assertions_behaviour.h>