QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_error.cpp File Reference
#include "opennurbs.h"

Macros

#define MAX_MSG_LENGTH   2048
 

Functions

void ON_Assert (int bCondition, const char *sFileName, int line_number, const char *sFormat,...)
 
void ON_EnableDebugBreak (int bEnableDebugBreak)
 
void ON_EnableDebugBreakOnFirstError (int bEnableDebugBreak)
 
void ON_EnableDebugErrorMessage (int bEnableDebugErrorMessage)
 
void ON_Error (const char *sFileName, int line_number, const char *sFormat,...)
 
static bool ON_FormatMessage (const char *, va_list)
 
int ON_GetDebugBreak (void)
 
int ON_GetDebugBreakOnFirstError (void)
 
int ON_GetDebugErrorMessage (void)
 
int ON_GetErrorCount (void)
 
int ON_GetMathErrorCount (void)
 
int ON_GetWarningCount (void)
 
void ON_MathError (const char *sModuleName, const char *sErrorType, const char *sFunctionName)
 
void ON_Warning (const char *sFileName, int line_number, const char *sFormat,...)
 

Variables

static int ON_DEBUG_BREAK_ON_FIRST_ERROR_OPTION = 0
 
static int ON_DEBUG_BREAK_OPTION = 0
 
static int ON_DEBUG_ERROR_MESSAGE_OPTION = 0
 
static int ON_ERROR_COUNT = 0
 
static int ON_MATH_ERROR_COUNT = 0
 
static int ON_WARNING_COUNT = 0
 
static char sMessage [MAX_MSG_LENGTH]
 

Macro Definition Documentation

◆ MAX_MSG_LENGTH

#define MAX_MSG_LENGTH   2048

Function Documentation

◆ ON_Assert()

void ON_Assert ( int bCondition,
const char * sFileName,
int line_number,
const char * sFormat,
... )

◆ ON_EnableDebugBreak()

void ON_EnableDebugBreak ( int bEnableDebugBreak)

◆ ON_EnableDebugBreakOnFirstError()

void ON_EnableDebugBreakOnFirstError ( int bEnableDebugBreak)

◆ ON_EnableDebugErrorMessage()

void ON_EnableDebugErrorMessage ( int bEnableDebugErrorMessage)

◆ ON_Error()

void ON_Error ( const char * sFileName,
int line_number,
const char * sFormat,
... )

◆ ON_FormatMessage()

static bool ON_FormatMessage ( const char * format,
va_list args )
static

◆ ON_GetDebugBreak()

int ON_GetDebugBreak ( void )

◆ ON_GetDebugBreakOnFirstError()

int ON_GetDebugBreakOnFirstError ( void )

◆ ON_GetDebugErrorMessage()

int ON_GetDebugErrorMessage ( void )

◆ ON_GetErrorCount()

int ON_GetErrorCount ( void )

◆ ON_GetMathErrorCount()

int ON_GetMathErrorCount ( void )

◆ ON_GetWarningCount()

int ON_GetWarningCount ( void )

◆ ON_MathError()

void ON_MathError ( const char * sModuleName,
const char * sErrorType,
const char * sFunctionName )

◆ ON_Warning()

void ON_Warning ( const char * sFileName,
int line_number,
const char * sFormat,
... )

Variable Documentation

◆ ON_DEBUG_BREAK_ON_FIRST_ERROR_OPTION

int ON_DEBUG_BREAK_ON_FIRST_ERROR_OPTION = 0
static

◆ ON_DEBUG_BREAK_OPTION

int ON_DEBUG_BREAK_OPTION = 0
static

◆ ON_DEBUG_ERROR_MESSAGE_OPTION

int ON_DEBUG_ERROR_MESSAGE_OPTION = 0
static

◆ ON_ERROR_COUNT

int ON_ERROR_COUNT = 0
static

◆ ON_MATH_ERROR_COUNT

int ON_MATH_ERROR_COUNT = 0
static

◆ ON_WARNING_COUNT

int ON_WARNING_COUNT = 0
static

◆ sMessage

char sMessage[MAX_MSG_LENGTH]
static