class table : public object Html Table object.
The html table class stores a representation of an html table. The table contains an arbitrary number of rows and columns with each entry containing a pointer to an html cell object. Each column has an optional header containing a title and attributes which are inherited by all cells in the column.
table(const std::string& title)
table(const table& x)
~table(void)
object* clone(void) const
table& operator=(const table& x)
void write(writer& out) const
int addColumn(const std::string& title)
int addRow(void)
void eraseRow(int row, int count=1) throw(std::runtime_error)
count - Number of rows to be erased
void insertData(int row, int col, double x, int wid=-1, int prec=-1) throw(std::runtime_error)
void insertData(int row, int col, long x, int wid=-1, int radix=10) throw(std::runtime_error)
void insertData(int row, int col, const std::string& txt) throw(std::runtime_error)
void insertData(int row, int col, const object& obj) throw(std::runtime_error)
void insertRow(int row) throw(std::runtime_error)
int getNRow(void) const
int getNColumn(void) const
cell& refHeader(int col) throw(std::runtime_error)
const cell& refHeader(int col) const throw(std::runtime_error)
cell& refCell(int row, int col) throw(std::runtime_error)
const cell& refCell(int row, int col) const throw(std::runtime_error)
void setBorder(bool On=true)
alphabetic index hierarchy of classes
generated by doc++