|
|
| NullStream (void) |
| | Default constructor.
|
| |
| | NullStream (const NullStream &arg) |
| | Default copy constructor. More...
|
| |
| | NullStream (NullStream &&arg) noexcept |
| | Default move constructor. More...
|
| |
| NullStream & | operator= (const NullStream &arg) |
| | Default copy-assignment operator. More...
|
| |
| NullStream & | operator= (NullStream &&arg) noexcept |
| | Default move-assignment operator. More...
|
| |
|
| ~NullStream (void) |
| | Default destructor.
|
| |
| bool | CanRead (void) final |
| | Determines if the derived stream can read. More...
|
| |
| bool | CanWrite (void) final |
| | Determines if the derived stream can write. More...
|
| |
| bool | CanSeek (void) final |
| | Determines if the derived stream can seek. More...
|
| |
| void | SetPosition (size_t value) final |
| | Sets the position of the stream, if it can seek. More...
|
| |
| size_t | GetPosition (void) final |
| | Gets the position of the stream, if it can seek. More...
|
| |
| size_t | Seek (size_t offset, SeekOrigin origin) final |
| |
| size_t | Read (byte *pBuffer, size_t bufferSize, size_t offset, size_t count) final |
| |
| void | Write (const byte *pBuffer, size_t bufferSize, size_t offset, size_t count) final |
| |
| void | WriteByte (byte value) final |
| | Writes a single byte to the stream. More...
|
| |
| byte | ReadByte (void) final |
| | Reads a single byte from the stream. More...
|
| |
| void | WriteTo (Stream &other) final |
| | Writes the data this stream to another stream entirely. More...
|
| |
| void | ReadFrom (Stream &other) final |
| | Reads the entire data from another stream into this stream. More...
|
| |
| void | Flush (void) final |
| |
| | Stream (bool canRead=false, bool canWrite=false, bool canSeek=false) |
| | This constructor is used to constructs a base stream instance. More...
|
| |
| | Stream (const Stream &arg) |
| | Default copy constructor. More...
|
| |
| | Stream (Stream &&arg) noexcept |
| | Default move constructor. More...
|
| |
| Stream & | operator= (const Stream &arg) |
| | Default copy-assignment operator. More...
|
| |
| Stream & | operator= (Stream &&arg) noexcept |
| | Default move-assignment operator. More...
|
| |
|
virtual | ~Stream (void) |
| | Default destructor.
|
| |
| virtual bool | CanRead (void) |
| | Determines if the derived stream can read. More...
|
| |
| virtual bool | CanWrite (void) |
| | Determines if the derived stream can write. More...
|
| |
| virtual bool | CanSeek (void) |
| | Determines if the derived stream can seek. More...
|
| |
| virtual void | SetPosition (size_t value) |
| | Sets the position of the stream, if it can seek. More...
|
| |
| virtual size_t | GetPosition (void) |
| | Gets the position of the stream, if it can seek. More...
|
| |
| virtual size_t | Seek (size_t offset, SeekOrigin origin)=0 |
| |
| virtual size_t | Read (byte *pBuffer, size_t bufferSize, size_t bufferOffset, size_t count)=0 |
| |
| virtual void | Write (const byte *pBuffer, size_t bufferSize, size_t bufferOffset, size_t count)=0 |
| |
| virtual void | Flush (void)=0 |
| |
| virtual byte | ReadByte (void) |
| | Reads a single byte from the stream. More...
|
| |
| virtual void | WriteByte (byte value) |
| | Writes a single byte to the stream. More...
|
| |
| virtual void | WriteTo (Stream &other) |
| | Writes the data this stream to another stream entirely. More...
|
| |
| virtual void | ReadFrom (Stream &other) |
| | Reads the entire data from another stream into this stream. More...
|
| |
This class represents a stream without any data.
This is a utility class to simplify implementations using streams to skip remaining data. All operations of this stream are left empty and do nothing.