/*
- * $Id: Debug.h,v 1.4 2003/07/07 22:44:28 robertc Exp $
+ * $Id: Debug.h,v 1.5 2003/07/08 23:01:46 robertc Exp $
*
* DEBUG: section 0 Debug Routines
* AUTHOR: Harvest Derived
static void finishDebug();
private:
- static std::ostringstream *currentDebug;
+ static std::ostringstream *CurrentDebug;
};
/* Debug stream */
/*
- * $Id: debug.cc,v 1.92 2003/07/07 22:44:28 robertc Exp $
+ * $Id: debug.cc,v 1.93 2003/07/08 23:01:46 robertc Exp $
*
* DEBUG: section 0 Debug Routines
* AUTHOR: Harvest Derived
std::ostream &
Debug::getDebugOut() {
- assert (currentDebug == NULL);
- currentDebug = new std::ostringstream();
- return *currentDebug;
+ assert (CurrentDebug == NULL);
+ CurrentDebug = new std::ostringstream();
+ return *CurrentDebug;
}
void
Debug::finishDebug() {
- _db_print("%s\n", currentDebug->str().c_str());
- delete currentDebug;
- currentDebug = NULL;
+ _db_print("%s\n", CurrentDebug->str().c_str());
+ delete CurrentDebug;
+ CurrentDebug = NULL;
}
-std::ostringstream *Debug::currentDebug (NULL);
-#
+std::ostringstream *Debug::CurrentDebug (NULL);
/*
- * $Id: test_tools.cc,v 1.2 2003/07/07 22:44:28 robertc Exp $
+ * $Id: test_tools.cc,v 1.3 2003/07/08 23:01:47 robertc Exp $
*
* AUTHOR: Robert Collins
*
std::ostream &
Debug::getDebugOut()
{
- assert (currentDebug == NULL);
- currentDebug = new std::ostringstream();
- return *currentDebug;
+ assert (CurrentDebug == NULL);
+ CurrentDebug = new std::ostringstream();
+ return *CurrentDebug;
}
void
Debug::finishDebug()
{
- _db_print("%s\n", currentDebug->str().c_str());
- delete currentDebug;
- currentDebug = NULL;
+ _db_print("%s\n", CurrentDebug->str().c_str());
+ delete CurrentDebug;
+ CurrentDebug = NULL;
}
-std::ostringstream *Debug::currentDebug (NULL);
+std::ostringstream *Debug::CurrentDebug (NULL);