Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/home/pauldt/projects/IDEA/IDEA-ALL/IDEA-DEV/Core/PlanServer/Includes/PslTrace.hh

Go to the documentation of this file.
00001 // -*- Mode: c++ -*-
00002 //      CVS: $Id: PslTrace.hh,v 1.3 2005/11/08 18:32:45 rijsman Exp $
00003 //      Tag: $name$
00004 //     Info: $CVSROOT/IDEA-DEV/COPYRIGHT
00005 #ifndef PLANSERVER_TRACE_HEADER_
00006 #define PLANSERVER_TRACE_HEADER_
00007 
00008 #include "Trace.hh"
00009 
00010 #include <iostream>
00011 
00012 namespace IDEA
00013 {
00022   class PslTrace
00023   {
00024   public:
00025     PslTrace( const std::stringstream&  sstr );
00026     ~PslTrace();
00027   private:
00028     void printTabs();
00029     static int m_Counter;
00030   };
00031 
00037   #define PSL_TRACE( txt ) \
00038     std::stringstream sstr; \
00039     sstr << txt; \
00040     PslTrace trace_xxx( sstr); 
00041 
00042 }
00043 
00044 #endif // PLANSERVER_TRACE_HEADER_

Contact information
© IDEA
Generated on Fri Feb 3 17:09:41 2006 for IDEA.