FBB::IFdStream(3bobcat)
NAME
FBB::Ifdstream - Input Stream initialized by a File Descriptor
SYNOPSIS
#include <bobcat/ifdstream>
DESCRIPTION
FBB::IFdStream objects may be used to extract information from a device
whose file descriptor is available.
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.
Note that sockets can be used as file descriptors.
NAMESPACE
FBB
All constructors, members, operators and manipulators, mentioned in
this man-page, are defined in the namespace FBB.
INHERITS FROM
std::istream
CONSTRUCTORS
- o IFdStream(int fd, size_t n = 1):
- The constructor initializes the object to read from descriptor fd, using a buffer of size n, by default having size 1. The copy constructor is not available.
MEMBER FUNCTIONS
All members of std::istream are available, as FBB::IFdStream inherits
from this class. There are no additional members.
EXAMPLE
See the clientsocket(3bobcat) man-page for an example showing how to
use IFdStream.
FILES
bobcat/ifdstream - defines the class interface
SEE ALSO
bobcat(7), ifdstreambuf(3bobcat), ofdstream(3bobcat)
BUGS
None Reported.
DISTRIBUTION FILES
o bobcat_2.08.01-x.dsc: detached signature;
o bobcat_2.08.01-x.tar.gz: source archive;
o bobcat_2.08.01-x_i386.changes: change log;
- o libbobcat1_2.08.01-x_*.deb: debian package holding the
- libraries;
- o libbobcat1-dev_2.08.01-x_*.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'.
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).