Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

Trace.cpp

00001 #define TRACE_NAME "Trace"
00002 #include "Trace.h"
00003 // $Id: Trace_8cpp-source.html,v 1.2 2001/10/10 20:40:58 sandro Exp $
00004 
00006 //
00007 //  Standard Member Functions
00008 //
00010 
00011 Trace::Trace()
00012 {
00013     // blank default    
00014 }
00015 
00016 #if 0  /* omit definitions until they are implemented */
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 /* omit definitions until they are implemented */
00049     
00050 Trace::~Trace()
00051 {
00052     // blank default    
00053 }
00054 
00056 //
00057 //  Additional Public Member Functions
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 //  Additional Private Member Functions
00077 //
00079 
00080 #undef TRACE_NAME

Home to blindfold. This page generated via doxygen 1.2.11.1 Wed Oct 10 16:40:33 2001.