FBB::OFdStreambuf

FBB::OFdStreambuf

libbobcat1-dev_2.02.03-x.tar.gz

2005-2009


FBB::OFdStreambuf(3bobcat)

FBB::OFdStreambuf(3bobcat)

libbobcat1-dev_2.02.03-x.tar.gz File Descriptor Output Stream Buffer

2005-2009

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 extractions from 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 is no copy constructor.

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. Note that there is no overloaded assignment operator available for this class.

EXAMPLE

To do

FILES

bobcat/ofdstreambuf - defines the class interface

SEE ALSO

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

BUGS

Starting with bobcat version 1.7.0, open file descriptors will be closed when the object is destroyed or if the object is re-opened. Note that this differs from earlier implementations, in which the file descriptor remained open.

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