CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Macros | Functions
FxDebug.h File Reference
#include "DDKERNEL.h"
#include "FxPragmaPush.h"
#include "FxPragmaPop.h"

Go to the source code of this file.

Classes

class  CFxTrace
 

Macros

#define ASSERT(x)   FxNoop()
 
#define ASSERT_ONCE(x)   FxNoop()
 
#define ASSERTMSG(x, c)   FxNoop()
 
#define TRACE(...)   FxNoop()
 
#define FXVERIFY(x)   (x)
 
#define ASSERT_CIP(expr)
 

Functions

void FxNoop ()
 
void DDKERNEL_API ArgonAssertFuncA (const char *cpFile, const int iLine, const char *cpExpr, const char *cpComment, bool *pbIgnoreThis=0)
 
void DDKERNEL_API ArgonAssertFuncW (const OdChar *cpFile, const int iLine, const OdChar *cpExpr, const OdChar *cpComment, bool *pbIgnoreThis=0)
 
bool DDKERNEL_API ArgonVerifyFuncA (bool exp, const char *cpFile, const int iLine, const char *cpExpr, const char *cpComment)
 
bool DDKERNEL_API ArgonVerifyFuncW (bool exp, const OdChar *cpFile, const int iLine, const OdChar *cpExpr, const OdChar *cpComment)
 
void DDKERNEL_API SetIgnoreAll (bool bIgnore)
 
bool DDKERNEL_API IsAllIgnored ()
 
void DDKERNEL_API UseCustomAssert (bool bUse)
 
bool DDKERNEL_API IsCustomAssertUsed ()
 
DDKERNEL_API void FxCIPRecordAssertion (const char *cpFile, const int iLine, const char *cpExpr)
 

Macro Definition Documentation

◆ ASSERT

#define ASSERT (   x)    FxNoop()

Definition at line 257 of file FxDebug.h.

◆ ASSERT_CIP

#define ASSERT_CIP (   expr)
Value:
{ \
if( !( expr ) ) \
FxCIPRecordAssertion( __FILE__, __LINE__, #expr ); \
ASSERT( expr ); \
}

Definition at line 374 of file FxDebug.h.

◆ ASSERT_ONCE

#define ASSERT_ONCE (   x)    FxNoop()

Definition at line 258 of file FxDebug.h.

◆ ASSERTMSG

#define ASSERTMSG (   x,
 
)    FxNoop()

Definition at line 259 of file FxDebug.h.

◆ FXVERIFY

#define FXVERIFY (   x)    (x)

Definition at line 261 of file FxDebug.h.

◆ TRACE

#define TRACE (   ...)    FxNoop()

Definition at line 260 of file FxDebug.h.

Function Documentation

◆ ArgonAssertFuncA()

void DDKERNEL_API ArgonAssertFuncA ( const char *  cpFile,
const int  iLine,
const char *  cpExpr,
const char *  cpComment,
bool *  pbIgnoreThis = 0 
)

◆ ArgonAssertFuncW()

void DDKERNEL_API ArgonAssertFuncW ( const OdChar cpFile,
const int  iLine,
const OdChar cpExpr,
const OdChar cpComment,
bool *  pbIgnoreThis = 0 
)

◆ ArgonVerifyFuncA()

bool DDKERNEL_API ArgonVerifyFuncA ( bool  exp,
const char *  cpFile,
const int  iLine,
const char *  cpExpr,
const char *  cpComment 
)

◆ ArgonVerifyFuncW()

bool DDKERNEL_API ArgonVerifyFuncW ( bool  exp,
const OdChar cpFile,
const int  iLine,
const OdChar cpExpr,
const OdChar cpComment 
)

◆ FxCIPRecordAssertion()

DDKERNEL_API void FxCIPRecordAssertion ( const char *  cpFile,
const int  iLine,
const char *  cpExpr 
)

◆ FxNoop()

void FxNoop ( )
inline

Definition at line 27 of file FxDebug.h.

◆ IsAllIgnored()

bool DDKERNEL_API IsAllIgnored ( )

◆ IsCustomAssertUsed()

bool DDKERNEL_API IsCustomAssertUsed ( )

◆ SetIgnoreAll()

void DDKERNEL_API SetIgnoreAll ( bool  bIgnore)

◆ UseCustomAssert()

void DDKERNEL_API UseCustomAssert ( bool  bUse)