rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
beast::Journal::ScopedStream Class Reference

#include <Journal.h>

Collaboration diagram for beast::Journal::ScopedStream:
Collaboration graph
[legend]

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

Sinkm_sink
 
Severity const m_level
 
std::ostringstream m_ostream
 

Detailed Description

Definition at line 130 of file Journal.h.

Constructor & Destructor Documentation

◆ ScopedStream() [1/4]

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

Definition at line 133 of file Journal.h.

◆ ScopedStream() [2/4]

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

Definition at line 110 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 352 of file Journal.h.

◆ ScopedStream() [4/4]

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

Definition at line 117 of file beast_Journal.cpp.

◆ ~ScopedStream()

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

Definition at line 125 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 151 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 359 of file Journal.h.

Member Data Documentation

◆ m_sink

Sink& beast::Journal::ScopedStream::m_sink
private

Definition at line 164 of file Journal.h.

◆ m_level

Severity const beast::Journal::ScopedStream::m_level
private

Definition at line 165 of file Journal.h.

◆ m_ostream

std::ostringstream beast::Journal::ScopedStream::m_ostream
mutableprivate

Definition at line 166 of file Journal.h.