tablespec(3bobcat)

tablespec3bobcat

Base class for the class fbb::table

Usage

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

Note: #include <bobcat/tablespec> is implied by #include <bobcat/table>

Overview

FBB::TableSpec is FBB::Table's base class. See table(3bobcat) for usage information. In this manual page only the specific characteristics of FBB::TableSpec are listed.

Namespace

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

Inherits from

-

Enumerations

The following enumerations are definedin th class FBB::TableSpec:

enum FillDirection
This enumeration holds two values:

o

Horizontal:
Used to request row-wise storage of table elements in an FBB::Table.

o

Vertical:
Used to request column-wise storage of table elements in an FBB::Table.

enum WidthType
This enumeration holds two values:

o

EqualWidth:
Used to request equal width for all columns of an FBB::Table.

o

ColumnWidth:
Used to request width-per-column for the columns of an FBB::Table.

Constructors

There are no public constructors in this class. FBB::TableSpec objects are constructed when FBB::Table objects are constructed.

Overloaded operators

o

std::ostream &operator<<(std::ostream &, FBB::TableSpec const &tableSpec):
This overloaded operator is normally used to insert an FBB::Table into a std::ostream. See table(3bobcat) for details.

Note that this operator is not defined in the namespace FBB. The overloaded assignment operator is not available.

Member function

o

void setWidth(FBB::TableSpec::WidthType type):
This member may be used to specify the width of indvidual or all columns of the tableSpec. Specify TableSpec::EqualWidth when all columns should have equal widths, specify TableSpec::ColumnWidth when each column should be as wide as its widest element.

Manpulators

o

FBB::equalWidth(FBB::TableSpec &tableSpec):
This manipulator is normally used to insert an FBB::Table object into a std::ostream, enforcing equal column widths. To use this manipulator, the header file <bobcat/equalwidth> must be inserted.

o

FBB::columnWidth(FBB::TableSpec &tableSpec):
This manipulator is normally used to insert an FBB::Table object into a std::ostream, enforcing column widths which are as wide as their widest elements. To use this manipulator, the header file <bobcat/columnwidth> must be inserted.

Examples

See table(3bobcat)

Files

bobcat/tableSpec - defines Table's baseclass interface;

Distribution files

o

bobcat_1.11.0-x.dsc: detached signature;

o

bobcat_1.11.0-x.tar.gz: source archive;

o

bobcat_1.11.0-x_i386.changes: change log;

o

libbobcat1_1.11.0-x_i386.deb: debian package holding the libraries;

o

libbobcat1-dev_1.11.0-x_i386.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'.

Bugs

None Reported.

Author

Frank B. Brokken ([email protected]).

From libbobcat1-dev 1.11.0-1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.