VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
|
Resource input stream. More...
#include <cstream.h>
Public Member Functions | |
CResourceInputStream (ByteOrder byteOrder=kNativeByteOrder) | |
~CResourceInputStream () noexcept override | |
bool | open (const CResourceDescription &res) |
bool | operator>> (std::string &string) override |
uint32_t | readRaw (void *buffer, uint32_t size) override |
int64_t | seek (int64_t pos, SeekMode mode) override |
returns -1 if seek fails otherwise new position | |
int64_t | tell () const override |
void | rewind () override |
bool | operator>> (int8_t &output) |
bool | operator>> (uint8_t &output) |
bool | operator>> (int16_t &output) |
bool | operator>> (uint16_t &output) |
bool | operator>> (int32_t &output) |
bool | operator>> (uint32_t &output) |
bool | operator>> (int64_t &output) |
bool | operator>> (uint64_t &output) |
bool | operator>> (double &output) |
![]() | |
InputStream (ByteOrder byteOrder=kNativeByteOrder) | |
virtual | ~InputStream () noexcept=default |
ByteOrder | getByteOrder () const |
void | setByteOrder (ByteOrder newByteOrder) |
bool | operator>> (int8_t &output) |
bool | operator>> (uint8_t &output) |
bool | operator>> (int16_t &output) |
bool | operator>> (uint16_t &output) |
bool | operator>> (int32_t &output) |
bool | operator>> (uint32_t &output) |
bool | operator>> (int64_t &output) |
bool | operator>> (uint64_t &output) |
bool | operator>> (double &output) |
![]() | |
virtual | ~SeekableStream () noexcept=default |
Protected Attributes | |
PlatformResourceInputStreamPtr | platformStream |
Additional Inherited Members | |
![]() | |
enum | SeekMode { kSeekSet , kSeekCurrent , kSeekEnd } |
Resource input stream.
|
explicit |
|
overridenoexcept |
bool open | ( | const CResourceDescription & | res | ) |
bool operator>> | ( | double & | output | ) |
bool operator>> | ( | int16_t & | output | ) |
bool operator>> | ( | int32_t & | output | ) |
bool operator>> | ( | int64_t & | output | ) |
bool operator>> | ( | int8_t & | output | ) |
|
inlineoverridevirtual |
Implements InputStream.
bool operator>> | ( | uint16_t & | output | ) |
bool operator>> | ( | uint32_t & | output | ) |
bool operator>> | ( | uint64_t & | output | ) |
bool operator>> | ( | uint8_t & | output | ) |
|
overridevirtual |
Implements InputStream.
|
overridevirtual |
Implements SeekableStream.
|
overridevirtual |
returns -1 if seek fails otherwise new position
Implements SeekableStream.
|
overridevirtual |
Implements SeekableStream.
|
protected |