#include "OdaDefs.h"
#include "RootExport.h"
#include <complex>
Go to the source code of this file.
|
| #define | ODA_DIAGNOSTICS |
| |
| #define | ODA_ASSERT(exp) |
| |
| #define | ODA_VERIFY(exp) |
| |
| #define | ODA_ASSERT_ONCE(exp) |
| |
| #define | ODA_VERIFY_ONCE(exp) |
| |
| #define | ODA_FAIL() |
| |
| #define | ODA_FAIL_ONCE() |
| |
| #define | ODA_FAIL_M(message) |
| |
| #define | ODA_FAIL_M_ONCE(message) |
| |
| #define | ODA_ASSERT_X(grp, exp) |
| |
| #define | ODA_VERIFY_X(grp, exp) |
| |
| #define | ODA_ASSERT_ONCE_X(grp, exp) |
| |
| #define | ODA_FAIL_X(grp) |
| |
| #define | ODA_FAIL_ONCE_X(grp) |
| |
| #define | ODA_ASSERT_VAR(code) |
| |
| #define | ToOdInt8 (val) (ODA_ASSERT(( (OdInt8)val) == val), (OdInt8) val) |
| |
| #define | ToOdUInt8 (val) (ODA_ASSERT(( (OdUInt8)val) == val), (OdUInt8) val) |
| |
| #define | ToOdInt16 (val) (ODA_ASSERT((( OdInt16)val) == val), (OdInt16) val) |
| |
| #define | ToOdUInt16(val) |
| |
| #define | ToOdInt32 (val) (ODA_ASSERT(( (OdInt32)val) == val), (OdInt32) val) |
| |
| #define | ToOdUInt32(val) |
| |
| #define | ODA_TRACE OdTrace |
| |
| #define | ODA_TRACE0(szFormat) |
| |
| #define | ODA_TRACE1(szFormat, param1) |
| |
| #define | ODA_TRACE2(szFormat, param1, param2) |
| |
| #define | ODA_TRACE3(szFormat, param1, param2, param3) |
| |
| #define | ODA_ASSUME(expr) |
| |
| #define | MARKMESSAGE(desc) |
| |
| #define | OD_ATAN2(y, x) |
| |
| #define | OD_ASIN(a) |
| |
| #define | OD_ACOS(a) |
| |
| #define | OD_WARNING_PUSH |
| |
| #define | OD_WARNING_DISABLE(number) |
| |
| #define | OD_WARNING_POP |
| |
| #define | OD_WARNING_SUPPRESS(number) |
| |
◆ MARKMESSAGE
| #define MARKMESSAGE |
( |
| desc | ) |
|
◆ OD_ACOS
◆ OD_ASIN
◆ OD_ATAN2
| #define OD_ATAN2 |
( |
| y, |
|
|
| x ) |
◆ OD_WARNING_DISABLE
| #define OD_WARNING_DISABLE |
( |
| number | ) |
|
◆ OD_WARNING_POP
◆ OD_WARNING_PUSH
◆ OD_WARNING_SUPPRESS
| #define OD_WARNING_SUPPRESS |
( |
| number | ) |
|
◆ ODA_ASSERT
| #define ODA_ASSERT |
( |
| exp | ) |
|
Value:
void FIRSTDLL_EXPORT OdAssert(const char *expresssion, const char *filename, int nLineNo)
Definition at line 57 of file DebugStuff.h.
◆ ODA_ASSERT_ONCE
| #define ODA_ASSERT_ONCE |
( |
| exp | ) |
|
Value:{ static bool was_here = false;\
if (!was_here && !(exp))\
{ was_here = true;\
OdAssert(#exp, __FILE__, __LINE__);\
}\
}
Definition at line 73 of file DebugStuff.h.
◆ ODA_ASSERT_ONCE_X
| #define ODA_ASSERT_ONCE_X |
( |
| grp, |
|
|
| exp ) |
Value:{ static bool was_here = false;\
if (!was_here && !(exp))\
{ was_here = true;\
OdAssert(#grp, #exp, __FILE__, __LINE__);\
}\
}
Definition at line 109 of file DebugStuff.h.
◆ ODA_ASSERT_VAR
| #define ODA_ASSERT_VAR |
( |
| code | ) |
|
◆ ODA_ASSERT_X
| #define ODA_ASSERT_X |
( |
| grp, |
|
|
| exp ) |
Value:(
void)( (exp) || (
OdAssert((
const char*)#grp, (
const char*)#exp, __FILE__, __LINE__), 0) )
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
Definition at line 107 of file DebugStuff.h.
◆ ODA_ASSUME
| #define ODA_ASSUME |
( |
| expr | ) |
|
Value:extern char OdaAssumeArray[expr];
Definition at line 180 of file DebugStuff.h.
◆ ODA_DIAGNOSTICS
◆ ODA_FAIL
◆ ODA_FAIL_M
| #define ODA_FAIL_M |
( |
| message | ) |
|
◆ ODA_FAIL_M_ONCE
| #define ODA_FAIL_M_ONCE |
( |
| message | ) |
|
Value:{ static bool was_here = false;\
if (!was_here)\
{ was_here = true;\
OdAssert(message, __FILE__, __LINE__);\
}\
}
Definition at line 98 of file DebugStuff.h.
◆ ODA_FAIL_ONCE
| #define ODA_FAIL_ONCE |
( |
| ) |
|
Value:{ static bool was_here = false;\
if (!was_here)\
{ was_here = true;\
OdAssert("Invalid Execution.", __FILE__, __LINE__);\
}\
}
Definition at line 89 of file DebugStuff.h.
◆ ODA_FAIL_ONCE_X
| #define ODA_FAIL_ONCE_X |
( |
| grp | ) |
|
Value:{ static bool was_here = false;\
if (!was_here)\
{ was_here = true;\
OdAssert(#grp, "Invalid Execution.", __FILE__, __LINE__);\
}\
}
Definition at line 117 of file DebugStuff.h.
◆ ODA_FAIL_X
| #define ODA_FAIL_X |
( |
| grp | ) |
|
◆ ODA_TRACE
◆ ODA_TRACE0
| #define ODA_TRACE0 |
( |
| szFormat | ) |
|
Value:
void FIRSTDLL_EXPORT OdTrace(const OdChar *szFormat,...)
Definition at line 163 of file DebugStuff.h.
◆ ODA_TRACE1
| #define ODA_TRACE1 |
( |
| szFormat, |
|
|
| param1 ) |
◆ ODA_TRACE2
| #define ODA_TRACE2 |
( |
| szFormat, |
|
|
| param1, |
|
|
| param2 ) |
◆ ODA_TRACE3
| #define ODA_TRACE3 |
( |
| szFormat, |
|
|
| param1, |
|
|
| param2, |
|
|
| param3 ) |
◆ ODA_VERIFY
| #define ODA_VERIFY |
( |
| exp | ) |
|
◆ ODA_VERIFY_ONCE
| #define ODA_VERIFY_ONCE |
( |
| exp | ) |
|
Value:{ static bool was_here = false;\
if (!(exp) && !was_here)\
{ was_here = true;\
OdAssert(#exp, __FILE__, __LINE__);\
}\
}
Definition at line 81 of file DebugStuff.h.
◆ ODA_VERIFY_X
| #define ODA_VERIFY_X |
( |
| grp, |
|
|
| exp ) |
Value:
#define ODA_ASSERT_X(grp, exp)
Definition at line 108 of file DebugStuff.h.
◆ ToOdInt16
◆ ToOdInt32
◆ ToOdInt8
◆ ToOdUInt16
| #define ToOdUInt16 |
( |
| val | ) |
|
◆ ToOdUInt32
| #define ToOdUInt32 |
( |
| val | ) |
|
◆ ToOdUInt8
◆ oda_noop()
◆ OdAssert() [1/2]
◆ OdAssert() [2/2]
| void FIRSTDLL_EXPORT OdAssert |
( |
const char * | group, |
|
|
const char * | expresssion, |
|
|
const char * | fileName, |
|
|
int | nLineNo ) |
◆ OdTrace()