rippled
Public Member Functions | Private Attributes | List of all members
beast::Journal::ScopedStream Class Reference
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
 
const Severity m_level
 
std::ostringstream m_ostream
 

Detailed Description

Definition at line 139 of file Journal.h.

Constructor & Destructor Documentation

◆ ScopedStream() [1/4]

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

Definition at line 142 of file Journal.h.

◆ ScopedStream() [2/4]

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

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

◆ ScopedStream() [4/4]

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

Definition at line 126 of file beast_Journal.cpp.

◆ ~ScopedStream()

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

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

◆ operator<<() [1/2]

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

Definition at line 147 of file beast_Journal.cpp.

◆ operator<<() [2/2]

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

Definition at line 366 of file Journal.h.

Member Data Documentation

◆ m_sink

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

Definition at line 173 of file Journal.h.

◆ m_level

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

Definition at line 174 of file Journal.h.

◆ m_ostream

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

Definition at line 175 of file Journal.h.