00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef ATLFAST_HEADERPRINTER_H
00022 #define ATLFAST_HEADERPRINTER_H
00023 #include <string>
00024 #include <vector>
00025
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