Panzer
Version of the Day
|
Default implementation. More...
#include <Panzer_OutputStream_DefaultImpl.hpp>
Public Member Functions | |
OutputStreamDefaultImpl () | |
~OutputStreamDefaultImpl () | |
void | setOStream (const Teuchos::RCP< Teuchos::FancyOStream > &os) |
Teuchos::RCP < Teuchos::FancyOStream > | getOStream () const |
Teuchos::FancyOStream & | out () const |
Teuchos::FancyOStream & | pout () 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 |
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.
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.
|
virtual |
Implements panzer::OutputStream.
Definition at line 56 of file Panzer_OutputStream_DefaultImpl.cpp.
|
virtual |
Implements panzer::OutputStream.
Definition at line 66 of file Panzer_OutputStream_DefaultImpl.cpp.
|
virtual |
returns ostream that prints only to print process
Implements panzer::OutputStream.
Definition at line 71 of file Panzer_OutputStream_DefaultImpl.cpp.
|
virtual |
returns ostream that prints on all processes
Implements panzer::OutputStream.
Definition at line 76 of file Panzer_OutputStream_DefaultImpl.cpp.
|
virtual |
Implements panzer::OutputStream.
Definition at line 81 of file Panzer_OutputStream_DefaultImpl.cpp.
|
virtual |
Implements panzer::OutputStream.
Definition at line 86 of file Panzer_OutputStream_DefaultImpl.cpp.
|
virtual |
Returns true if vl is equal to or greater than the object's verbosity level.
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.
|
private |
Definition at line 83 of file Panzer_OutputStream_DefaultImpl.hpp.
|
private |
Definition at line 84 of file Panzer_OutputStream_DefaultImpl.hpp.
|
private |
Definition at line 85 of file Panzer_OutputStream_DefaultImpl.hpp.