HDK
|
#include <NET_IODevice.h>
Public Types | |
using | OpenMode = NET_IODeviceOpenMode |
Public Member Functions | |
virtual | ~NET_IODevice ()=default |
UT_NON_COPYABLE (NET_IODevice) | |
virtual bool | atEnd () const |
virtual exint | bytesAvailable () const =0 |
virtual exint | read (char *data, exint max_size) |
virtual UT_Array< char > | read (exint max_size) |
virtual UT_Array< char > | readAll () |
virtual bool | seek (exint pos) |
virtual exint | size () const |
virtual exint | write (const char *data, exint max_size) |
virtual exint | write (const char *data) |
virtual exint | write (const UT_Array< char > &data) |
virtual exint | pos () const =0 |
virtual void | close () |
virtual bool | open (OpenMode mode) |
virtual bool | isSequential () const |
const UT_ErrorCode & | error () const |
const UT_StringHolder & | mime () const |
void | setMime (const UT_StringHolder &mime) |
OpenMode | mode () const |
bool | isReadable () const |
bool | isWriteable () const |
Protected Member Functions | |
NET_IODevice ()=default | |
Protected Attributes | |
UT_ErrorCode | myError |
UT_StringHolder | myMime |
OpenMode | myMode = OpenMode::NotOpen |
Definition at line 50 of file NET_IODevice.h.
Definition at line 53 of file NET_IODevice.h.
|
virtualdefault |
|
protecteddefault |
|
inlinevirtual |
Definition at line 58 of file NET_IODevice.h.
|
pure virtual |
Implemented in NET_MemBuffer.
|
inlinevirtual |
Definition at line 69 of file NET_IODevice.h.
|
inline |
Definition at line 80 of file NET_IODevice.h.
|
inline |
Definition at line 86 of file NET_IODevice.h.
|
inlinevirtual |
Definition at line 79 of file NET_IODevice.h.
|
inline |
Definition at line 91 of file NET_IODevice.h.
|
inline |
Definition at line 82 of file NET_IODevice.h.
|
inline |
Definition at line 85 of file NET_IODevice.h.
|
inlinevirtual |
Definition at line 74 of file NET_IODevice.h.
|
pure virtual |
Implemented in NET_MemBuffer.
Reimplemented in NET_MemBuffer.
Definition at line 60 of file NET_IODevice.h.
Reimplemented in NET_MemBuffer.
|
virtual |
Reimplemented in NET_MemBuffer.
|
inlinevirtual |
Reimplemented in NET_MemBuffer.
Definition at line 63 of file NET_IODevice.h.
|
inline |
Definition at line 83 of file NET_IODevice.h.
Reimplemented in NET_MemBuffer.
Definition at line 64 of file NET_IODevice.h.
NET_IODevice::UT_NON_COPYABLE | ( | NET_IODevice | ) |
Reimplemented in NET_MemBuffer.
Definition at line 65 of file NET_IODevice.h.
|
inlinevirtual |
Reimplemented in NET_MemBuffer.
Definition at line 66 of file NET_IODevice.h.
Reimplemented in NET_MemBuffer.
Definition at line 67 of file NET_IODevice.h.
|
protected |
Definition at line 99 of file NET_IODevice.h.
|
protected |
Definition at line 100 of file NET_IODevice.h.
|
protected |
Definition at line 101 of file NET_IODevice.h.