FBB::TableSupport

FBB::TableSupport

libbobcat1-dev_2.02.03-x.tar.gz

2005-2009


FBB::TableSupport(3bobcat)

FBB::TableSupport(3bobcat)

libbobcat1-dev_2.02.03-x.tar.gz Table Support Base class

2005-2009

NAME

FBB::TableSupport - Defines protocol 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 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 implement plain, blank-space delimited table elements.

When this is not appropriate, a class should be derived from FBB::TableSupport overriding those members that violate the programmer's current intentions. Then, an object of this derived class may be presented to one of the FBB::Table constructors, resulting in modifications of the default procedures used to disaplay separators between table elements.

NAMESPACE

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

INHERITS FROM

-

PUBLIC TYPE

The type HLine is a struct having the following fields:


    size_t d_row;
    size_t d_begin;
    size_t d_end;
        
Furthermore, it has a constructor that is defined as follows: Objects of type TableSupport::HLine may be inserted into a TableSupport object to indicate what section(s) of a horizontal separator of a table-row should be displayed or skipped (see below at the Type-type description).

PROTECTED TYPES

The following types may be used by classes derived from TableSupport:

CONSTRUCTORS

The default constructor and standard copy constructor are available.

OVERLOADED OPERATORS

The overloaded assignment operator is available.

NON_VIRTUAL MEMBER FUNCTIONS

VIRTUAL MEMBER FUNCTIONS

The following member functions may be overridden in derived classes. There default implementations are given together with their prototypes, below:

PROTECTED MEMBER FUNCTIONS

The following members are available to classes derived from TableSupport objects, e.g, to be used in overridden hline() or vline() members.

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)

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