PLCnext API Documentation 24.0.0.71
|
Provides a generic view of a sequence of bytes. More...
#include <Stream.hpp>
Public Member Functions | |
Stream (void) | |
Constructs an Stream instance. | |
Stream (const Stream &arg)=delete | |
Copy constructor. | |
Stream & | operator= (const Stream &arg)=delete |
Assignment operator. | |
virtual | ~Stream (void) |
Destructs this instance and frees all resources. | |
virtual boolean | CanRead (void)=0 |
virtual boolean | CanWrite (void)=0 |
virtual boolean | CanSeek (void)=0 |
virtual size_t | GetLength (void)=0 |
virtual void | SetLength (size_t length)=0 |
virtual size_t | GetPosition (void)=0 |
virtual void | SetPosition (size_t position)=0 |
virtual void | Flush (void)=0 |
virtual size_t | Seek (size_t offset, SeekOrigin origin)=0 |
virtual size_t | Read (byte *pBuffer, size_t bufferSize, size_t offset, size_t count)=0 |
virtual void | Write (const byte *pBuffer, size_t bufferSize, size_t offset, size_t count)=0 |
virtual byte | ReadByte (void) |
virtual void | WriteByte (byte value) |
virtual void | CopyTo (Stream &other) |
void | Dispose (void) |
void | Close (void) |
Static Public Attributes | |
static NullStream | Empty |
Protected Member Functions | |
boolean | IsDisposed (void) |
void | CheckDisposed (void) |
virtual void | InternalDispose (void)=0 |
Provides a generic view of a sequence of bytes.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.
|
pure virtual |
Implemented in Arp::System::Commons::Io::FileStream.