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

Default implementation. More...

#include <Panzer_OutputStream_DefaultImpl.hpp>

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

Public Member Functions

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

Private Attributes

Teuchos::RCP
< Teuchos::FancyOStream
m_out
 
Teuchos::RCP
< Teuchos::FancyOStream
m_pout
 
EVerbosityLevel m_level
 

Detailed Description

Default implementation.

This class carries two ostreams used in SIMD applications. The first, an ostream only prints from a single process that is designated as the print process. Teh second is an ostream 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 59 of file Panzer_OutputStream_DefaultImpl.hpp.

Constructor & Destructor Documentation

panzer::OutputStreamDefaultImpl::OutputStreamDefaultImpl ( )

Definition at line 49 of file Panzer_OutputStream_DefaultImpl.cpp.

panzer::OutputStreamDefaultImpl::~OutputStreamDefaultImpl ( )

Definition at line 52 of file Panzer_OutputStream_DefaultImpl.cpp.

Member Function Documentation

void panzer::OutputStreamDefaultImpl::setOStream ( const Teuchos::RCP< Teuchos::FancyOStream > &  os)
virtual

Implements panzer::OutputStream.

Definition at line 56 of file Panzer_OutputStream_DefaultImpl.cpp.

Teuchos::RCP< Teuchos::FancyOStream > panzer::OutputStreamDefaultImpl::getOStream ( ) const
virtual

Implements panzer::OutputStream.

Definition at line 66 of file Panzer_OutputStream_DefaultImpl.cpp.

Teuchos::FancyOStream & panzer::OutputStreamDefaultImpl::out ( ) const
virtual

returns ostream that prints only to print process

Implements panzer::OutputStream.

Definition at line 71 of file Panzer_OutputStream_DefaultImpl.cpp.

Teuchos::FancyOStream & panzer::OutputStreamDefaultImpl::pout ( ) const
virtual

returns ostream that prints on all processes

Implements panzer::OutputStream.

Definition at line 76 of file Panzer_OutputStream_DefaultImpl.cpp.

void panzer::OutputStreamDefaultImpl::setVerbosityLevel ( EVerbosityLevel  vl)
virtual

Implements panzer::OutputStream.

Definition at line 81 of file Panzer_OutputStream_DefaultImpl.cpp.

EVerbosityLevel panzer::OutputStreamDefaultImpl::getVerbosityLevel ( ) const
virtual

Implements panzer::OutputStream.

Definition at line 86 of file Panzer_OutputStream_DefaultImpl.cpp.

bool panzer::OutputStreamDefaultImpl::doOutput ( EVerbosityLevel  vl,
bool  only_for_exact_level = false 
) const
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

Implements panzer::OutputStream.

Definition at line 92 of file Panzer_OutputStream_DefaultImpl.cpp.

Member Data Documentation

Teuchos::RCP<Teuchos::FancyOStream> panzer::OutputStreamDefaultImpl::m_out
private

Definition at line 83 of file Panzer_OutputStream_DefaultImpl.hpp.

Teuchos::RCP<Teuchos::FancyOStream> panzer::OutputStreamDefaultImpl::m_pout
private

Definition at line 84 of file Panzer_OutputStream_DefaultImpl.hpp.

EVerbosityLevel panzer::OutputStreamDefaultImpl::m_level
private

Definition at line 85 of file Panzer_OutputStream_DefaultImpl.hpp.


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