#include <Stream.h>
|
virtual | ~BoundedIOStream () |
|
virtual void | open ()=0 |
| Open access to the stream. More...
|
|
virtual void | close ()=0 |
| Close access to the stream. More...
|
|
virtual std::size_t | read (char *destination, std::size_t size)=0 |
| Read bytes from stream into the given buffer. More...
|
|
virtual std::size_t | read (Writable *destination, std::size_t size)=0 |
| Read bytes from this stream into the given stream. More...
|
|
virtual std::size_t | write (const char *source, std::size_t size)=0 |
| Writes bytes from the given buffer to the stream. More...
|
|
virtual std::size_t | write (Readable *source, std::size_t size)=0 |
| Writes bytes from the given stream to this stream. More...
|
|
virtual std::uint64_t | tell ()=0 |
| Get the current position in the stream. More...
|
|
virtual void | seek (std::uint64_t position)=0 |
| Set the current position in the stream. More...
|
|
virtual std::uint64_t | size ()=0 |
| Obtain size of stream in bytes. More...
|
|
◆ AccessMode
◆ OpenMode
◆ ~BoundedIOStream()
trio::BoundedIOStream::~BoundedIOStream |
( |
| ) |
|
|
virtualdefault |
◆ AlreadyOpenError
◆ OpenError
const sc::StatusCode trio::BoundedIOStream::OpenError {100, "Error opening file"} |
|
static |
◆ ReadError
const sc::StatusCode trio::BoundedIOStream::ReadError {101, "Error reading file"} |
|
static |
◆ SeekError
const sc::StatusCode trio::BoundedIOStream::SeekError {104, "Error seeking file"} |
|
static |
◆ WriteError
const sc::StatusCode trio::BoundedIOStream::WriteError {102, "Error writing file"} |
|
static |
The documentation for this class was generated from the following files: