xrpld
Loading...
Searching...
No Matches
beast::Journal::ScopedStream Class Reference

#include <Journal.h>

Collaboration diagram for beast::Journal::ScopedStream:

Public Member Functions

 ScopedStream (ScopedStream const &other)
 ScopedStream (Sink &sink, Severity level)
template<typename T>
 ScopedStream (Stream const &stream, T const &t)
 ScopedStream (Stream const &stream, std::ostream &manip(std::ostream &))
ScopedStreamoperator= (ScopedStream const &)=delete
 ~ScopedStream ()
std::ostringstreamostream () const
std::ostreamoperator<< (std::ostream &manip(std::ostream &)) const
template<typename T>
std::ostreamoperator<< (T const &t) const

Private Attributes

Sinksink_
Severity const level_
std::ostringstream ostream_

Detailed Description

Definition at line 125 of file Journal.h.

Constructor & Destructor Documentation

◆ ScopedStream() [1/4]

beast::Journal::ScopedStream::ScopedStream ( ScopedStream const & other)

Definition at line 128 of file Journal.h.

◆ ScopedStream() [2/4]

beast::Journal::ScopedStream::ScopedStream ( Sink & sink,
Severity level )

Definition at line 109 of file beast_Journal.cpp.

◆ ScopedStream() [3/4]

template<typename T>
beast::Journal::ScopedStream::ScopedStream ( Journal::Stream const & stream,
T const & t )

Definition at line 340 of file Journal.h.

◆ ScopedStream() [4/4]

beast::Journal::ScopedStream::ScopedStream ( Stream const & stream,
std::ostream & manipstd::ostream & )

Definition at line 115 of file beast_Journal.cpp.

◆ ~ScopedStream()

beast::Journal::ScopedStream::~ScopedStream ( )

Definition at line 121 of file beast_Journal.cpp.

Member Function Documentation

◆ operator=()

ScopedStream & beast::Journal::ScopedStream::operator= ( ScopedStream const & )
delete

◆ ostream()

std::ostringstream & beast::Journal::ScopedStream::ostream ( ) const

Definition at line 145 of file Journal.h.

◆ operator<<() [1/2]

std::ostream & beast::Journal::ScopedStream::operator<< ( std::ostream & manipstd::ostream &) const

Definition at line 137 of file beast_Journal.cpp.

◆ operator<<() [2/2]

template<typename T>
std::ostream & beast::Journal::ScopedStream::operator<< ( T const & t) const

Definition at line 347 of file Journal.h.

Member Data Documentation

◆ sink_

Sink& beast::Journal::ScopedStream::sink_
private

Definition at line 158 of file Journal.h.

◆ level_

Severity const beast::Journal::ScopedStream::level_
private

Definition at line 159 of file Journal.h.

◆ ostream_

std::ostringstream beast::Journal::ScopedStream::ostream_
mutableprivate

Definition at line 160 of file Journal.h.