mstring  1.3.1
Generates C++ message functions and classes from localized message definitions
MFormat.hh File Reference

Writes one {$expression;format} format as a statement on stream. More...

#include "MWriter.hh"
+ Include dependency graph for MFormat.hh:
+ This graph shows which files directly or indirectly include this file:

Classes

class  FormatWriter
 

Detailed Description

Writes one {$expression;format} format as a statement on stream.

A format that starts with '.' or calls a std::ostream member (width(4), precision(2), ‘fill('0’),setf(...),unsetf(...), flags(...),imbue(...)) becomes a member call,stream.precision(2);. Anything else is a manipulator,stream << std::setw(4);`.