Standard error stream.
More...
#include <stream.h>
Standard error stream.
Thread-safe.
Definition at line 127 of file stream.h.
◆ StdError() [1/3]
CppCommon::StdError::StdError |
( |
| ) |
|
◆ StdError() [2/3]
CppCommon::StdError::StdError |
( |
const StdError & |
| ) |
|
|
delete |
◆ StdError() [3/3]
CppCommon::StdError::StdError |
( |
StdError && |
stream | ) |
|
|
delete |
◆ ~StdError()
CppCommon::StdError::~StdError |
( |
| ) |
|
|
virtual |
◆ Flush()
void CppCommon::StdError::Flush |
( |
| ) |
|
|
overridevirtual |
◆ IsValid()
bool CppCommon::StdError::IsValid |
( |
| ) |
const |
|
noexcept |
◆ operator bool()
CppCommon::StdError::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Check if the stream is valid.
Definition at line 139 of file stream.h.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ stream()
void * CppCommon::StdError::stream |
( |
| ) |
const |
|
noexcept |
Get the native stream handler.
Definition at line 307 of file stream.cpp.
◆ swap()
void CppCommon::StdError::swap |
( |
StdError & |
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::StdError::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 309 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: