other versions
- buster 4.08.06-1
- testing 5.07.00-1
- unstable 5.07.00-1
- experimental 5.09.01-1
FBB::TableLines(3bobcat) | Table support class | FBB::TableLines(3bobcat) |
NAME¶
FBB::TableLines - A TableSupport specialization writing horizontal separation linesSYNOPSIS¶
#include <bobcat/tableLines>Linking option: -lbobcat
DESCRIPTION¶
This class is a specialization of FBB::TableSupport and can be used to write horizontal (and vertical) line separators in tables generated by Table or TableBuf objects.NAMESPACE¶
FBBAll constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.
INHERITS FROM¶
FBB::TableSupportCONSTRUCTORS¶
The default, copy and move constructors are available.OVERLOADED OPERATORS¶
The copy and move assignment operators are available.MEMBER FUNCTIONS¶
All public members of TableSupport are available. The reader should refer to the tablesupport(3bobcat) man-page for details.EXAMPLE¶
#include <iostream> #include <bobcat/table> #include <bobcat/tablelines> using namespace std; using namespace FBB; int main(int argc, char **argv) { TableLines tablelines; // width/separators of cols 0, 1 and 2 tablelines << 0 << " | " << " | "; // hline over cols 1 and 2 of row 1 tablelines << TableLines::HLine(1, 1, 3); Table tab(tablelines, 3, Table::ROWWISE, Table::EQUALWIDTH); // or: Table tab(tablelines, 3, Table::ROWWISE); tab << Align(0, std::left); // set column non-default alignment tab.fill(argv + 1, argv + argc);// fill range of values cout << tab << ’\n’; // complete the table and insert tab << "hello" << "" << "wo"; // add additional elements. if (tab.nRows() > 2) tab << Align(2, 2, center); // set the layout of a specific element cout << tab << ’\n’; }
FILES¶
bobcat/tableLines - defines the class interfaceSEE ALSO¶
bobcat(7), align(3bobcat), table(3bobcat), tablebuf(3bobcat), tablesuppoer(3bobcat)BUGS¶
None Reported.DISTRIBUTION FILES¶
- o
- bobcat_4.08.06-x.dsc: detached signature;
- o
- bobcat_4.08.06-x.tar.gz: source archive;
- o
- bobcat_4.08.06-x_i386.changes: change log;
- o
- libbobcat1_4.08.06-x_*.deb: debian package holding the libraries;
- o
- libbobcat1-dev_4.08.06-x_*.deb: debian package holding the libraries, headers and manual pages;
- o
- http://sourceforge.net/projects/bobcat: public archive location;
BOBCAT¶
Bobcat is an acronym of `Brokken’s Own Base Classes And Templates’.COPYRIGHT¶
This is free software, distributed under the terms of the GNU General Public License (GPL).AUTHOR¶
Frank B. Brokken (f.b.brokken@rug.nl).2005-2018 | libbobcat-dev_4.08.06-x.tar.gz |