ScopedLineFilter Class Reference#

DiFfRG: DiFfRG::ScopedLineFilter Class Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::ScopedLineFilter Class Reference

Installs a LinePrefixFilter on a stream for the duration of a scope. More...

#include <stream_filter.hh>

Public Member Functions

 ScopedLineFilter (std::ostream &stream, std::string_view prefix)
 
 ~ScopedLineFilter ()
 
 ScopedLineFilter (const ScopedLineFilter &)=delete
 
ScopedLineFilter & operator= (const ScopedLineFilter &)=delete
 

Private Attributes

std::ostream & stream
 
LinePrefixFilter filter
 
std::streambuf * previous
 

Detailed Description

Installs a LinePrefixFilter on a stream for the duration of a scope.

Constructor & Destructor Documentation

◆ ScopedLineFilter() [1/2]

DiFfRG::ScopedLineFilter::ScopedLineFilter ( std::ostream & stream,
std::string_view prefix )
inline

◆ ~ScopedLineFilter()

DiFfRG::ScopedLineFilter::~ScopedLineFilter ( )
inline

◆ ScopedLineFilter() [2/2]

DiFfRG::ScopedLineFilter::ScopedLineFilter ( const ScopedLineFilter & )
delete

Member Function Documentation

◆ operator=()

ScopedLineFilter & DiFfRG::ScopedLineFilter::operator= ( const ScopedLineFilter & )
delete

Member Data Documentation

◆ filter

LinePrefixFilter DiFfRG::ScopedLineFilter::filter
private

◆ previous

std::streambuf* DiFfRG::ScopedLineFilter::previous
private

◆ stream

std::ostream& DiFfRG::ScopedLineFilter::stream
private

The documentation for this class was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/stream_filter.hh