Standard output stream.
More...
#include <stream.h>
Standard output stream.
Thread-safe.
Definition at line 75 of file stream.h.
◆ StdOutput() [1/3]
CppCommon::StdOutput::StdOutput |
( |
| ) |
|
◆ StdOutput() [2/3]
CppCommon::StdOutput::StdOutput |
( |
const StdOutput & |
| ) |
|
|
delete |
◆ StdOutput() [3/3]
CppCommon::StdOutput::StdOutput |
( |
StdOutput && |
stream | ) |
|
|
delete |
◆ ~StdOutput()
CppCommon::StdOutput::~StdOutput |
( |
| ) |
|
|
virtual |
◆ Flush()
void CppCommon::StdOutput::Flush |
( |
| ) |
|
|
overridevirtual |
◆ IsValid()
bool CppCommon::StdOutput::IsValid |
( |
| ) |
const |
|
noexcept |
◆ operator bool()
CppCommon::StdOutput::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Check if the stream is valid.
Definition at line 87 of file stream.h.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ stream()
void * CppCommon::StdOutput::stream |
( |
| ) |
const |
|
noexcept |
Get the native stream handler.
Definition at line 279 of file stream.cpp.
◆ swap()
void CppCommon::StdOutput::swap |
( |
StdOutput & |
stream | ) |
|
|
noexcept |
◆ Write() [1/4]
size_t CppCommon::Writer::Write |
Write a text string.
- Parameters
-
- Returns
- Count of written characters
Definition at line 46 of file writer.cpp.
◆ Write() [2/4]
size_t CppCommon::Writer::Write |
Write text lines.
- Parameters
-
- Returns
- Count of written lines
Definition at line 52 of file writer.cpp.
◆ Write() [3/4]
size_t CppCommon::StdOutput::Write |
( |
const void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
overridevirtual |
Write a byte buffer into the stream.
- Parameters
-
buffer | - Buffer to write |
size | - Buffer size |
- Returns
- Count of written bytes
Implements CppCommon::Writer.
Definition at line 281 of file stream.cpp.
◆ Write() [4/4]
virtual size_t CppCommon::Writer::Write |
Write a byte buffer base method.
- Parameters
-
buffer | - Buffer to write |
size | - Buffer size |
- Returns
- Count of written bytes
◆ swap
The documentation for this class was generated from the following files: