#include <debugOut.h>
Public Types | |
| enum | eType { kNote, kError, kWarning } |
| Type code enums. More... | |
Static Public Member Functions | |
| static CDebugOut * | instance () |
| |
| static void | close () |
| Close output file. | |
GE debug output methods | |
| static void | write (const CGameEntity *pGE, const char *strAction, eType type=kNote) |
| static void | write (const CGameEntity *pGE, const char *strAction, const EDIT_DATA &editData, eType type=kNote) |
| static void | write (const CGameEntity *pGE, const char *strAction, const ACTION_DATA &actData, eType type=kNote) |
GE debug output methods | |
| static void | write (const char *strFunc, const char *strOut, eType type=kNote) |
| static void | write (const char *strFunc, const char *strOut, const char *str, eType type=kNote) |
Print "user readable" debug output.
(c) 2007-2008 oP group Germany GbR. All rights reserved.
This source code is provided "as is" with no warranty and must not be distributed without written permission.
| enum CDebugOut::eType |
| void CDebugOut::write | ( | const CGameEntity * | pGE, | |
| const char * | strAction, | |||
| eType | type = kNote | |||
| ) | [static] |
Write data with GE, Action, and frame info
| pGE | GE we are reporting on. | |
| strAction | Action string. | |
| type | The type of tag (i.e. kNote, kError, kWarning). |
| void CDebugOut::write | ( | const CGameEntity * | pGE, | |
| const char * | strAction, | |||
| const EDIT_DATA & | editData, | |||
| eType | type = kNote | |||
| ) | [static] |
Write data with GE and frame info
| pGE | GE we are reporting on. | |
| strAction | Action string. | |
| editData | Data to be printed. | |
| type | The type of tag (i.e. kNote, kError, kWarning). |
| void CDebugOut::write | ( | const CGameEntity * | pGE, | |
| const char * | strAction, | |||
| const ACTION_DATA & | actData, | |||
| eType | type = kNote | |||
| ) | [static] |
Write data with GE and frame info
| pGE | GE we are reporting on. | |
| strAction | Action string. | |
| actData | Data to be printed. | |
| type | The type of tag (i.e. kNote, kError, kWarning). |
| void CDebugOut::write | ( | const char * | strFunc, | |
| const char * | strOut, | |||
| eType | type = kNote | |||
| ) | [static] |
Write data with function name, error message, and frame info
| strFunc | Name of the function. | |
| strOut | Message text. | |
| type | The type of tag (i.e. kNote, kError, kWarning). |
| void CDebugOut::write | ( | const char * | strFunc, | |
| const char * | strOut, | |||
| const char * | str, | |||
| eType | type = kNote | |||
| ) | [static] |
Write data with function name, error message, and frame info
| strFunc | Name of the function. | |
| strOut | Message text. | |
| str | Additional message text. | |
| type | The type of tag (i.e. kNote, kError, kWarning). |
1.5.4