18 : _output_warehouse(output_warehouse), _oss(
std::make_shared<
std::ostringstream>())
27 if (manip == (std::basic_ostream<char> & (*)(std::basic_ostream<char> &)) & std::endl)
46 return _oss->precision();
52 return _oss->precision(new_precision);
55std::ios_base::fmtflags
61std::ios_base::fmtflags
64 return _oss->flags(new_flags);
CoutType &(* StandardEndLine)(CoutType &)
A helper class for re-directing output streams to Console output objects form MooseObjects.
const ConsoleStream & operator<<(const StreamType &s) const
The output stream operator.
unsigned long long int numPrinted() const
The number of times something has been printed.
static std::mutex _stream_mutex
Mutex to prevent concurrent read/writes, write/writes.
std::ios_base::fmtflags flags() const
Return the current flags.
std::streamsize precision() const
Return the current precision.
OutputWarehouse & _output_warehouse
Reference to the OutputWarhouse that contains the Console output objects.
ConsoleStream(OutputWarehouse &output_warehouse)
Constructor.
std::shared_ptr< std::ostringstream > _oss
The stream for buffering the message This stupidly has to be a shared pointer because of something in...
void unsetf(std::ios_base::fmtflags mask) const
Unset format flags.
Class for storing and utilizing output objects.
unsigned long long int numPrinted() const
The number of times something has been printed.
void mooseConsole()
Send current output buffer to Console output objects.