This reference page is linked to from the following overview topics: Incremental Improvements.
Callback class that allows for hooking into 3ds Max's assertion mechanims.
Plugins can derive from this class and overwrite the CAssertCB::AssertEx method if they wish to execute a custom action, such as logging, when an assertion fails during execution of 3ds Max. See CAssertCB::AssertResult for more information on the customization options this callback mechanism offers.
#include <assert1.h>
Public Types |
|
enum | AssertResult { ASSERTCB_IGNORE, ASSERTCB_CANCEL, ASSERTCB_CONTINUE } |
Possible return values for callback method (CAssertCB::AssertEx) invoked when an assertion fails. More... |
|
Public Member Functions |
|
virtual AssertResult | AssertEx (int line, char *file, char *function=NULL, char *expression=NULL)=0 |
Callback method invoked when an assertion
fails. |
enum AssertResult |
Possible return values for callback method (CAssertCB::AssertEx) invoked when an assertion fails.
virtual AssertResult AssertEx | ( | int | line, |
char * | file, | ||
char * | function = NULL , |
||
char * | expression =
NULL |
||
) | [pure virtual] |
Callback method invoked when an assertion fails.
line | - the line number where the assertion occurred |
file | - the file path and name where the assertion occurred |
function | - the non-decorated name of the function in which the assertion occurred |
expression | - the expression that was asserted |