VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
InputStream Class Referenceabstract

ByteOrder aware input stream interface. More...

+ Inheritance diagram for InputStream:

Public Member Functions

 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 bool operator>> (std::string &string)=0
 
virtual uint32_t readRaw (void *buffer, uint32_t size)=0
 

Detailed Description

ByteOrder aware input stream interface.

Constructor & Destructor Documentation

InputStream ( ByteOrder  byteOrder = kNativeByteOrder)
inlineexplicit
virtual ~InputStream ( )
virtualdefaultnoexcept

Member Function Documentation

ByteOrder getByteOrder ( ) const
inline
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 bool operator>> ( std::string &  string)
pure virtual
virtual uint32_t readRaw ( void *  buffer,
uint32_t  size 
)
pure virtual
void setByteOrder ( ByteOrder  newByteOrder)
inline

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