Anasazi::BasicOutputManager< ScalarType > Class Template Reference

Anasazi's basic output manager for sending information of select verbosity levels to the appropriate output stream. More...

#include <AnasaziBasicOutputManager.hpp>

Inheritance diagram for Anasazi::BasicOutputManager< ScalarType >:

Anasazi::OutputManager< ScalarType > List of all members.

Public Member Functions

Constructors/Destructor
 BasicOutputManager (int vb=Anasazi::Errors, Teuchos::RCP< ostream > os=Teuchos::rcp(&std::cout, false))
 Default constructor.
virtual ~BasicOutputManager ()
 Destructor.
Set/Get methods
void setOStream (Teuchos::RCP< ostream > os)
 Set the output stream for this manager.
Teuchos::RCP< ostream > getOStream ()
 Get the output stream for this manager.
Output methods
bool isVerbosity (MsgType type) const
 Find out whether we need to print out information for this message type.
void print (MsgType type, const std::string output)
 Send some output to this output stream.
ostream & stream (MsgType type)
 Return a stream for outputting to.

Detailed Description

template<class ScalarType>
class Anasazi::BasicOutputManager< ScalarType >

Anasazi's basic output manager for sending information of select verbosity levels to the appropriate output stream.

Author:
Chris Baker, Ulrich Hetmaniuk, Rich Lehoucq, and Heidi Thornquist
Examples:

BlockDavidson/BlockDavidsonEpetraEx.cpp, BlockDavidson/BlockDavidsonEpetraExGen.cpp, LOBPCG/LOBPCGEpetraEx.cpp, LOBPCG/LOBPCGEpetraExGen.cpp, LOBPCG/LOBPCGEpetraExSimple.cpp, and MVOPTester/MVOPTesterEx.cpp.

Definition at line 57 of file AnasaziBasicOutputManager.hpp.


Constructor & Destructor Documentation

template<class ScalarType>
Anasazi::BasicOutputManager< ScalarType >::BasicOutputManager ( int  vb = Anasazi::Errors,
Teuchos::RCP< ostream >  os = Teuchos::rcp(&std::cout, false) 
)

Default constructor.

Definition at line 118 of file AnasaziBasicOutputManager.hpp.

template<class ScalarType>
virtual Anasazi::BasicOutputManager< ScalarType >::~BasicOutputManager (  )  [inline, virtual]

Destructor.

Definition at line 68 of file AnasaziBasicOutputManager.hpp.


Member Function Documentation

template<class ScalarType>
void Anasazi::BasicOutputManager< ScalarType >::setOStream ( Teuchos::RCP< ostream >  os  ) 

Set the output stream for this manager.

Definition at line 134 of file AnasaziBasicOutputManager.hpp.

template<class ScalarType>
Teuchos::RCP< ostream > Anasazi::BasicOutputManager< ScalarType >::getOStream (  ) 

Get the output stream for this manager.

Definition at line 139 of file AnasaziBasicOutputManager.hpp.

template<class ScalarType>
bool Anasazi::BasicOutputManager< ScalarType >::isVerbosity ( MsgType  type  )  const [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 144 of file AnasaziBasicOutputManager.hpp.

template<class ScalarType>
void Anasazi::BasicOutputManager< ScalarType >::print ( MsgType  type,
const std::string  output 
) [virtual]

Send some output to this output stream.

Implements Anasazi::OutputManager< ScalarType >.

Definition at line 152 of file AnasaziBasicOutputManager.hpp.

template<class ScalarType>
ostream & Anasazi::BasicOutputManager< ScalarType >::stream ( MsgType  type  )  [virtual]

Return a stream for outputting to.

Implements Anasazi::OutputManager< ScalarType >.

Definition at line 159 of file AnasaziBasicOutputManager.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:45:19 2009 for Anasazi by doxygen 1.4.7