![]() |
Public API Reference |
#include <dbghelp.h>
Inheritance diagram for iDebugHelper:
Public Methods | |
virtual int | GetSupportedTests () const=0 |
Return a bit field indicating what types of functions this specific unit test implementation supports. More... | |
virtual csPtr< iString > | UnitTest ()=0 |
Perform a unit test. More... | |
virtual csPtr< iString > | StateTest ()=0 |
Perform a state test. More... | |
virtual csTicks | Benchmark (int num_iterations)=0 |
Perform a benchmark. More... | |
virtual csPtr< iString > | Dump ()=0 |
Do a text dump of the current state of this object. More... | |
virtual void | Dump (iGraphics3D *g3d)=0 |
Do a graphical dump of the current state of this object. More... | |
virtual bool | DebugCommand (const char *cmd)=0 |
Perform a debug command as defined by the module itself. More... |
Definition at line 62 of file dbghelp.h.
|
Perform a benchmark. This function will return a number indicating how long the benchmark lasted in milliseconds. Implemented in csGeomDebugHelper. |
|
Perform a debug command as defined by the module itself. Returns 'false' if the command was not recognized. Implemented in csGeomDebugHelper. |
|
Do a graphical dump of the current state of this object.
Implemented in csGeomDebugHelper. |
|
Do a text dump of the current state of this object. Returns NULL if not supported or else a string which you should DecRef() after use. Implemented in csGeomDebugHelper. |
|
Return a bit field indicating what types of functions this specific unit test implementation supports. This will return a combination of the CS_DBGHELP_... flags: Implemented in csGeomDebugHelper. |
|
Perform a state test. This function will test if the current state of the object is ok. It will return NULL if it is ok. Otherwise an iString is returned containing some information about the errors. DecRef() this returned string after using it. Implemented in csGeomDebugHelper. |
|
Perform a unit test. This function will try to test as much as possible of the given module. This function returns NULL if the test succeeded. Otherwise an iString is returned containing some information about the errors. DecRef() this returned string after using it. Implemented in csGeomDebugHelper. |