X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Ftrace.h;h=ab532942b4939a2c416374d24527dd720991c93b;hb=bb09705ec0a20bf5b41b4248cf7800b000bc3fcb;hp=fd2d1d134612b5de6f63d0a642f1bdf1855b40a8;hpb=9f29c8b32c972db1178d6f8551d5cd57ceb67083;p=ctsim.git diff --git a/include/trace.h b/include/trace.h index fd2d1d1..ab53294 100644 --- a/include/trace.h +++ b/include/trace.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: trace.h,v 1.8 2001/01/28 19:10:18 kevin Exp $ +** $Id$ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -39,7 +39,7 @@ class Trace static const int TRACE_PROJECTIONS; static const int TRACE_PLOT; static const int TRACE_CLIPPING; - + static const int BIT_CONSOLE; static const int BIT_PHANTOM; static const int BIT_PROJECTIONS; @@ -47,25 +47,25 @@ class Trace static const int BIT_CLIPPING; Trace (const char* const traceString); - + void addTrace (const char* const traceString); - + bool isTrace (const char* const traceQuery) const; - + int getTraceLevel(void) const { return m_traceLevel; } - + static int convertTraceNameToID (const char* traceName); static const char* convertTraceIDToTitle (int idTrace); static const char* convertTraceIDToName (int idTrace); - + static const int getTraceCount() {return s_iTraceCount;} static const char** getTraceNameArray() {return s_aszTraceName;} static const char** getTraceTitleArray() {return s_aszTraceTitle;} private: - + int m_traceLevel; - + bool addTraceElements (const char* const traceString); static const char* s_aszTraceName[];