html::Table2C Class Reference
[Html Document preparation]

#include <Table2C.hh>

Inheritance diagram for html::Table2C:

html::table html::object

List of all members.

Public Member Functions

 Table2C (const char *ttl=0, const char *c1ttl=0, const char *c2ttl=0)
 Two-column table constructor.
virtual ~Table2C (void)
 Destructor.
void addRow (const std::string &c1, const std::string &c2)
 Add a row.
void addRow (const std::string &c1, double c2)
 Add a row.
void addRow (const std::string &c1, const Time &c2, const char *fmt=0)
 Add a row.


Detailed Description

Two column html table class.
Author:
John Zweizig
Version:
1.1; Last modified March 4, 2008

Constructor & Destructor Documentation

html::Table2C::Table2C ( const char *  ttl = 0,
const char *  c1ttl = 0,
const char *  c2ttl = 0 
)

Two-column table constructor.

Construct a two-column table with the specified table name and column headings.

Parameters:
ttl Table title.
c1ttl First column heading.
c2ttl Second column heading.

virtual html::Table2C::~Table2C ( void   )  [virtual]

Destructor.

Destroy a two-column table.


Member Function Documentation

void html::Table2C::addRow ( const std::string &  c1,
const std::string &  c2 
)

Add a row.

Add a row containing two strings.

Parameters:
c1 String contents of first column.
c2 String contents of second column.

void html::Table2C::addRow ( const std::string &  c1,
double  c2 
)

Add a row.

Add a row containing a string and a number.

Parameters:
c1 String content of first column.
c2 Numeric content of second column.

void html::Table2C::addRow ( const std::string &  c1,
const Time &  c2,
const char *  fmt = 0 
)

Add a row.

Add a row containing a string and a time.

Parameters:
c1 String content of first column.
c2 Time content of second column.
fmt TimeStr format for time conversion.


The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:31 2009 for dmt by  doxygen 1.5.4