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

Generated on Mon Feb 4 15:54:23 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001