html/Table2C.hh

00001 /* -*- mode: c++; c-basic-offset: 4; -*- */
00002 #ifndef TABLE2C_HH
00003 #define TABLE2C_HH
00004 
00005 #include "html/table.hh"
00006 
00007 class Time;
00008 
00009 //======================================  2-column table utility class
00010 namespace html {
00011 
00017     class Table2C : public table {
00018     public:
00026         Table2C(const char* ttl=0, const char* c1ttl=0, const char* c2ttl=0);
00027 
00031         virtual ~Table2C(void);
00032 
00038         void addRow(const std::string& c1, const std::string& c2);
00039 
00045         void addRow(const std::string& c1, double c2);
00046 
00053         void addRow(const std::string& c1, const Time& c2, const char* fmt=0);
00054     };
00055     
00056 }  // namespace html
00057 
00058 #endif   // TABLE2C_HH

Generated on Sun Mar 8 19:20:49 2009 for dmt by  doxygen 1.5.4