MDBX Containers
Loading...
Searching...
No Matches
SyncOStream Class Reference

Public Member Functions

 SyncOStream (std::ostream &os)
 
 SyncOStream (const SyncOStream &)=delete
 
SyncOStreamoperator= (const SyncOStream &)=delete
 
 SyncOStream (SyncOStream &&other) noexcept
 
SyncOStreamoperator= (SyncOStream &&)=delete
 
template<typename T>
SyncOStreamoperator<< (const T &value)
 
SyncOStreamoperator<< (std::ostream &(*manip)(std::ostream &))
 
 ~SyncOStream ()
 

Static Private Member Functions

static std::mutex & get_mutex ()
 

Private Attributes

std::ostream & os_
 
std::ostringstream buffer_
 

Detailed Description

Definition at line 27 of file kv_container_all_types_test.cpp.

Constructor & Destructor Documentation

◆ SyncOStream() [1/3]

SyncOStream::SyncOStream ( std::ostream & os)
inlineexplicit

Definition at line 29 of file kv_container_all_types_test.cpp.

◆ SyncOStream() [2/3]

SyncOStream::SyncOStream ( const SyncOStream & )
delete

◆ SyncOStream() [3/3]

SyncOStream::SyncOStream ( SyncOStream && other)
inlinenoexcept

Definition at line 34 of file kv_container_all_types_test.cpp.

◆ ~SyncOStream()

SyncOStream::~SyncOStream ( )
inline

Definition at line 49 of file kv_container_all_types_test.cpp.

Member Function Documentation

◆ get_mutex()

static std::mutex & SyncOStream::get_mutex ( )
inlinestaticprivate

Definition at line 57 of file kv_container_all_types_test.cpp.

◆ operator<<() [1/2]

template<typename T>
SyncOStream & SyncOStream::operator<< ( const T & value)
inline

Definition at line 40 of file kv_container_all_types_test.cpp.

◆ operator<<() [2/2]

SyncOStream & SyncOStream::operator<< ( std::ostream &(* manip )(std::ostream &))
inline

Definition at line 45 of file kv_container_all_types_test.cpp.

◆ operator=() [1/2]

SyncOStream & SyncOStream::operator= ( const SyncOStream & )
delete

◆ operator=() [2/2]

SyncOStream & SyncOStream::operator= ( SyncOStream && )
delete

Member Data Documentation

◆ buffer_

std::ostringstream SyncOStream::buffer_
private

Definition at line 56 of file kv_container_all_types_test.cpp.

◆ os_

std::ostream& SyncOStream::os_
private

Definition at line 55 of file kv_container_all_types_test.cpp.


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