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 anFBB::Table.
- o
-
Vertical:
Used to request column-wise storage of table elements in anFBB::Table.
enum WidthType
This enumeration holds two values:
o
|
|
|---|---|
o
|
|
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 anFBB::Tableinto astd::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. SpecifyTableSpec::EqualWidthwhen all columns should have equal widths, specifyTableSpec::ColumnWidthwhen each column should be as wide as its widest element.
Manpulators
- o
-
FBB::equalWidth(FBB::TableSpec &tableSpec):
This manipulator is normally used to insert anFBB::Tableobject into astd::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 anFBB::Tableobject into astd::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'.