FBB::TableLines(3bobcat)
π FBB::TableLines π
okay so bestie, this is the FBB::TableLines(3bobcat) page β it lives in the Table support class section of the manual and it's literally your girl for drawing pretty lil separation lines in tables, no cap β¨
πΈ NAME πΈ
FBB::TableLines β a TableSupport specialization that writes horizontal separation lines π
β¨ SYNOPSIS β¨
#include <bobcat/tableLines>
Linking option: -lbobcat
π DESCRIPTION π
So here's the vibe: this class is a specialization of FBB::TableSupport, and you use it to write horizontal (and also vertical, queen) line separators inside tables that get generated by Table or TableBuf objects. That's it, that's the job, and it ate. π₯
π¦ NAMESPACE π¦
FBB
Every constructor, member, operator and manipulator mentioned on this man-page is defined inside the namespace FBB. periodt. π
π INHERITS FROM π
FBB::TableSupport
π CONSTRUCTORS π
The default and move constructors, plus the move assignment operator, are all available for you, bestie π«Ά
π MEMBER FUNCTIONS π
All the public members of TableSupport are available here too. Go peek at the tablesupport(3bobcat) man-page for the deets β¨
π EXAMPLE π
fr fr, here's the whole thing, character for character:
#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 β this is the file that defines the class interface π«
π§ SEE ALSO π§
bobcat(7), align(3bobcat), csvtable(3bobcat), table(3bobcat), tablebuf(3bobcat), tablesupport(3bobcat)
π BUGS π
None Reported. (iconic behaviour honestly, we love a clean record π)
β BOBCAT PROJECT FILES β
- https://fbb-git.gitlab.io/bobcat/: gitlab project page;
Debian Bobcat project files:
libbobcat6: debian package containing the shared library, changelog and copyright note;libbobcat-dev: debian package containing the static library, headers, manual pages, and developer info;
πΈ BOBCAT πΈ
Bobcat is an acronym of `Brokkenβs Own Base Classes And Templatesβ. (iykyk π)
π COPYRIGHT π
This is free software, distributed under the terms of the GNU General Public License (GPL). slay.
π«Ά AUTHOR π«Ά
Frank B. Brokken (f.b.brokken@rug.nl).
and that's the whole page bestie, main character energy from top to bottom π
made withlibbobcat-dev_6.15.01, dated2005-2026β mwah, love u, go write some tables πβ¨
π¦ where this page comes from
- ubuntu stonking: libbobcat-dev 6.15.01-1 Β· GPL-3.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms