Defines | Functions | Variables
opennurbs_error.cpp File Reference
#include "pcl/surface/3rdparty/opennurbs/opennurbs.h"
Include dependency graph for opennurbs_error.cpp:

Go to the source code of this file.

Defines

#define MAX_MSG_LENGTH   2048
#define ON_SPRINTF1(s, count)   sprintf(sMessage,s,count)
#define ON_SPRINTF3(s, count, fname, ln)   sprintf(sMessage,s,count,fname,ln)
#define ON_SPRINTF4(s, count, fname, ln, func)   sprintf(sMessage,s,count,fname,ln,func)

Functions

void ON_Assert (int bCondition, const char *sFileName, int line_number, const char *sFormat,...)
void ON_AssertEx (int bCondition, const char *sFileName, int line_number, const char *sFunctionName, const char *sFormat,...)
void ON_EnableDebugErrorMessage (int bEnableDebugErrorMessage)
void ON_Error (const char *sFileName, int line_number, const char *sFormat,...)
void ON_ErrorEx (const char *sFileName, int line_number, const char *sFunctionName, const char *sFormat,...)
static bool ON_FormatMessage (const char *, va_list)
int ON_GetDebugErrorMessage (void)
int ON_GetErrorCount (void)
int ON_GetMathErrorCount (void)
int ON_GetWarningCount (void)
static void ON_IncrementErrorCount ()
static void ON_IncrementWarningCount ()
bool ON_IsNotValid ()
void ON_MathError (const char *sModuleName, const char *sErrorType, const char *sFunctionName)
static bool ON_PrintErrorHeader (int type, const char *sFileName, int line_number, const char *sFunctionName)
void ON_Warning (const char *sFileName, int line_number, const char *sFormat,...)
void ON_WarningEx (const char *sFileName, int line_number, const char *sFunctionName, const char *sFormat,...)

Variables

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]

Define Documentation

#define MAX_MSG_LENGTH   2048

Definition at line 70 of file opennurbs_error.cpp.

#define ON_SPRINTF1 (   s,
  count 
)    sprintf(sMessage,s,count)
#define ON_SPRINTF3 (   s,
  count,
  fname,
  ln 
)    sprintf(sMessage,s,count,fname,ln)
#define ON_SPRINTF4 (   s,
  count,
  fname,
  ln,
  func 
)    sprintf(sMessage,s,count,fname,ln,func)

Function Documentation

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

Definition at line 272 of file opennurbs_error.cpp.

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

Definition at line 298 of file opennurbs_error.cpp.

void ON_EnableDebugErrorMessage ( int  bEnableDebugErrorMessage)

Definition at line 61 of file opennurbs_error.cpp.

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

Definition at line 183 of file opennurbs_error.cpp.

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

Definition at line 205 of file opennurbs_error.cpp.

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

Definition at line 324 of file opennurbs_error.cpp.

int ON_GetDebugErrorMessage ( void  )

Definition at line 55 of file opennurbs_error.cpp.

int ON_GetErrorCount ( void  )

Definition at line 39 of file opennurbs_error.cpp.

int ON_GetMathErrorCount ( void  )

Definition at line 50 of file opennurbs_error.cpp.

int ON_GetWarningCount ( void  )

Definition at line 45 of file opennurbs_error.cpp.

static void ON_IncrementErrorCount ( ) [static]

Definition at line 98 of file opennurbs_error.cpp.

static void ON_IncrementWarningCount ( ) [static]

Definition at line 103 of file opennurbs_error.cpp.

bool ON_IsNotValid ( )

Definition at line 108 of file opennurbs_error.cpp.

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

Definition at line 74 of file opennurbs_error.cpp.

static bool ON_PrintErrorHeader ( int  type,
const char *  sFileName,
int  line_number,
const char *  sFunctionName 
) [static]

Definition at line 113 of file opennurbs_error.cpp.

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

Definition at line 227 of file opennurbs_error.cpp.

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

Definition at line 250 of file opennurbs_error.cpp.


Variable Documentation

Definition at line 37 of file opennurbs_error.cpp.

int ON_ERROR_COUNT = 0 [static]

Definition at line 34 of file opennurbs_error.cpp.

int ON_MATH_ERROR_COUNT = 0 [static]

Definition at line 36 of file opennurbs_error.cpp.

int ON_WARNING_COUNT = 0 [static]

Definition at line 35 of file opennurbs_error.cpp.

char sMessage[MAX_MSG_LENGTH] [static]

Definition at line 71 of file opennurbs_error.cpp.



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