DebugChannel::Logger Class Reference

output iterator for writing CompiledDebugMessages to a given channel More...

Collaboration diagram for DebugChannel::Logger:

Public Types

using difference_type = void
 
using value_type = void
 
using pointer = void
 
using reference = void
 
using iterator_category = std::output_iterator_tag
 

Public Member Functions

 Logger (DebugChannel &ch)
 
Loggeroperator= (const CompiledDebugMessage &message)
 
Loggeroperator* ()
 
Loggeroperator++ ()
 
Loggeroperator++ (int)
 

Private Attributes

std::reference_wrapper< DebugChannelchannel
 output destination More...
 

Detailed Description

Definition at line 173 of file debug.cc.

Member Typedef Documentation

◆ difference_type

Definition at line 176 of file debug.cc.

◆ iterator_category

using DebugChannel::Logger::iterator_category = std::output_iterator_tag

Definition at line 180 of file debug.cc.

◆ pointer

Definition at line 178 of file debug.cc.

◆ reference

Definition at line 179 of file debug.cc.

◆ value_type

Definition at line 177 of file debug.cc.

Constructor & Destructor Documentation

◆ Logger()

DebugChannel::Logger::Logger ( DebugChannel ch)
inlineexplicit

Definition at line 182 of file debug.cc.

Member Function Documentation

◆ operator*()

Logger& DebugChannel::Logger::operator* ( )
inline

Definition at line 193 of file debug.cc.

◆ operator++() [1/2]

Logger& DebugChannel::Logger::operator++ ( )
inline

Definition at line 194 of file debug.cc.

◆ operator++() [2/2]

Logger& DebugChannel::Logger::operator++ ( int  )
inline

Definition at line 195 of file debug.cc.

◆ operator=()

Logger& DebugChannel::Logger::operator= ( const CompiledDebugMessage message)
inline

Member Data Documentation

◆ channel

std::reference_wrapper<DebugChannel> DebugChannel::Logger::channel
private

Definition at line 199 of file debug.cc.

Referenced by operator=().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors