15 #include <stk_util/util/IndentStreambuf.hpp> 16 #include <stk_util/diag/Writer.hpp> 21 WriterThrowSafe::WriterThrowSafe(
24 m_depth(writer.getDepth())
28 WriterThrowSafe::~WriterThrowSafe()
30 m_writer.restoreDepth(m_depth);
35 std::streambuf * writer_streambuf,
39 m_printMask(print_mask),
42 m_writerStream(writer_streambuf)
74 m_lineMaskStack.resetDepth();
88 m_lineMaskStack.pushDepth();
105 m_lineMaskStack.resetDepth().pop();
119 m_lineMaskStack.popLineMask();
138 std::ios_base & (*f)(std::ios_base&))
148 std::ostream & (*f)(std::ostream&))
189 const std::string & s)
223 const long double & x)
247 const unsigned int & x)
271 const unsigned long & x)
293 const unsigned long long & x)
316 const unsigned short & x)
Writer & push()
Member function push is a manipulator which increases the line mask depth by one. ...
Writer & resetLineMask()
Member function pop is a manipulator which decreases the line mask depth by one, but not less than ze...
std::ostream & getStream()
Member function getStream returns the output stream.
bool shouldPrint()
Member function shouldPrint returns true if the line should print.
Writer & dendl()
Member function dendl is a manipulator which sets the output stream to a new line.
Writer & pop()
Member function pop is a manipulator which decreases the line mask depth by one, but not less than ze...
Class Writer implements a runtime selectable diagnostic output writer to aid in the development and d...
Writer & dflush()
Member function dflush flushes the output stream.
Writer & operator<<(Writer &(*f)(Writer &))
Member function operator<< is the manipulator instantiation function.
~Writer()
Destroys a Writer instance.