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:252 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◆ Verbosity
Constructor & Destructor Documentation◆ SPxOut() [1/2]
constructor Definition at line 32 of file spxout.cpp. References DEBUG, ERROR, INFO3, m_streams, m_verbosity, soplex::spx_alloc(), and WARNING. Referenced by operator=(), and SPxOut(). ◆ ~SPxOut()
◆ SPxOut() [2/2]copy constructor Definition at line 63 of file spxout.cpp. References DEBUG, ERROR, INFO3, m_streams, m_verbosity, soplex::spx_alloc(), SPxOut(), and WARNING. Member Function Documentation◆ debug() [1/2]
template<typename T, typename... Args, typename std::enable_if< !std::is_base_of< EnableDebugOutput, T >::value, int >::type = 0>
Definition at line 203 of file spxout.h. Referenced by SVSetBase< Real >::countUnusedMem(), SVSetBase< Real >::deleteVec(), SVSetBase< Real >::ensureMem(), SVSetBase< Real >::memPack(), SVSetBase< Real >::memRemax(), MPSInput::readLine(), SPxBasisBase< Real >::setStatus(), and SVSetBase< Real >::xtend(). ◆ debug() [2/2]
template<typename T, typename... Args, typename std::enable_if< std::is_base_of< EnableDebugOutput, T >::value, int >::type = 0>
◆ getCurrentStream()
Returns the stream for the current verbosity. Definition at line 178 of file spxout.h. References getStream(), and getVerbosity(). Referenced by good(), operator!(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), soplex::operator<<(), and precision(). ◆ getStream()
Returns the stream for the specified verbosity level. Definition at line 171 of file spxout.h. References m_streams. Referenced by getCurrentStream(). ◆ getVerbosity()
◆ good()
Definition at line 143 of file spxout.h. References getCurrentStream(). ◆ operator!()
Definition at line 148 of file spxout.h. References getCurrentStream(). ◆ operator=()assignment operator Definition at line 52 of file spxout.cpp. References DEBUG, INFO3, m_streams, m_verbosity, and SPxOut(). ◆ precision()
Definition at line 153 of file spxout.h. References getCurrentStream(). Referenced by setFixed(), and setScientific(). ◆ setFixed()
Sets the precision of the stream to 8 and the floatfield to fixed. Definition at line 191 of file spxout.h. References precision(). Referenced by SPxLPBase< Real >::printProblemStatistics(). ◆ setScientific()
Sets the precision of the stream to 16 and the floatfield to scientifix. Definition at line 185 of file spxout.h. References precision(). ◆ setStream()
◆ setVerbosity()
Definition at line 125 of file spxout.h. References m_verbosity. Referenced by soplex::operator<<(). Member Data Documentation◆ m_streams
array of pointers to internal streams, indexed by verbosity level Definition at line 225 of file spxout.h. Referenced by getStream(), operator=(), setStream(), SPxOut(), SPxOut(), and ~SPxOut(). ◆ m_verbosity
verbosity level Definition at line 223 of file spxout.h. Referenced by getVerbosity(), operator=(), setVerbosity(), SPxOut(), and SPxOut().
|