Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlm(3bobcat) [suse man page]

FBB::mlm(3bobcat)                                             OFoldStream manipulator                                            FBB::mlm(3bobcat)

NAME
FBB::mlm - Manipulator modifying left margins of OFoldStream objects SYNOPSIS
#include <bobcat/ofoldstream> or #include <bobcat/ofoldstreambuf> Linking option: -lbobcat DESCRIPTION
The mlm class implements a manipulator that can be inserted into OFoldStream objects to modify the stream's left margin by a requested amount. The request cannot result in a negative left margin value. If a negative left margin would be the arithmetic result of the request then left margin 0 will silently be used. Depending on the tab-setting of the OFoldStream the inserted value represents the number of blank space characters or the number of tab-characters that will be added to the left margin. The request will be processed at the next newline character or std::flush or std::endl manipulator that is inserted into the stream. If a line is still empty once an mlm object and a flush manipulator are inserted into the stream then the new left margin will be effective at the next word inserted into that line (cf., the example section below) A bad_cast exception is thrown when the manipulator is inserted into an ostream that is not using a OFoldStreambuf buffer. NAMESPACE
FBB All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB. INHERITS FROM
- CONSTRUCTOR
o mlm(int addValue): The standard copy constructor is available. MEMBER FUNCTIONS
There are no public or protected member functions in this class. EXAMPLE
#include <iostream> #include <bobcat/ofoldstream> using namespace std; using namespace FBB; int main() { OFoldStream out(cout, 0, 80); out << "hello world (left margin is 0)" << mlm(4) << " " "this uses a 4 character wide left margin " << mlm(-10) << flush << "left margin -6 changed to 0, active on this line "; return 0; } FILES
bobcat/mlm - defines the class interface SEE ALSO
bobcat(7), manipulators(3bobcat), lm(3bobcat), ofoldstream(3bobcat) BUGS
None Reported. DISTRIBUTION FILES
o bobcat_3.01.00-x.dsc: detached signature; o bobcat_3.01.00-x.tar.gz: source archive; o bobcat_3.01.00-x_i386.changes: change log; o libbobcat1_3.01.00-x_*.deb: debian package holding the libraries; o libbobcat1-dev_3.01.00-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). libbobcat1-dev_3.01.00-x.tar.gz 2005-2012 FBB::mlm(3bobcat)

Check Out this Related Man Page

FBB::Manipulators(3bobcat)                                         Manipulators                                         FBB::Manipulators(3bobcat)

NAME
FBB::Manipulators - Manipulators defined in the FBB namespace DESCRIPTION
Various manipulators are defined within the FBB namespace. This manual page provides an overview of the manipulators that are currently defined in the FBB namespace. MANIPULATORS
o FBB::center: defined in bobcat/align This manipulator can be specified when constructing an FBB::Align object to indicate that a table column should center its contents. o FBB::decindent: defined in bobcat/indent This manipulator reduces the indentation level. o FBB::def: defined in bobcat/table This manipulator `completes' a Table object to a full rectangular object. It can be inserted into a Table object. o FBB::err: defined in bobcat/msg Generates an error message. o FBB::fatal: defined in bobcat/msg Generates a fatal message, followed by an Errno(1) exception. o FBB::fs: defined in bobcat/tablebuf Starts the definition of the next element in a table. o FBB::info: defined in bobcat/msg Generates an informational message. o FBB::incindent: defined in bobcat/indent This manipulator will increment the indentation level. o FBB::indent: defined in bobcat/indent This manipulator inserts the currently defined number of indentation blanks into an ostream. o FBB::indentdec: defined in bobcat/indent This manipulator will insert, then reduce the indentation level. o FBB::indentinc: defined in bobcat/indent This manipulator will insert, then increment the indentation level. o FBB::lm: defined in bobcat/ofoldstreambuf This manipulator sets the left margin of FBB::OFoldStream objects. o FBB::mlm: defined in bobcat/ofoldstreambuf This manipulator modifies (alters) the left margin of FBB::OFoldStream objects. o FBB::nlindent: defined in bobcat/indent This manipulator will insert a newline, then indent. o FBB::rs: defined in bobcat/tablebuf Starts the definition of the next row in a table. o FBB::spool: defined in bobcat/msg Generates a (partial) informational message. o FBB::warning: defined in bobcat/msg Generates a warning message. SEE ALSO
bobcat(7), columnwidth(3bobcat), equalwidth(3bobcat), errno(3bobcat), indent(3bobcat), lm(3bobcat), mlm(3bobcat), msg(3bobcat), table(3bob- cat) BUGS
None Reported. DISTRIBUTION FILES
o bobcat_3.01.00-x.dsc: detached signature; o bobcat_3.01.00-x.tar.gz: source archive; o bobcat_3.01.00-x_i386.changes: change log; o libbobcat1_3.01.00-x_*.deb: debian package holding the libraries; o libbobcat1-dev_3.01.00-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). libbobcat1-dev_3.01.00-x.tar.gz 2005-2012 FBB::Manipulators(3bobcat)
Man Page