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

Parser input from a streambuf. More...

#include <Variant/ParserInput.h>

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

Public Member Functions

 ParserStreambufInput (std::streambuf *sb)
 
unsigned Read (void *ptr, unsigned len)
 return number of bytes read into ptr, 0 on EOF
 
- Public Member Functions inherited from libvariant::ParserStreamInput
 ParserStreamInput (unsigned buffer_len)
 
virtual const void * GetPtr (unsigned &len)
 
virtual void Release (unsigned len)
 

Protected Attributes

std::streambuf * streambuf
 
- Protected Attributes inherited from libvariant::ParserStreamInput
std::vector< char > buffer
 
unsigned num
 
unsigned offset
 
bool eof
 

Detailed Description

Parser input from a streambuf.


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