Anasazi::OutputManager< ScalarType > Class Template Reference

Output managers remove the need for the eigensolver to know any information about the required output. Calling isVerbosity( MsgType type ) informs the solver if it is supposed to output the information corresponding to the message type. More...

#include <AnasaziOutputManager.hpp>

Inheritance diagram for Anasazi::OutputManager< ScalarType >:

Inheritance graph
[legend]

List of all members.

Public Member Functions

Constructors/Destructor
 OutputManager (int vb=Anasazi::Errors)
 Default constructor.
virtual ~OutputManager ()
 Destructor.
Set/Get methods
virtual void setVerbosity (int vb)
 Set the message output types for this manager.
virtual int getVerbosity () const
 Get the message output types for this manager.
Output methods
virtual bool isVerbosity (MsgType type) const =0
 Find out whether we need to print out information for this message type.
virtual void print (MsgType type, const std::string output)=0
 Send output to the output manager.
virtual std::ostream & stream (MsgType type)=0
 Create a stream for outputting to.

Protected Attributes

int vb_


Detailed Description

template<class ScalarType>
class Anasazi::OutputManager< ScalarType >

Output managers remove the need for the eigensolver to know any information about the required output. Calling isVerbosity( MsgType type ) informs the solver if it is supposed to output the information corresponding to the message type.

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

Definition at line 51 of file AnasaziOutputManager.hpp.


Constructor & Destructor Documentation

template<class ScalarType>
Anasazi::OutputManager< ScalarType >::OutputManager ( int  vb = Anasazi::Errors  )  [inline]

Default constructor.

Definition at line 59 of file AnasaziOutputManager.hpp.

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

Destructor.

Definition at line 62 of file AnasaziOutputManager.hpp.


Member Function Documentation

template<class ScalarType>
virtual int Anasazi::OutputManager< ScalarType >::getVerbosity (  )  const [inline, virtual]

Get the message output types for this manager.

Definition at line 72 of file AnasaziOutputManager.hpp.

template<class ScalarType>
virtual bool Anasazi::OutputManager< ScalarType >::isVerbosity ( MsgType  type  )  const [pure 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.

Implemented in Anasazi::BasicOutputManager< ScalarType >.

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

Send output to the output manager.

Implemented in Anasazi::BasicOutputManager< ScalarType >.

template<class ScalarType>
virtual void Anasazi::OutputManager< ScalarType >::setVerbosity ( int  vb  )  [inline, virtual]

Set the message output types for this manager.

Definition at line 69 of file AnasaziOutputManager.hpp.

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

Create a stream for outputting to.

Implemented in Anasazi::BasicOutputManager< ScalarType >.


Member Data Documentation

template<class ScalarType>
int Anasazi::OutputManager< ScalarType >::vb_ [protected]

Definition at line 107 of file AnasaziOutputManager.hpp.


The documentation for this class was generated from the following file:

Generated on Wed Oct 21 14:28:11 2009 for Anasazi by  doxygen 1.5.9