Defines | Functions
opennurbs_error.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ON_ASSERT(cond)   ON_Assert(cond,__FILE__,__LINE__, #cond " is false")
#define ON_ASSERT_OR_RETURN(cond, returncode)   do{if (!(cond)) {ON_Assert(false,__FILE__,__LINE__, #cond " is false");return(returncode);}}while(0)
#define ON_ERROR(msg)   ON_Error(__FILE__,__LINE__,msg)
#define ON_WARNING(msg)   ON_Warning(__FILE__,__LINE__,msg)

Functions

ON_DECL void ON_Assert (int, const char *, int, const char *,...)
ON_DECL void ON_AssertEx (int, const char *, int, const char *, const char *,...)
ON_DECL void ON_EnableDebugErrorMessage (int bEnableDebugErrorMessage)
ON_DECL void ON_Error (const char *, int, const char *,...)
ON_DECL void ON_ErrorEx (const char *, int, const char *, const char *,...)
ON_BEGIN_EXTERNC ON_DECL void ON_ErrorMessage (int, const char *)
ON_DECL int ON_GetDebugErrorMessage (void)
ON_DECL int ON_GetErrorCount (void)
ON_DECL int ON_GetMathErrorCount (void)
ON_DECL int ON_GetWarningCount (void)
ON_DECL void ON_MathError (const char *, const char *, const char *)
ON_DECL void ON_Warning (const char *, int, const char *,...)
ON_DECL void ON_WarningEx (const char *, int, const char *, const char *,...)

Define Documentation

#define ON_ASSERT (   cond)    ON_Assert(cond,__FILE__,__LINE__, #cond " is false")

Definition at line 35 of file opennurbs_error.h.

#define ON_ASSERT_OR_RETURN (   cond,
  returncode 
)    do{if (!(cond)) {ON_Assert(false,__FILE__,__LINE__, #cond " is false");return(returncode);}}while(0)

Definition at line 36 of file opennurbs_error.h.

#define ON_ERROR (   msg)    ON_Error(__FILE__,__LINE__,msg)

Definition at line 33 of file opennurbs_error.h.

#define ON_WARNING (   msg)    ON_Warning(__FILE__,__LINE__,msg)

Definition at line 34 of file opennurbs_error.h.


Function Documentation

ON_DECL void ON_Assert ( int  ,
const char *  ,
int  ,
const char *  ,
  ... 
)

Definition at line 272 of file opennurbs_error.cpp.

ON_DECL void ON_AssertEx ( int  ,
const char *  ,
int  ,
const char *  ,
const char *  ,
  ... 
)

Definition at line 298 of file opennurbs_error.cpp.

ON_DECL void ON_EnableDebugErrorMessage ( int  bEnableDebugErrorMessage)

Definition at line 61 of file opennurbs_error.cpp.

ON_DECL void ON_Error ( const char *  ,
int  ,
const char *  ,
  ... 
)

Definition at line 183 of file opennurbs_error.cpp.

ON_DECL void ON_ErrorEx ( const char *  ,
int  ,
const char *  ,
const char *  ,
  ... 
)

Definition at line 205 of file opennurbs_error.cpp.

ON_BEGIN_EXTERNC ON_DECL void ON_ErrorMessage ( int  ,
const char *   
)

Definition at line 20 of file opennurbs_error_message.cpp.

Definition at line 55 of file opennurbs_error.cpp.

ON_DECL int ON_GetErrorCount ( void  )

Definition at line 39 of file opennurbs_error.cpp.

ON_DECL int ON_GetMathErrorCount ( void  )

Definition at line 50 of file opennurbs_error.cpp.

ON_DECL int ON_GetWarningCount ( void  )

Definition at line 45 of file opennurbs_error.cpp.

ON_DECL void ON_MathError ( const char *  ,
const char *  ,
const char *   
)

Definition at line 74 of file opennurbs_error.cpp.

ON_DECL void ON_Warning ( const char *  ,
int  ,
const char *  ,
  ... 
)

Definition at line 227 of file opennurbs_error.cpp.

ON_DECL void ON_WarningEx ( const char *  ,
int  ,
const char *  ,
const char *  ,
  ... 
)

Definition at line 250 of file opennurbs_error.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:46