MOAB: Mesh Oriented datABase  (version 5.4.1)
MsqError.hpp File Reference
#include "Mesquite.hpp"
#include <iosfwd>
#include <list>
#include <string>
+ Include dependency graph for MsqError.hpp:

Go to the source code of this file.

Classes

class  MBMesquite::MsqError
 Used to hold the error state and return it to the application. More...
class  MBMesquite::MsqError::Trace
 One line of stack trace data. More...
class  MBMesquite::MsqError::Setter
class  MBMesquite::MsqPrintError
 Utility class for printing error data - used in Mesquite tests. More...

Namespaces

namespace  MBMesquite
 

Implements the NonSmoothDescent class member functions.


Defines

#define MSQ_CHKERR(err)   ( ( err ).error() && ( err ).push( MSQ_FUNCTION, __FILE__, __LINE__ ) )
 Mesquite's Error Checking macro.
#define MSQ_ERRRTN(err)   if( MSQ_CHKERR( err ) ) return
 If passed error is true, return from a void function.
#define MSQ_ERRZERO(err)   if( MSQ_CHKERR( err ) ) return 0
 Return zero/NULL on error.
#define MSQ_ERRFALSE(err)   if( MSQ_CHKERR( err ) ) return false
 Return false on error.
#define MSQ_SETERR(err)   MBMesquite::MsqError::setter( err, MSQ_FUNCTION, __FILE__, __LINE__ ).set
 Macro to set error - use err.clear() to clear.

Functions

std::ostream & MBMesquite::operator<< (std::ostream &, const MsqError &)
 Print message and stack trace.
std::ostream & MBMesquite::operator<< (std::ostream &, const MsqError::Trace &)
 Print MsqError::Trace.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines