Supporting std::basic_ios's iostate functionality for all ByteInStream implementations.
More...
#include <byte_stream.hpp>
Supporting std::basic_ios's iostate functionality for all ByteInStream implementations.
Definition at line 110 of file byte_stream.hpp.
◆ iostate_func() [1/3]
jau::io::iostate_func::iostate_func |
( |
| ) |
|
|
inlinenoexcept |
◆ iostate_func() [2/3]
jau::io::iostate_func::iostate_func |
( |
const iostate_func & |
o | ) |
|
|
defaultnoexcept |
◆ iostate_func() [3/3]
◆ ~iostate_func()
virtual jau::io::iostate_func::~iostate_func |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ rdstate_impl()
constexpr iostate jau::io::iostate_func::rdstate_impl |
( |
| ) |
const |
|
inlineconstexprprotectednoexcept |
◆ setstate_impl()
constexpr void jau::io::iostate_func::setstate_impl |
( |
iostate |
state | ) |
const |
|
inlineconstexprprotectednoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ clear()
◆ rdstate()
virtual iostate jau::io::iostate_func::rdstate |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ setstate()
void jau::io::iostate_func::setstate |
( |
const iostate |
state | ) |
|
|
inlinenoexcept |
Sets state flags, by keeping its previous bits.
Definition at line 144 of file byte_stream.hpp.
◆ good()
bool jau::io::iostate_func::good |
( |
| ) |
const |
|
inlinenoexcept |
Checks if no error nor eof() has occurred i.e.
I/O operations are available.
Definition at line 147 of file byte_stream.hpp.
◆ eof()
bool jau::io::iostate_func::eof |
( |
| ) |
const |
|
inlinenoexcept |
◆ fail()
bool jau::io::iostate_func::fail |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator!()
bool jau::io::iostate_func::operator! |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator bool()
jau::io::iostate_func::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Checks if no error has occurred, synonym of !fail().
Definition at line 162 of file byte_stream.hpp.
◆ bad()
bool jau::io::iostate_func::bad |
( |
| ) |
const |
|
inlinenoexcept |
Checks if a non-recoverable error has occurred.
Definition at line 165 of file byte_stream.hpp.
◆ timeout()
bool jau::io::iostate_func::timeout |
( |
| ) |
const |
|
inlinenoexcept |
Checks if a timeout (non-recoverable) has occurred.
Definition at line 169 of file byte_stream.hpp.
The documentation for this class was generated from the following file: