![]() |
VR-Link API Documentation for DIS
|
DtAssert (the class) helps implement DtAssert (the MACRO) by storing static member variables. More...
Collaboration diagram for DtAssert:Public Types | |
| typedef void(* | DtAssertFunc )(const char *fName, const char *func, int fLine, const char *operation) |
Static Public Member Functions | |
| static DtAssertFunc | getAssertFunction () |
| static void | setAssertFunction (DtAssertFunc func) |
| static void | warn () |
| call DtAssert::warn() to make DtAssert just print warnings More... | |
| static void | fatal () |
| call DtAssert::fatal() to make DtAssert's throw DtAssertException and issue warnings More... | |
| static void | ignore () |
| call DtAssert::ignore() to turn off assertions More... | |
Static Public Attributes | |
| static DtAssertFunc | theAssertFunction |
| The function to call when a DtAssert fails. More... | |
| static DtOutputStream & | theAssertStream |
| the DtOutputStream to use for DtAssert() warnings More... | |
| static const DtAssertFunc | theNoAssertFunction |
| always set to null, when theAssertFunction is set to this value then DtAssert is a no-op More... | |
Static Protected Member Functions | |
| static void | defaultFatal (const char *file, const char *func, int line, const char *operation) |
| static void | defaultNonFatal (const char *file, const char *func, int line, const char *operation) |
Private Member Functions | |
| DtAssert () | |
| Do not instantiate – CTOR not implemented. More... | |
| DtAssert (const DtAssert &other) | |
| This class can not be copied – not implemented. More... | |
| DtAssert & | operator= (const DtAssert &) |
| This class can not be copied – not implemented. More... | |
DtAssert (the class) helps implement DtAssert (the MACRO) by storing static member variables.
This class should not be used directly, the macro DtAssert(a) should be used instead
| typedef void(* DtAssert::DtAssertFunc)(const char *fName, const char *func, int fLine, const char *operation) |
|
private |
Do not instantiate – CTOR not implemented.
|
private |
This class can not be copied – not implemented.
|
staticprotected |
|
staticprotected |
|
static |
call DtAssert::fatal() to make DtAssert's throw DtAssertException and issue warnings
|
static |
|
static |
call DtAssert::ignore() to turn off assertions
This class can not be copied – not implemented.
|
static |
|
static |
call DtAssert::warn() to make DtAssert just print warnings
|
static |
The function to call when a DtAssert fails.
This is typicaly set via DtAssert::fatal(), DtAssert::warn(), or DtAssert::ignore()
|
static |
the DtOutputStream to use for DtAssert() warnings
|
static |
always set to null, when theAssertFunction is set to this value then DtAssert is a no-op