|
OpenCPN Partial API docs
|
OpenCPN Route table printout. More...
#include <iostream>#include <vector>#include <wx/print.h>#include <wx/datetime.h>#include <wx/cmdline.h>#include <wx/string.h>#include "model/ocpn_types.h"#include "navutil.h"Go to the source code of this file.
Classes | |
| class | Table |
| Represents a NxM simple table with captions. More... | |
| class | PrintCell |
| This class takes multilined string and modifies it to fit into given width for given device. More... | |
| class | PrintTable |
| Extension of a class Table with printing into dc. More... | |
Enumerations | |
| enum | TableState { TABLE_SETUP_WIDTHS = 0 , TABLE_FILL_DATA , TABLE_FILL_HEADER } |
| Enumeration is used to notice the state of the table. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &, Table &) |
OpenCPN Route table printout.
Definition in file printtable.h.
| enum TableState |
Enumeration is used to notice the state of the table.
Different states are used to signalize different semanic of the data in the operator << of the class Table. If the state is "setup columns widths" -> then the data is used to store the width of the columns. If the state is "fill with data" -> then the data is the cell content.
Definition at line 51 of file printtable.h.