151 std::ostream& stream)
173 stream << std::setprecision(
precision) << std::scientific;
179 stream << std::setprecision(
precision) << std::fixed;
316 std::ostream & (*manip)(std::ostream&))
326 template <
typename T>
SPxOut::struct_Verbosity verb(const SPxOut::Verbosity &v)
manipulator to be used in an output statement
virtual void setStream(const Verbosity &verbosity, std::ostream &stream)
Sets the stream for the specified verbosity level.
std::ostream ** m_streams
array of pointers to internal streams, indexed by verbosity level
Verbosity m_verbosity
verbosity level
virtual ~SPxOut()
destructor
helper struct for the output operator
static void setScientific(std::ostream &stream, int precision=8)
Sets the precision of the stream to 16 and the floatfield to scientifix.
std::ostream & getStream(const Verbosity &verbosity) const
Returns the stream for the specified verbosity level.
std::ostream & getCurrentStream() const
Returns the stream for the current verbosity.
static void setFixed(std::ostream &stream, int precision=8)
Sets the precision of the stream to 8 and the floatfield to fixed.
std::ostream & operator<<(std::ostream &s, const VectorBase< R > &vec)
Output operator.
Wrapper for several output streams. A verbosity level is used to decide which stream to use and wheth...
virtual void setVerbosity(const Verbosity &v)
Verbosity getVerbosity() const
Debugging, floating point type and parameter definitions.
Verbosity v_
verbosity level
Everything should be within this namespace.
std::streamsize precision() const
Verbosity
Verbosity level.
SPxOut & operator=(const SPxOut &)
assignment operator