Anasazi
Version of the Day
|
Anasazi's basic output manager for sending information of select verbosity levels to the appropriate output stream. More...
#include <AnasaziBasicOutputManager.hpp>
Public Member Functions | |
Constructors/Destructor | |
BasicOutputManager (int vb=Anasazi::Errors, Teuchos::RCP< ostream > os=Teuchos::rcpFromRef(std::cout), int printingRank=0) | |
Default constructor. More... | |
virtual | ~BasicOutputManager () |
Destructor. More... | |
Set/Get methods | |
void | setOStream (Teuchos::RCP< ostream > os) |
Set the output stream for this manager. More... | |
Teuchos::RCP< ostream > | getOStream () |
Get the output stream for this manager. More... | |
Output methods | |
bool | isVerbosity (MsgType type) const |
Find out whether we need to print out information for this message type. More... | |
void | print (MsgType type, const std::string output) |
Send some output to this output stream. More... | |
ostream & | stream (MsgType type) |
Return a stream for outputting to. More... | |
![]() | |
OutputManager (int vb=Anasazi::Errors) | |
Default constructor. More... | |
virtual | ~OutputManager () |
Destructor. More... | |
virtual void | setVerbosity (int vb) |
Set the message output types for this manager. More... | |
virtual int | getVerbosity () const |
Get the message output types for this manager. More... | |
Anasazi's basic output manager for sending information of select verbosity levels to the appropriate output stream.
Definition at line 57 of file AnasaziBasicOutputManager.hpp.
Anasazi::BasicOutputManager< ScalarType >::BasicOutputManager | ( | int | vb = Anasazi::Errors , |
Teuchos::RCP< ostream > | os = Teuchos::rcpFromRef(std::cout) , |
||
int | printingRank = 0 |
||
) |
Default constructor.
Definition at line 120 of file AnasaziBasicOutputManager.hpp.
|
inlinevirtual |
Destructor.
Definition at line 70 of file AnasaziBasicOutputManager.hpp.
void Anasazi::BasicOutputManager< ScalarType >::setOStream | ( | Teuchos::RCP< ostream > | os | ) |
Set the output stream for this manager.
Definition at line 137 of file AnasaziBasicOutputManager.hpp.
Teuchos::RCP< ostream > Anasazi::BasicOutputManager< ScalarType >::getOStream | ( | ) |
Get the output stream for this manager.
Definition at line 142 of file AnasaziBasicOutputManager.hpp.
|
virtual |
Find out whether we need to print out information for this message type.
This method is used by the solver to determine whether computations are necessary for this message type.
Implements Anasazi::OutputManager< ScalarType >.
Definition at line 147 of file AnasaziBasicOutputManager.hpp.
|
virtual |
Send some output to this output stream.
Implements Anasazi::OutputManager< ScalarType >.
Definition at line 155 of file AnasaziBasicOutputManager.hpp.
|
virtual |
Return a stream for outputting to.
Implements Anasazi::OutputManager< ScalarType >.
Definition at line 162 of file AnasaziBasicOutputManager.hpp.