Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound 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_H
00022 #define ATLFAST_HEADERPRINTER_H
00023 #include  <string>
00024 #include  <vector>
00025 //#include "GaudiKernel/MsgStream.h"
00026 class MsgStream;
00027 
00028 namespace Atlfast {
00029   using std::string;
00033   class HeaderPrinter {
00034   public:
00035     HeaderPrinter(string title, MsgStream& log);
00036 
00037     void add(const string&, 
00038              std::vector<int>::const_iterator be,
00039              std::vector<int>::const_iterator en);
00040     void add(const string&, int);
00041     void add(const string&, double);
00042     void add(const string&, const string& t);
00043     void add(const string&, bool);
00044     void add(const string&);
00045     void print()const;
00046     static unsigned int width;
00047     static string m_fullLine;
00048   private:
00049     string m_title;
00050     MsgStream& m_log;
00051     std::vector<string> m_strings;
00052     string m_hollowLine;
00053   };
00054 }
00055 #endif
00056     
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00066 
00067 

Generated on Wed Jan 15 11:00:29 2003 for AtlfastUtils by doxygen1.3-rc1