00001 #define TRACE_NAME "Trace"
00002 #include "Trace.h"
00003
00004
00006
00007
00008
00010
00011 Trace::Trace()
00012 {
00013
00014 }
00015
00016 #if 0
00017
00018 Trace::Trace(const Trace& other)
00019 {
00020 NOT_IMPLEMENTED
00021 }
00022
00023 const Trace& Trace::operator=(const Trace& other)
00024 {
00025 NOT_IMPLEMENTED
00026 }
00027
00028 bool Trace::operator==(const Trace& other) const
00029 {
00030 NOT_IMPLEMENTED
00031 }
00032
00033 bool Trace::operator<(const Trace& other) const
00034 {
00035 NOT_IMPLEMENTED
00036 }
00037
00038 size_t Trace::hash() const
00039 {
00040 NOT_IMPLEMENTED
00041 }
00042
00043 std::ostream& Trace::print_to(std::ostream& stream) const
00044 {
00045 NOT_IMPLEMENTED
00046 }
00047
00048 #endif
00049
00050 Trace::~Trace()
00051 {
00052
00053 }
00054
00056
00057
00058
00060
00061 Trace::Map Trace::map;
00062
00063 void Trace::set(const char* moduleName, bool on=true)
00064 {
00065 map[moduleName] = on;
00066 }
00067
00068 bool Trace::get(const char* moduleName)
00069 {
00070 return map[moduleName];
00071 }
00072
00073
00075
00076
00077
00079
00080 #undef TRACE_NAME