-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDebug.h
39 lines (28 loc) · 895 Bytes
/
Debug.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef Debug_h
#define Debug_h
//////////////////////////////////////////////////////////////////////////////////////////////////
// Debug: Functions for debugging programs. Right now relies mostly on the C "assert" macros.
// This class is purely static.
/////////////////
// OS Includes
#include <assert.h>
#include <iostream>
using namespace std;
//////////////
// Includes
/////////////
// Defines
////////////////////////
// Class Declarations
class Debug {
public:
Debug();
~Debug();
static void vErrorReport(char* aError_);
static Debug xDebugger; // This should be the only object of this class that gets created
};
//////////////////////////////////////////////////////////////////////////////////////////////////
// Class Definitions
//////////////////////////////////////////////////////////////////////////////////////////////////
// Inlines
#endif // Debug_h