Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_OutputStream.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Panzer: A partial differential equation assembly
4// engine for strongly coupled complex multiphysics systems
5//
6// Copyright 2011 NTESS and the Panzer contributors.
7// SPDX-License-Identifier: BSD-3-Clause
8// *****************************************************************************
9// @HEADER
10
11#ifndef PANZER_OUTPUT_STREAM_HPP
12#define PANZER_OUTPUT_STREAM_HPP
13
14#include "Teuchos_FancyOStream.hpp"
15#include "Teuchos_RCP.hpp"
16
17namespace panzer {
18
26
37
38 public:
39
40 virtual ~OutputStream() {}
41
42 virtual void setOStream(const Teuchos::RCP<Teuchos::FancyOStream>& os) = 0;
43
44 virtual Teuchos::RCP<Teuchos::FancyOStream> getOStream() const = 0;
45
47 virtual Teuchos::FancyOStream& out() const = 0;
48
50 virtual Teuchos::FancyOStream& pout() const = 0;
51
52 virtual void setVerbosityLevel(EVerbosityLevel vl) = 0;
53
55
61 virtual bool doOutput(EVerbosityLevel vl, bool only_for_exact_level = false) const = 0;
62
63 };
64
65}
66
67#endif
Interface for handling output in Panzer.
virtual Teuchos::FancyOStream & pout() const =0
virtual void setOStream(const Teuchos::RCP< Teuchos::FancyOStream > &os)=0
virtual Teuchos::RCP< Teuchos::FancyOStream > getOStream() 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.
virtual void setVerbosityLevel(EVerbosityLevel vl)=0
virtual Teuchos::FancyOStream & out() const =0
virtual EVerbosityLevel getVerbosityLevel() const =0