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 62 of file printtable.h.
Table::Table | ( | ) |
Definition at line 122 of file printtable.cpp.
Table::~Table | ( | ) |
Definition at line 130 of file printtable.cpp.
|
inline |
Definition at line 86 of file printtable.h.
|
inline |
Definition at line 94 of file printtable.h.
|
protected |
Definition at line 145 of file printtable.cpp.
Table & Table::operator<< | ( | const double & | cellcontent | ) |
Definition at line 150 of file printtable.cpp.
Table & Table::operator<< | ( | const int & | cellcontent | ) |
Definition at line 186 of file printtable.cpp.
Table & Table::operator<< | ( | const wxString & | cellcontent | ) |
Definition at line 166 of file printtable.cpp.
|
protected |
Definition at line 138 of file printtable.cpp.
|
inline |
Definition at line 88 of file printtable.h.
|
inline |
Definition at line 90 of file printtable.h.
|
inline |
Definition at line 92 of file printtable.h.
|
protected |
Definition at line 67 of file printtable.h.
|
protected |
Definition at line 69 of file printtable.h.
|
protected |
Definition at line 71 of file printtable.h.
|
protected |
Definition at line 65 of file printtable.h.
|
protected |
Definition at line 64 of file printtable.h.
|
protected |
Definition at line 72 of file printtable.h.
|
protected |
Definition at line 70 of file printtable.h.