![]() |
VR-Link API Documentation for HLA 1.3
|
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 | |
| static void | fatal () |
| call DtAssert::fatal() to make DtAssert's throw DtAssertException and issue warnings | |
| static void | ignore () |
| call DtAssert::ignore() to turn off assertions | |
Static Public Attributes | |
| static DtAssertFunc | theAssertFunction |
| The function to call when a DtAssert fails. | |
| static DtOutputStream & | theAssertStream |
| the DtOutputStream to use for DtAssert() warnings | |
| static const DtAssertFunc | theNoAssertFunction |
| always set to null, when theAssertFunction is set to this value then DtAssert is a no-op | |
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. | |
| DtAssert (const DtAssert &other) | |
| This class can not be copied -- not implemented. | |
| DtAssert & | operator= (const DtAssert &) |
| This class can not be copied -- not implemented. | |
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) |
| DtAssert::DtAssert | ( | ) | [private] |
Do not instantiate -- CTOR not implemented.
| DtAssert::DtAssert | ( | const DtAssert & | other | ) | [private] |
This class can not be copied -- not implemented.
| static void DtAssert::defaultFatal | ( | const char * | file, |
| const char * | func, | ||
| int | line, | ||
| const char * | operation | ||
| ) | [static, protected] |
| static void DtAssert::defaultNonFatal | ( | const char * | file, |
| const char * | func, | ||
| int | line, | ||
| const char * | operation | ||
| ) | [static, protected] |
| static void DtAssert::fatal | ( | ) | [static] |
call DtAssert::fatal() to make DtAssert's throw DtAssertException and issue warnings
| static DtAssertFunc DtAssert::getAssertFunction | ( | ) | [static] |
| static void DtAssert::ignore | ( | ) | [static] |
call DtAssert::ignore() to turn off assertions
This class can not be copied -- not implemented.
| static void DtAssert::setAssertFunction | ( | DtAssertFunc | func | ) | [static] |
| static void DtAssert::warn | ( | ) | [static] |
call DtAssert::warn() to make DtAssert just print warnings
DtAssertFunc DtAssert::theAssertFunction [static] |
The function to call when a DtAssert fails.
This is typicaly set via DtAssert::fatal(), DtAssert::warn(), or DtAssert::ignore()
DtOutputStream& DtAssert::theAssertStream [static] |
the DtOutputStream to use for DtAssert() warnings
const DtAssertFunc DtAssert::theNoAssertFunction [static] |
always set to null, when theAssertFunction is set to this value then DtAssert is a no-op