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.
Table::Table | ( | ) |
Definition at line 130 of file printtable.cpp.
Table::~Table | ( | ) |
Definition at line 138 of file printtable.cpp.
|
inline |
Definition at line 93 of file printtable.h.
|
inline |
Definition at line 101 of file printtable.h.
|
protected |
Definition at line 153 of file printtable.cpp.
Table & Table::operator<< | ( | const double & | cellcontent | ) |
Definition at line 158 of file printtable.cpp.
Table & Table::operator<< | ( | const int & | cellcontent | ) |
Definition at line 194 of file printtable.cpp.
Table & Table::operator<< | ( | const wxString & | cellcontent | ) |
Definition at line 174 of file printtable.cpp.
|
protected |
Definition at line 146 of file printtable.cpp.
|
inline |
Definition at line 95 of file printtable.h.
|
inline |
Definition at line 97 of file printtable.h.
|
inline |
Definition at line 99 of file printtable.h.
|
protected |
Definition at line 74 of file printtable.h.
|
protected |
Definition at line 76 of file printtable.h.
|
protected |
Definition at line 78 of file printtable.h.
|
protected |
Definition at line 72 of file printtable.h.
|
protected |
Definition at line 71 of file printtable.h.
|
protected |
Definition at line 79 of file printtable.h.
|
protected |
Definition at line 77 of file printtable.h.