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