AbstractBufferedInputStream()=default | xentara::utils::io::AbstractBufferedInputStream< Element > | |
AbstractBufferedOutputStream()=default | xentara::utils::io::AbstractBufferedOutputStream< Element > | |
addressFamily() const noexcept -> int | xentara::utils::network::SocketStream< Element > | |
bind(PortNumber portNumber) -> void | xentara::utils::network::SocketStream< Element > | |
bind(const Address &address) -> void | xentara::utils::network::SocketStream< Element > | |
close() noexcept -> void | xentara::utils::network::SocketStream< Element > | |
compatibleSocket(const Address &address, Options... options) -> SocketStream | xentara::utils::network::SocketStream< Element > | static |
connect(const Address &address) -> void | xentara::utils::network::SocketStream< Element > | |
connect(const Address &address, std::optional< std::chrono::nanoseconds > timeout) -> bool | xentara::utils::network::SocketStream< Element > | |
connectedSocket(const Address &address, Options... options) -> SocketStream | xentara::utils::network::SocketStream< Element > | static |
connectedSocket(const std::vector< Address > &addresses, Options... options) -> SocketStream | xentara::utils::network::SocketStream< Element > | static |
connectedSocket(std::string_view hostName, Options... options) -> SocketStream | xentara::utils::network::SocketStream< Element > | static |
defaultTimeout() noexcept -> std::chrono::nanoseconds | xentara::utils::network::SocketStream< Element > | static |
destroyInputBuffer() -> void | xentara::utils::io::AbstractBufferedInputStream< Element > | protected |
destroyOutputBuffer() -> void | xentara::utils::io::AbstractBufferedOutputStream< Element > | protected |
doAdvanceReadPosition(std::size_t offset) -> std::optional< std::size_t > final | xentara::utils::io::AbstractDeviceInputStream< Element > | protectedvirtual |
doFlushWriteBuffer() -> void | xentara::utils::io::OutputStream< Element > | protectedvirtual |
doGetReadPosition() const -> std::optional< std::size_t > final | xentara::utils::io::AbstractDeviceInputStream< Element > | protectedvirtual |
doGetStreamDescription() const -> std::string final | xentara::utils::network::SocketStream< Element > | protectedvirtual |
doRead(Element *buffer, std::size_t size, bool waitForData) -> std::optional< std::size_t > final | xentara::utils::io::AbstractDeviceInputStream< Element > | protectedvirtual |
doReplenishReadBuffer(bool waitForData) -> bool | xentara::utils::io::InputStream< Element > | protectedvirtual |
doSetReadPosition(std::size_t position) -> bool final | xentara::utils::io::AbstractDeviceInputStream< Element > | protectedvirtual |
doThrowEndOfStreamError() const -> void final | xentara::utils::io::AbstractDeviceInputStream< Element > | protectedvirtual |
doWaitForData(std::optional< std::chrono::nanoseconds > timeout) -> bool final | xentara::utils::io::AbstractDeviceInputStream< Element > | protectedvirtual |
doWrite(const Element *data, std::size_t size) -> std::size_t final | xentara::utils::io::AbstractDeviceOutputStream< Element > | protectedvirtual |
xentara::element_type typedef | xentara::utils::io::InputStream< Element > | |
xentara::utils::io::AbstractDeviceOutputStream::element_type typedef | xentara::utils::io::OutputStream< Element > | |
eof() -> bool | xentara::utils::io::InputStream< Element > | |
flush() -> void | xentara::utils::io::OutputStream< Element > | |
freeBufferBegin() const -> Element * | xentara::utils::io::OutputStream< Element > | protected |
freeBufferSize() const -> std::size_t | xentara::utils::io::OutputStream< Element > | protected |
getOption(int level, int optionName, std::nothrow_t) const noexcept -> xentara::utils::eh::expected< Value, std::error_code > | xentara::utils::network::SocketStream< Element > | |
inputDevice() noexcept -> InputDevice &=0 | xentara::utils::io::AbstractDeviceInputStream< Element > | protectedpure virtual |
InputStream() noexcept=default | xentara::utils::io::InputStream< Element > | protected |
InputStream(Element *bufferBegin, Element *bufferEnd) noexcept | xentara::utils::io::InputStream< Element > | protected |
InputStream(Element *bufferBegin, Element *bufferEnd, Element *dataBegin, Element *dataEnd) noexcept | xentara::utils::io::InputStream< Element > | protected |
InputStream(InputStream &&other) noexcept | xentara::utils::io::InputStream< Element > | protected |
xentara::kDefaultBufferSize | xentara::utils::io::AbstractBufferedInputStream< Element > | protectedstatic |
xentara::utils::io::AbstractDeviceOutputStream::kDefaultBufferSize | xentara::utils::io::AbstractBufferedOutputStream< Element > | protectedstatic |
localAddress() const -> Address | xentara::utils::network::SocketStream< Element > | |
native() const noexcept -> int | xentara::utils::network::SocketStream< Element > | |
native() const noexcept -> SOCKET | xentara::utils::network::SocketStream< Element > | |
operator bool() const noexcept | xentara::utils::network::SocketStream< Element > | explicit |
operator=(SocketDevice &&device) -> SocketStream & | xentara::utils::network::SocketStream< Element > | |
operator=(Socket &&socket) -> SocketStream & | xentara::utils::network::SocketStream< Element > | |
operator=(posix::File socketFileDescriptor) -> SocketStream & | xentara::utils::network::SocketStream< Element > | |
operator=(windows::Socket socket) -> SocketStream & | xentara::utils::network::SocketStream< Element > | |
xentara::utils::io::AbstractDeviceInputStream::operator=(InputStream &&rhs) noexcept -> InputStream & | xentara::utils::io::InputStream< Element > | protected |
xentara::utils::io::AbstractDeviceOutputStream::operator=(OutputStream &&rhs) noexcept -> OutputStream & | xentara::utils::io::OutputStream< Element > | protected |
option(int level, int optionName) const -> Value | xentara::utils::network::SocketStream< Element > | |
outputDevice() noexcept -> OutputDevice &=0 | xentara::utils::io::AbstractDeviceOutputStream< Element > | protectedpure virtual |
OutputStream() noexcept=default | xentara::utils::io::OutputStream< Element > | protected |
OutputStream(Element *bufferBegin, Element *bufferEnd) noexcept | xentara::utils::io::OutputStream< Element > | protected |
OutputStream(Element *bufferBegin, Element *bufferEnd, Element *dataEnd) noexcept | xentara::utils::io::OutputStream< Element > | protected |
OutputStream(OutputStream &&other) noexcept | xentara::utils::io::OutputStream< Element > | protected |
peek() -> Element | xentara::utils::io::InputStream< Element > | |
peekOr() -> Element | xentara::utils::io::InputStream< Element > | |
protocol() const noexcept -> int | xentara::utils::network::SocketStream< Element > | |
read(typename std::allocator_traits< Allocator >::size_type size, const Allocator &allocator=Allocator()) -> core::RawVector< Element, Allocator > | xentara::utils::io::InputStream< Element > | |
read(typename std::allocator_traits< Allocator >::size_type size, const Allocator &allocator=Allocator()) -> std::basic_string< Element, CharTraits, Allocator > | xentara::utils::io::InputStream< Element > | |
read(Element(&array)[kArraySize]) -> void | xentara::utils::io::InputStream< Element > | |
read(std::array< Element, kArraySize > &array) -> void | xentara::utils::io::InputStream< Element > | |
read(Iterator first, Sentinel last) -> void | xentara::utils::io::InputStream< Element > | |
read(Element *buffer, std::size_t size) -> void | xentara::utils::io::InputStream< Element > | |
readBufferBegin() const -> Element * | xentara::utils::io::InputStream< Element > | protected |
readBufferEnd() const -> Element * | xentara::utils::io::InputStream< Element > | protected |
readBufferSize() const -> std::size_t | xentara::utils::io::InputStream< Element > | protected |
readByte() -> Element | xentara::utils::io::InputStream< Element > | |
readByteIf() -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
readByteIf(Predicate predicate) -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
readByteIfOr() -> Element | xentara::utils::io::InputStream< Element > | |
readByteIfOr(Predicate predicate) -> Element | xentara::utils::io::InputStream< Element > | |
readByteOr() -> Element | xentara::utils::io::InputStream< Element > | |
readChar() -> Element | xentara::utils::io::InputStream< Element > | |
readCharIf() -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
readCharIf(Predicate predicate) -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
readCharIfOr() -> Element | xentara::utils::io::InputStream< Element > | |
readCharIfOr(Predicate predicate) -> Element | xentara::utils::io::InputStream< Element > | |
readCharOr() -> Element | xentara::utils::io::InputStream< Element > | |
readDataBegin() const -> Element * | xentara::utils::io::InputStream< Element > | protected |
readDataEnd() const -> Element * | xentara::utils::io::InputStream< Element > | protected |
readDataSize() const -> std::size_t | xentara::utils::io::InputStream< Element > | protected |
readElement() -> Element | xentara::utils::io::InputStream< Element > | |
readElementIf() -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
readElementIf(Predicate predicate) -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
readElementIfOr() -> Element | xentara::utils::io::InputStream< Element > | |
readElementIfOr(Predicate predicate) -> Element | xentara::utils::io::InputStream< Element > | |
readElementOr() -> Element | xentara::utils::io::InputStream< Element > | |
readFromBuffer(std::size_t maxSize) -> std::span< const Element > | xentara::utils::io::InputStream< Element > | |
readLine(const Allocator &allocator=Allocator()) -> std::basic_string< Element, CharTraits, Allocator > | xentara::utils::io::InputStream< Element > | |
readPosition() const -> std::optional< ReadPosition > | xentara::utils::io::InputStream< Element > | |
readUntil() -> core::RawVector< Element > | xentara::utils::io::InputStream< Element > | |
readUntil(const Allocator &allocator=Allocator()) -> core::RawVector< Element, Allocator > | xentara::utils::io::InputStream< Element > | |
readUntil(Predicate predicate, const Allocator &allocator=Allocator()) -> core::RawVector< Element, Allocator > | xentara::utils::io::InputStream< Element > | |
readUntil() -> std::basic_string< Element > | xentara::utils::io::InputStream< Element > | |
readUntil() -> std::basic_string< Element, CharTraits > | xentara::utils::io::InputStream< Element > | |
readUntil(const Allocator &allocator=Allocator()) -> std::basic_string< Element, CharTraits, Allocator > | xentara::utils::io::InputStream< Element > | |
readUntil(Predicate predicate, const Allocator &allocator=Allocator()) -> std::basic_string< Element, CharTraits, Allocator > | xentara::utils::io::InputStream< Element > | |
readWord(const Allocator &allocator=Allocator()) -> std::basic_string< Element, CharTraits, Allocator > | xentara::utils::io::InputStream< Element > | |
remoteAddress() const -> Address | xentara::utils::network::SocketStream< Element > | |
resetInputBuffer(std::size_t bufferSizeHint=kDefaultBufferSize) -> void | xentara::utils::io::AbstractBufferedInputStream< Element > | protected |
resetOutputBuffer(std::size_t bufferSizeHint=kDefaultBufferSize) -> void | xentara::utils::io::AbstractBufferedOutputStream< Element > | protected |
rewind() -> void | xentara::utils::io::InputStream< Element > | |
setOption(int level, int optionName, const Value &value) -> void | xentara::utils::network::SocketStream< Element > | |
setOption(int level, int optionName, const Value &value, std::nothrow_t) noexcept -> std::error_code | xentara::utils::network::SocketStream< Element > | |
setReadBuffer(Element *bufferBegin, Element *bufferEnd) noexcept -> void | xentara::utils::io::InputStream< Element > | protected |
setReadBuffer(Element *bufferBegin, Element *bufferEnd, Element *dataBegin, Element *dataEnd) noexcept -> void | xentara::utils::io::InputStream< Element > | protected |
setReadData(Element *dataBegin, Element *dataEnd) noexcept -> void | xentara::utils::io::InputStream< Element > | protected |
setReadPosition(ReadPosition position) -> void | xentara::utils::io::InputStream< Element > | |
setReadTimeout(std::chrono::nanoseconds timeout) noexcept | xentara::utils::network::SocketStream< Element > | |
setTimeout(std::chrono::nanoseconds timeout) noexcept | xentara::utils::network::SocketStream< Element > | |
setWriteBuffer(Element *bufferBegin, Element *bufferEnd) noexcept -> void | xentara::utils::io::OutputStream< Element > | protected |
setWriteBuffer(Element *bufferBegin, Element *bufferEnd, Element *dataEnd) noexcept -> void | xentara::utils::io::OutputStream< Element > | protected |
setWriteDataEnd(Element *dataEnd) noexcept -> void | xentara::utils::io::OutputStream< Element > | protected |
setWriteTimeout(std::chrono::nanoseconds timeout) noexcept | xentara::utils::network::SocketStream< Element > | |
shutdown(Socket::Direction directions=Socket::Direction::ReadWrite) -> void | xentara::utils::network::SocketStream< Element > | |
skip(std::size_t size) -> void | xentara::utils::io::InputStream< Element > | |
skipByte() -> void | xentara::utils::io::InputStream< Element > | |
skipChar() -> void | xentara::utils::io::InputStream< Element > | |
skipElement() -> void | xentara::utils::io::InputStream< Element > | |
skipLine() -> std::size_t | xentara::utils::io::InputStream< Element > | |
skipLineEnding() -> bool | xentara::utils::io::InputStream< Element > | |
skipWhile() -> std::size_t | xentara::utils::io::InputStream< Element > | |
skipWhile(Predicate predicate) -> std::size_t | xentara::utils::io::InputStream< Element > | |
skipWhitespace() -> bool | xentara::utils::io::InputStream< Element > | |
skipWord() -> std::size_t | xentara::utils::io::InputStream< Element > | |
socket() const &noexcept -> const Socket & | xentara::utils::network::SocketStream< Element > | |
SocketStream() noexcept=default | xentara::utils::network::SocketStream< Element > | |
SocketStream(std::reference_wrapper< const io::StopSource > stopSource) noexcept | xentara::utils::network::SocketStream< Element > | explicit |
SocketStream(SocketDevice &&device) | xentara::utils::network::SocketStream< Element > | |
SocketStream(Socket &&socket, Options... options) | xentara::utils::network::SocketStream< Element > | |
SocketStream(int addressFamily, Options... options) | xentara::utils::network::SocketStream< Element > | explicit |
SocketStream(posix::File socketFileDescriptor, Options... options) | xentara::utils::network::SocketStream< Element > | |
SocketStream(windows::Socket socket, Options... options) | xentara::utils::network::SocketStream< Element > | |
streamDescription() const -> std::string | xentara::utils::io::StreamBase | |
tryPeek() -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
tryReadByte() -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
tryReadChar() -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
tryReadElement() -> std::optional< Element > | xentara::utils::io::InputStream< Element > | |
trySkipByte() -> bool | xentara::utils::io::InputStream< Element > | |
trySkipChar() -> bool | xentara::utils::io::InputStream< Element > | |
trySkipElement() -> bool | xentara::utils::io::InputStream< Element > | |
waitForData() -> void | xentara::utils::io::InputStream< Element > | |
waitForData(std::optional< std::chrono::nanoseconds > timeout) -> bool | xentara::utils::io::InputStream< Element > | |
write(Element element) -> void | xentara::utils::io::OutputStream< Element > | |
write(const Data &data) -> void | xentara::utils::io::OutputStream< Element > | |
write(const Element(&data)[kDataSize]) -> void | xentara::utils::io::OutputStream< Element > | |
write(Iterator first, Sentinel last) -> void | xentara::utils::io::OutputStream< Element > | |
write(const Element *data, std::size_t size) -> void | xentara::utils::io::OutputStream< Element > | |
write(const Element *nullTerminatedString) -> void | xentara::utils::io::OutputStream< Element > | |
writeBufferBegin() const -> Element * | xentara::utils::io::OutputStream< Element > | protected |
writeBufferEnd() const -> Element * | xentara::utils::io::OutputStream< Element > | protected |
writeBufferSize() const -> std::size_t | xentara::utils::io::OutputStream< Element > | protected |
writeDataBegin() const -> Element * | xentara::utils::io::OutputStream< Element > | protected |
writeDataEnd() const -> Element * | xentara::utils::io::OutputStream< Element > | protected |
writeDataSize() const -> std::size_t | xentara::utils::io::OutputStream< Element > | protected |
~InputStream() noexcept(false)=0 | xentara::utils::io::InputStream< Element > | pure virtual |
~OutputStream() noexcept(false)=0 | xentara::utils::io::OutputStream< Element > | pure virtual |
~SocketStream() noexcept=default | xentara::utils::network::SocketStream< Element > | |
~StreamBase() noexcept(false)=0 | xentara::utils::io::StreamBase | pure virtual |