DUNE PDELab (2.7)

Dune::PDELab::GeneralLogtagFormatter< FormatFunc > Class Template Reference

A log tag formatter that wraps a unary formatting function or functor. More...

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

Public Member Functions

 GeneralLogtagFormatter (const FormatFunc &formatFunc_)
 constructor More...
 
virtual void writeTag (std::ostream &s) const override
 write the tag to the stream More...
 

Detailed Description

template<class FormatFunc>
class Dune::PDELab::GeneralLogtagFormatter< FormatFunc >

A log tag formatter that wraps a unary formatting function or functor.

Constructor & Destructor Documentation

◆ GeneralLogtagFormatter()

template<class FormatFunc >
Dune::PDELab::GeneralLogtagFormatter< FormatFunc >::GeneralLogtagFormatter ( const FormatFunc &  formatFunc_)
inline

constructor

Parameters
formatFunc_Formatting functor or function-pointer. Must be copy-constructible.

Member Function Documentation

◆ writeTag()

template<class FormatFunc >
virtual void Dune::PDELab::GeneralLogtagFormatter< FormatFunc >::writeTag ( std::ostream &  s) const
inlineoverridevirtual

write the tag to the stream

This calls formatFunc(s) to write the tag.

Implements Dune::PDELab::LogtagFormatterBase.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 15, 22:36, 2024)