Anasazi  Version of the Day
List of all members
Anasazi::OutputManager< ScalarType > Class Template Referenceabstract

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 >:
Anasazi::BasicOutputManager< ScalarType >

Public Member Functions

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

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

◆ OutputManager()

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

Default constructor.

Definition at line 59 of file AnasaziOutputManager.hpp.

◆ ~OutputManager()

template<class ScalarType>
virtual Anasazi::OutputManager< ScalarType >::~OutputManager ( )
inlinevirtual

Destructor.

Definition at line 62 of file AnasaziOutputManager.hpp.

Member Function Documentation

◆ setVerbosity()

template<class ScalarType>
virtual void Anasazi::OutputManager< ScalarType >::setVerbosity ( int  vb)
inlinevirtual

Set the message output types for this manager.

Definition at line 69 of file AnasaziOutputManager.hpp.

◆ getVerbosity()

template<class ScalarType>
virtual int Anasazi::OutputManager< ScalarType >::getVerbosity ( ) const
inlinevirtual

Get the message output types for this manager.

Definition at line 72 of file AnasaziOutputManager.hpp.

◆ isVerbosity()

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 >.

◆ print()

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 >.

◆ stream()

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 >.


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