FBB::TableSupport(3bobcat)

Table Support Base class
(libbobcat-dev_4.08.03-x.tar.gz)

2005-2018

NAME

FBB::TableSupport - Defines protocols for Table-support classes

SYNOPSIS

#include <bobcat/tableSupport>
Linking option: -lbobcat

DESCRIPTION

This class is designed as a (non-pure) base class for objects handling some of the functionality of FBB::Table and FBB::TableBuf objects. By overriding its virtual functions users have control over the way the actual layout of tables is defined. By default the virtual members of this class do not separate the columns of the table from each other

The Bobcat library offers the specialized class TableLines extending the basic facilities of TableSupport by allowing rows to be separated from each other by (partial) horizontal lines (see the tablelines(3bobcat) man-page for a description).

When more specialized handling is required a class should be derived from FBB::TableSupport overriding those members that violate the programmer's current intentions. An object of this derived class may be presented to a FBB::Table or FBB::TableBuf constructor, to activate the special handling.

NAMESPACE

FBB
All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.

INHERITS FROM

-

ENUMERATION

The enum ColumnType defines the following values (see also the description of the struct HLine, below):

The value SKIP should always be used by itself; remaining values of the enum may be combined using the binary or (|) operator.

PUBLIC TYPE

PROTECTED TYPES

CONSTRUCTORS

The default, copy and move constructors are available.

OVERLOADED OPERATORS

The overloaded copy and move assignment operators are available.

PUBLIC MEMBER FUNCTIONS

PROTECTED MEMBER FUNCTIONS

The following members are available to classes derived from TableSupport. Except for sep and sepWidth their values are only defined after setParam has been called. This latter function is called from the def member or manipulator of Table or TableBuf objects.

VIRTUAL MEMBER FUNCTIONS

The following member functions can be overridden by derived classes to redefine the way horizontal and vertical separators are displayed.

EXAMPLE

See the example in the table(3bobcat) man-page.

FILES

bobcat/tableSupport - defines the class interface

SEE ALSO

bobcat(7), align(3bobcat), table(3bobcat), tablebuf(3bobcat), tablelines(3bobcat)

BUGS

None Reported.

DISTRIBUTION FILES

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).