fmtflags flags() const;
Returns:
The format control information for both input and output
. fmtflags flags(fmtflags fmtfl);
Postconditions:
fmtfl == flags(). Returns:
The previous value of
flags(). fmtflags setf(fmtflags fmtfl);
Effects:
Sets
fmtfl in
flags(). Returns:
The previous value of
flags(). fmtflags setf(fmtflags fmtfl, fmtflags mask);
Effects:
Clears
mask in
flags(),
sets
fmtfl & mask
in
flags(). Returns:
The previous value of
flags(). void unsetf(fmtflags mask);
Effects:
Clears
mask in
flags(). streamsize precision() const;
Returns:
The precision
to generate on certain output conversions
. streamsize precision(streamsize prec);
Postconditions:
prec == precision(). Returns:
The previous value of
precision(). streamsize width() const;
Returns:
The minimum field width (number of characters) to generate on certain output
conversions
. streamsize width(streamsize wide);
Postconditions:
wide == width(). Returns:
The previous value of
width().