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 >
class Dune::PDELab::GeneralLogtagFormatter< FormatFunc >
A log tag formatter that wraps a unary formatting function or functor.
Constructor & Destructor Documentation
◆ GeneralLogtagFormatter()
template<class FormatFunc >
|
inline |
constructor
- Parameters
-
formatFunc_ Formatting functor or function-pointer. Must be copy-constructible.
Member Function Documentation
◆ writeTag()
template<class FormatFunc >
|
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:
- dune/pdelab/common/logtag.hh
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)