MOAB: Mesh Oriented datABase  (version 5.4.1)
ErrorHandler.cpp File Reference
#include "moab/ErrorHandler.hpp"
#include "ErrorOutput.hpp"
#include <cstdlib>
#include <cassert>
#include <unistd.h>
+ Include dependency graph for ErrorHandler.cpp:

Go to the source code of this file.

Namespaces

namespace  moab
 

Class representing axis-aligned bounding box.


Functions

void moab::MBErrorHandler_Init ()
 Initialize MOAB error handler (e.g. create a utility object for printing error output)
void moab::MBErrorHandler_Finalize ()
 Finalize MOAB error handler (e.g. delete the utility object for printing error output)
bool moab::MBErrorHandler_Initialized ()
 Indicates whether MBErrorHandler_Init has been called.
void moab::MBErrorHandler_GetLastError (std::string &error)
 Get information about the last error.
void moab::MBTraceBackErrorHandler (int line, const char *func, const char *file, const char *dir, const char *err_msg, ErrorType err_type)
ErrorCode moab::MBError (int line, const char *func, const char *file, const char *dir, ErrorCode err_code, const char *err_msg, ErrorType err_type)
 Routine that is called to create a new error or handle an existing one.

Variables

static ErrorOutput * moab::errorOutput = NULL
static std::string moab::lastError = "No error"
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines