dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Dune::PDELab::LogtagFormatterBase Struct Referenceabstract

virtual base class for logger formatters More...

#include <dune/pdelab/common/logtag.hh>

Inheritance diagram for Dune::PDELab::LogtagFormatterBase:
Inheritance graph

Public Member Functions

virtual void writeTag (std::ostream &s) const =0
 function that writes the tag to a stream More...
 
virtual ~LogtagFormatterBase ()=default
 

Detailed Description

virtual base class for logger formatters

This is the virtual base class used for type erasure purposes.

Constructor & Destructor Documentation

◆ ~LogtagFormatterBase()

virtual Dune::PDELab::LogtagFormatterBase::~LogtagFormatterBase ( )
virtualdefault

Member Function Documentation

◆ writeTag()

virtual void Dune::PDELab::LogtagFormatterBase::writeTag ( std::ostream &  s) const
pure virtual

function that writes the tag to a stream

Implementations of this function can alter the stream format flags as they like. The flags are restored to their original values by the caller.

Implemented in Dune::PDELab::GeneralLogtagFormatter< FormatFunc >.


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