Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
panzer::OutputStream Class Referenceabstract

Interface for handling output in Panzer. More...

#include <Panzer_OutputStream.hpp>

Inheritance diagram for panzer::OutputStream:
Inheritance graph
[legend]

Public Member Functions

virtual ~OutputStream ()
 
virtual void setOStream (const Teuchos::RCP< Teuchos::FancyOStream > &os)=0
 
virtual Teuchos::RCP
< Teuchos::FancyOStream
getOStream () const =0
 
virtual Teuchos::FancyOStreamout () const =0
 
virtual Teuchos::FancyOStreampout () const =0
 
virtual void setVerbosityLevel (EVerbosityLevel vl)=0
 
virtual EVerbosityLevel getVerbosityLevel () const =0
 
virtual bool doOutput (EVerbosityLevel vl, bool only_for_exact_level=false) const =0
 Returns true if vl is equal to or greater than the object's verbosity level. More...
 

Detailed Description

Interface for handling output in Panzer.

This class carries two ostreams used in SIMD applications. The first (out), an ostream that only prints on a specific process that is designated as the print process. The second is an ostream (pout) that will print from all processes. Classes can inherit off this base class to give all objects a common look and feel for output.

Definition at line 68 of file Panzer_OutputStream.hpp.

Constructor & Destructor Documentation

virtual panzer::OutputStream::~OutputStream ( )
inlinevirtual

Definition at line 72 of file Panzer_OutputStream.hpp.

Member Function Documentation

virtual void panzer::OutputStream::setOStream ( const Teuchos::RCP< Teuchos::FancyOStream > &  os)
pure virtual
virtual Teuchos::RCP<Teuchos::FancyOStream> panzer::OutputStream::getOStream ( ) const
pure virtual
virtual Teuchos::FancyOStream& panzer::OutputStream::out ( ) const
pure virtual

returns ostream that prints only to print process

Implemented in panzer::OutputStreamDefaultImpl.

virtual Teuchos::FancyOStream& panzer::OutputStream::pout ( ) const
pure virtual

returns ostream that prints on all processes

Implemented in panzer::OutputStreamDefaultImpl.

virtual void panzer::OutputStream::setVerbosityLevel ( EVerbosityLevel  vl)
pure virtual
virtual EVerbosityLevel panzer::OutputStream::getVerbosityLevel ( ) const
pure virtual
virtual bool panzer::OutputStream::doOutput ( EVerbosityLevel  vl,
bool  only_for_exact_level = false 
) const
pure virtual

Returns true if vl is equal to or greater than the object's verbosity level.

Parameters
vl[in] Verbosity level for comparison
only_for_exact_level[in] Forces the compaison to be the exact vebosity level instead of equal to or greater than

Implemented in panzer::OutputStreamDefaultImpl.


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