OpenCPN Partial API docs
|
Represents a NxM simple table with captions. More...
#include <printtable.h>
Public Member Functions | |
Table & | operator<< (const int &) |
Table & | operator<< (const double &) |
Table & | operator<< (const wxString &) |
std::vector< std::vector< wxString > > & | GetData () |
void | StartFillData () |
void | StartFillHeader () |
void | StartFillWidths () |
int | GetRowHeight (int i) |
Protected Member Functions | |
void | Start () |
void | NewRow () |
Protected Attributes | |
int | nrows |
int | ncols |
bool | create_next_row |
std::vector< std::vector< wxString > > | data |
std::vector< double > | widths |
std::vector< wxString > | header |
TableState | state |
Represents a NxM simple table with captions.
Input operator is "<<" Number of columns and rows are given dynamically by the input data. Captions are given by first input line. Every cell is given column by column. Next row is given by "<< '\n'" (or << endl)
Definition at line 69 of file printtable.h.