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

HeaderPrinter.h

Go to the documentation of this file.
00001 // ================================================
00002 // HeaderPrinter class description
00003 // ================================================
00004 //
00005 // THIS TEXT TO BE REPLACED BY ATLAS STANDARD FORMAT
00006 //
00007 // Namespace Atlfast::
00008 //
00009 // class: HeaderPrinter
00010 //
00011 // Authors: P.Clarke, H.Phillips, E.Richter-Was, P.Sherwood, R.Steward
00012 //
00013 // Description: 
00014 //
00015 //  Utility to print maker parameters to log file.
00016 //
00017 //..................................................
00018 
00019 
00020 
00021 #ifndef __Atlfast_HeaderPrinter__
00022 #define __Atlfast_HeaderPrinter__
00023 #include "GaudiKernel/MsgStream.h"
00024 #include  <string>
00025 #include  <vector>
00026 
00027 namespace Atlfast {
00031   class HeaderPrinter {
00032   public:
00033     HeaderPrinter(std::string title, MsgStream log);
00034 
00035     void add(const std::string&, 
00036              std::vector<int>::const_iterator be,
00037              std::vector<int>::const_iterator en);
00038     void add(const std::string&, int);
00039     void add(const std::string&, double);
00040     void add(const std::string&, const std::string& t);
00041     void add(const std::string&, bool);
00042     void add(const std::string&);
00043     void print()const;
00044     static unsigned int width;
00045     static std::string m_fullLine;
00046   private:
00047     std::string m_title;
00048     MsgStream m_log;
00049     std::vector<std::string> m_strings;
00050     std::string m_hollowLine;
00051   };
00052 }
00053 #endif
00054     
00055 
00056 
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 

Generated on Wed Jan 23 12:58:31 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001