Supporting std::basic_ios's iostate capabilities for all ByteStream implementations.
More...
#include <byte_stream.hpp>
Supporting std::basic_ios's iostate capabilities for all ByteStream implementations.
Definition at line 84 of file byte_stream.hpp.
◆ IOStateCap() [1/3]
jau::io::IOStateCap::IOStateCap |
( |
| ) |
|
|
inlinenoexcept |
◆ IOStateCap() [2/3]
jau::io::IOStateCap::IOStateCap |
( |
const IOStateCap & | o | ) |
|
|
defaultnoexcept |
◆ IOStateCap() [3/3]
jau::io::IOStateCap::IOStateCap |
( |
IOStateCap && | o | ) |
|
|
defaultnoexcept |
◆ ~IOStateCap()
virtual jau::io::IOStateCap::~IOStateCap |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ rdstate_impl()
iostate_t jau::io::IOStateCap::rdstate_impl |
( |
| ) |
const |
|
inlineconstexprprotectednoexcept |
◆ addstate_impl()
void jau::io::IOStateCap::addstate_impl |
( |
iostate_t | state | ) |
const |
|
inlineconstexprprotectednoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ clear()
◆ assignState()
◆ clearStateFlags()
void jau::io::IOStateCap::clearStateFlags |
( |
const iostate_t | clr | ) |
|
|
inlinenoexcept |
Clears given state flags from current value.
Definition at line 116 of file byte_stream.hpp.
◆ rdstate()
virtual iostate_t jau::io::IOStateCap::rdstate |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ setstate()
void jau::io::IOStateCap::setstate |
( |
const iostate_t | state | ) |
|
|
inlinenoexcept |
◆ addState()
void jau::io::IOStateCap::addState |
( |
const iostate_t | state | ) |
|
|
inlinenoexcept |
◆ good()
bool jau::io::IOStateCap::good |
( |
| ) |
const |
|
inlinenoexcept |
Checks if no error nor eof() has occurred i.e.
I/O operations are available.
Definition at line 142 of file byte_stream.hpp.
◆ eof()
bool jau::io::IOStateCap::eof |
( |
| ) |
const |
|
inlinenoexcept |
◆ fail()
bool jau::io::IOStateCap::fail |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator!()
bool jau::io::IOStateCap::operator! |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator bool()
jau::io::IOStateCap::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Checks if no error has occurred, synonym of !fail().
Definition at line 154 of file byte_stream.hpp.
◆ bad()
bool jau::io::IOStateCap::bad |
( |
| ) |
const |
|
inlinenoexcept |
Checks if a non-recoverable error has occurred.
Definition at line 157 of file byte_stream.hpp.
◆ timeout()
bool jau::io::IOStateCap::timeout |
( |
| ) |
const |
|
inlinenoexcept |
Checks if a timeout (non-recoverable) has occurred.
Definition at line 160 of file byte_stream.hpp.
The documentation for this class was generated from the following file: