9 #include <stk_util/diag/WriterManip.hpp> 14 Writer &
operator<<(Writer &dout, _setw set_width) {
15 if (
dout.shouldPrint())
16 dout.getStream().width(set_width.m_width);
21 operator<<(Writer &dout, _setprecision set_precision) {
22 if (
dout.shouldPrint())
23 dout.getStream().precision(set_precision.m_precision);
29 if (
dout.shouldPrint())
30 dout.getStream().fill(set_fill.m_fill);
35 operator<<(Writer &dout, _resetiosflags reset_flags) {
36 if (
dout.shouldPrint())
37 dout.getStream().setf(std::ios_base::fmtflags(0), reset_flags.m_flags);
42 operator<<(Writer &dout, _setiosflags set_flags) {
43 if (
dout.shouldPrint())
44 dout.getStream().setf(set_flags.m_flags);
52 if (
dout.shouldPrint())
53 dout.getStream().setf(std::ios_base::fixed, std::ios_base::floatfield);
61 if (
dout.shouldPrint())
62 dout.getStream().setf(std::ios_base::scientific, std::ios_base::floatfield);
70 if (
dout.shouldPrint())
71 dout.getStream().setf(std::ios_base::dec, std::ios_base::basefield);
79 if (
dout.shouldPrint())
80 dout.getStream().setf(std::ios_base::hex, std::ios_base::basefield);
88 if (
dout.shouldPrint())
89 dout.getStream().setf(std::ios_base::oct, std::ios_base::basefield);
std::ostream & dout()
Diagnostic output stream.
std::ostream & operator<<(std::ostream &s, const Bucket &k)
Print the part names for which this bucket is a subset.