libvariant
 All Classes Namespaces Files Functions Enumerations Groups
Public Member Functions | Protected Attributes | List of all members
libvariant::ParserStreamInput Class Referenceabstract

A partially specialized parser input adapted to stream based inputs. More...

#include <Variant/ParserInput.h>

Inheritance diagram for libvariant::ParserStreamInput:
libvariant::ParserInput libvariant::ParserFileInput libvariant::ParserStreambufInput libvariant::ParserFilenameInput

Public Member Functions

 ParserStreamInput (unsigned buffer_len)
 
virtual const void * GetPtr (unsigned &len)
 
virtual void Release (unsigned len)
 
virtual unsigned Read (void *ptr, unsigned len)=0
 return number of bytes read into ptr, 0 on EOF
 

Protected Attributes

std::vector< char > buffer
 
unsigned num
 
unsigned offset
 
bool eof
 

Detailed Description

A partially specialized parser input adapted to stream based inputs.


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