FBB::OFdStreambuf(3bobcat)

File Descriptor Output Stream Buffer
(libbobcat-dev_4.08.03-x.tar.gz)

2005-2018

NAME

FBB::OFdStreambuf - Output stream buffer initialized by a file descriptor

SYNOPSIS

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

DESCRIPTION

FBB::OFdStreambuf objects may be used as a std::streambuf of std::ostream objects to allow insertions into a file descriptor.

File descriptors are not defined within the context of C++, but they can be used on operating systems that support the concept. Realize that using file descriptors introduces operating system dependencies.

NAMESPACE

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

INHERITS FROM

std::streambuf

ENUMERATION

The public enumeration Mode defined in the class FBB::OFdStreamBuf has the following values:

CONSTRUCTORS

There are no copy or move constructors.

MEMBER FUNCTIONS

All members of std::streambuf are available, as FBB::OFdStreambuf inherits from this class. Some of the std::streambuf's member are overridden by FBB::OFdStreambuf, see below. The overloaded assignment operator is not available.

PROTECTED MEMBER FUNCTION

The member listed in this section implements the tasks of the comparably named virtual function in the class's private interface. This separates the redefinable interface from the user-interface. The class OFdStreambuf can, in accordance with Liskov's Substitution Principle, be used as a std:streambuf; but it also offers a facility for classes deriving from OFdStreambuf. This facility is listed here.

EXAMPLE

To do

FILES

bobcat/ofdstreambuf - defines the class interface

SEE ALSO

bobcat(7), ifdstreambuf(3bobcat), ofdstream(3bobcat), std::streambuf

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