VSTGUI  4.2
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
CResourceInputStream Class Reference
+ Inheritance diagram for CResourceInputStream:
+ Collaboration diagram for CResourceInputStream:

Public Types

enum  SeekMode { kSeekSet, kSeekCurrent, kSeekEnd }
 

Public Member Functions

 CResourceInputStream (ByteOrder byteOrder=kNativeByteOrder)
 
 ~CResourceInputStream ()
 
bool open (const CResourceDescription &res)
 
virtual bool operator>> (std::string &string)
 
virtual int32_t readRaw (void *buffer, int32_t size)
 
virtual int64_t seek (int64_t pos, SeekMode mode)
 returns -1 if seek fails otherwise new position More...
 
virtual int64_t tell () const
 
virtual void rewind ()
 
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)
 

Protected Attributes

void * platformHandle
 

Detailed Description

Resource input stream

Member Enumeration Documentation

enum SeekMode
inherited
Enumerator
kSeekSet 
kSeekCurrent 
kSeekEnd 

Constructor & Destructor Documentation

Member Function Documentation

ByteOrder getByteOrder ( ) const
inlineinherited
bool open ( const CResourceDescription res)

+ Here is the caller graph for this function:

bool operator>> ( int8_t &  output)
inherited

+ Here is the call graph for this function:

bool operator>> ( uint8_t &  output)
inherited

+ Here is the call graph for this function:

bool operator>> ( int16_t &  output)
inherited

+ Here is the call graph for this function:

bool operator>> ( uint16_t &  output)
inherited

+ Here is the call graph for this function:

bool operator>> ( int32_t &  output)
inherited

+ Here is the call graph for this function:

bool operator>> ( uint32_t &  output)
inherited

+ Here is the call graph for this function:

bool operator>> ( int64_t &  output)
inherited

+ Here is the call graph for this function:

bool operator>> ( uint64_t &  output)
inherited

+ Here is the call graph for this function:

bool operator>> ( double &  output)
inherited

+ Here is the call graph for this function:

virtual bool operator>> ( std::string &  string)
inlinevirtual

Implements InputStream.

int32_t readRaw ( void *  buffer,
int32_t  size 
)
virtual

Implements InputStream.

void rewind ( )
virtual

Implements SeekableStream.

int64_t seek ( int64_t  pos,
SeekMode  mode 
)
virtual

returns -1 if seek fails otherwise new position

Implements SeekableStream.

+ Here is the call graph for this function:

void setByteOrder ( ByteOrder  newByteOrder)
inlineinherited

+ Here is the caller graph for this function:

int64_t tell ( ) const
virtual

Implements SeekableStream.

+ Here is the caller graph for this function:

Member Data Documentation

void* platformHandle
protected

The documentation for this class was generated from the following files: