Loading...
Searching...
No Matches
SPxOut Class Reference Wrapper for several output streams. A verbosity level is used to decide which stream to use and whether to really print a given message. Regardless of whether the verbosity level is set via a manipulator or via the member function, it is persistent until a new value is set. More...
Detailed DescriptionWrapper for several output streams. A verbosity level is used to decide which stream to use and whether to really print a given message. Regardless of whether the verbosity level is set via a manipulator or via the member function, it is persistent until a new value is set. Most ostream member functions are not provided here; use the corresponding stream manipulators (e.g., spxout << verb( SPxOut::WARNING ) << std::setw( 15 ) << 42 << std::endl;
SPxOut::struct_Verbosity verb(const SPxOut::Verbosity &v) manipulator to be used in an output statement Definition spxout.h:227 or spxout.setVerbosity( SPxOut::WARNING );
spxout << std::setw( 15 ) << 42 << std::endl;
instead of spxout << std::setw( 15 ) << verb( SPxOut::WARNING ) << 42 << std::endl;
in order to make sure that Member Enumeration Documentation◆ VerbosityConstructor & Destructor Documentation◆ SPxOut() [1/2]
constructor Definition at line 32 of file spxout.cpp. References SPxOut::DEBUG, SPxOut::ERROR, SPxOut::INFO3, SPxOut::m_streams, soplex::spx_alloc(), and SPxOut::WARNING. ◆ ~SPxOut()
destructor Definition at line 47 of file spxout.cpp. References SPxOut::m_streams, and soplex::spx_free(). ◆ SPxOut() [2/2]copy constructor Definition at line 63 of file spxout.cpp. References SPxOut::DEBUG, SPxOut::ERROR, SPxOut::INFO3, SPxOut::m_streams, SPxOut::m_verbosity, soplex::spx_alloc(), and SPxOut::WARNING. Member Function Documentation◆ getCurrentStream()
Returns the stream for the current verbosity. Definition at line 173 of file spxout.h. References SPxOut::getStream(), and SPxOut::getVerbosity(). Referenced by SPxOut::good(), SPxOut::operator!(), and SPxOut::precision(). ◆ getStream()Returns the stream for the specified verbosity level. Definition at line 166 of file spxout.h. References SPxOut::m_streams. Referenced by SPxOut::getCurrentStream(). ◆ getVerbosity()
Definition at line 126 of file spxout.h. References SPxOut::m_verbosity. Referenced by SPxOut::getCurrentStream(). ◆ good()
Definition at line 138 of file spxout.h. References SPxOut::getCurrentStream(). ◆ operator!()
Definition at line 143 of file spxout.h. References SPxOut::getCurrentStream(). ◆ operator=()assignment operator Definition at line 52 of file spxout.cpp. References SPxOut::DEBUG, SPxOut::INFO3, SPxOut::m_streams, and SPxOut::m_verbosity. ◆ precision()
Definition at line 148 of file spxout.h. References SPxOut::getCurrentStream(). Referenced by SPxOut::setFixed(), and SPxOut::setScientific(). ◆ setFixed()Sets the precision of the stream to 8 and the floatfield to fixed. Definition at line 186 of file spxout.h. References SPxOut::precision(). Referenced by SPxLPBase< R >::printProblemStatistics(). ◆ setScientific()Sets the precision of the stream to 16 and the floatfield to scientifix. Definition at line 180 of file spxout.h. References SPxOut::precision(). ◆ setStream()Sets the stream for the specified verbosity level. Definition at line 159 of file spxout.h. References SPxOut::m_streams. ◆ setVerbosity()Definition at line 120 of file spxout.h. References SPxOut::m_verbosity. Referenced by soplex::operator<<(). Member Data Documentation◆ m_streams
array of pointers to internal streams, indexed by verbosity level Definition at line 200 of file spxout.h. Referenced by SPxOut::getStream(), SPxOut::operator=(), SPxOut::setStream(), SPxOut::SPxOut(), SPxOut::SPxOut(), and SPxOut::~SPxOut(). ◆ m_verbosity
verbosity level Definition at line 198 of file spxout.h. Referenced by SPxOut::getVerbosity(), SPxOut::operator=(), SPxOut::setVerbosity(), and SPxOut::SPxOut().
|