FBB::Mbuf

libbobcat-dev_3.23.01-x.tar.gz

2005-2014


FBB::Mbuf(3bobcat)

FBB::Mbuf(3bobcat)

libbobcat-dev_3.23.01-x.tar.gz Message handler

2005-2014

NAME

FBB::Mbuf - std::streambuf handling messages

SYNOPSIS

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

DESCRIPTION

Objects of this class implement a std::streambuf class that are used to handle messages in a standardized way. Messages may be prefixed with order numbers and labels and/or line numbers.

By default all messages are inserted into the standard output stream, but other destinations (standard error, a named file, etc.) can easily be configured.

FBB::Mbuf objects themselves are std::streambuf objects, so they can be used to construct std::ostream objects. However, they are intended to be used by mstream(3bobcat) objects.

NAMESPACE

FBB
All elements mentioned in this man-page, are defined in the namespace FBB.

INHERITS FROM

std::streambuf

CONSTRUCTORS

As FBB::Mbuf inherits from std::streambuf the copy constructor is not available. Neither is the move constructor.

MEMBER FUNCTIONS

EXAMPLE

See the mstream(3bobcat) example.

FILES

bobcat/mbuf - defines the class interface

SEE ALSO

bobcat(7), exception(3bobcat), mstream(3bobcat)

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