FBB::ISharedStream

libbobcat-dev_3.22.00-x.tar.gz

2005-2014


FBB::ISharedStream(3bobcat)

FBB::ISharedStream(3bobcat)

libbobcat-dev_3.22.00-x.tar.gz std::istream on shared memory

2005-2014

NAME

FBB::ISharedStream - std::istream operations on shared memory

SYNOPSIS

#include <bobcat/isharedstream>
Linking option: -lpthread -lbobcat

DESCRIPTION

This class offers the features of the std::istream class, operating on shared memory.

NAMESPACE

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

INHERITS FROM

FBB::ISharedStreambuf (private inheritance),
std::istream,
FBB::SharedEnum__ (cf. sharedmemory(3bobcat) for a description of this last base class).

CONSTRUCTORS

Copy and move constructors are not available.

OVERLOADED OPERATORS

The overloaded move and copy assignment operators are not available.

MEMBER FUNCTIONS

All members of std::istream and std::ostream and the enum values kB, MB, and GB, defined by FBB::ISharedEnum__ are available.

EXAMPLE

See the sharedstream(3bobcat) man page.

FILES

bobcat/isharedstream - defines the class interface

SEE ALSO

bobcat(7), chmod(1), osharedstream(3bobcat), sharedblock(3bobcat), sharedmemory(3bobcat), sharedmutex(3bobcat), sharedpos(3bobcat), sharedsegment(3bobcat), sharedstream(3bobcat), sharedstreambuf(3bobcat)

BUGS

Note that by default exceptions thrown from within a std::stream object are caught by the stream object, setting its ios::failbit flag. To allow exceptions to leave a stream object, its exceptions member can be called, e.g., using:

    myStream.exceptions(ios::failbit | ios::badbit | ios::eofbit);
        

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