Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | List of all members
honey::ByteStreamBuf Class Reference

A stream I/O buffer of bytes, to be passed into ByteStream. More...

#include <ByteStream.h>

Inheritance diagram for honey::ByteStreamBuf:
Inheritance graph
[legend]
Collaboration diagram for honey::ByteStreamBuf:
Collaboration graph
[legend]

Public Types

typedef std::stringbuf Super
 

Public Member Functions

 ByteStreamBuf (ios_base::openmode mode=0)
 
 ByteStreamBuf (const Bytes &bs, ios_base::openmode mode=0)
 
 ByteStreamBuf (ByteStreamBuf &&rhs)
 
ByteStreamBufoperator= (ByteStreamBuf &&rhs)
 
Bytes bytes () const
 
void bytes (const Bytes &bs)
 
std::streamsize sgetn (byte *s, std::streamsize n)
 
int sputbackc (byte c)
 
int sputc (byte c)
 
std::streamsize sputn (const byte *s, std::streamsize n)
 
byteeback () const
 
bytegptr () const
 
byteegptr () const
 
void setg (byte *gbeg, byte *gnext, byte *gend)
 
bytepbase () const
 
bytepptr () const
 
byteepptr () const
 
void setp (byte *new_pbase, byte *new_epptr)
 

Detailed Description

A stream I/O buffer of bytes, to be passed into ByteStream.

Member Typedef Documentation

typedef std::stringbuf honey::ByteStreamBuf::Super

Constructor & Destructor Documentation

honey::ByteStreamBuf::ByteStreamBuf ( ios_base::openmode  mode = 0)
inlineexplicit
honey::ByteStreamBuf::ByteStreamBuf ( const Bytes bs,
ios_base::openmode  mode = 0 
)
inlineexplicit
honey::ByteStreamBuf::ByteStreamBuf ( ByteStreamBuf &&  rhs)
inline

Member Function Documentation

Bytes honey::ByteStreamBuf::bytes ( ) const
inline
void honey::ByteStreamBuf::bytes ( const Bytes bs)
inline
byte* honey::ByteStreamBuf::eback ( ) const
inline
byte* honey::ByteStreamBuf::egptr ( ) const
inline
byte* honey::ByteStreamBuf::epptr ( ) const
inline
byte* honey::ByteStreamBuf::gptr ( ) const
inline
ByteStreamBuf& honey::ByteStreamBuf::operator= ( ByteStreamBuf &&  rhs)
inline
byte* honey::ByteStreamBuf::pbase ( ) const
inline
byte* honey::ByteStreamBuf::pptr ( ) const
inline
void honey::ByteStreamBuf::setg ( byte gbeg,
byte gnext,
byte gend 
)
inline
void honey::ByteStreamBuf::setp ( byte new_pbase,
byte new_epptr 
)
inline
std::streamsize honey::ByteStreamBuf::sgetn ( byte s,
std::streamsize  n 
)
inline
int honey::ByteStreamBuf::sputbackc ( byte  c)
inline
int honey::ByteStreamBuf::sputc ( byte  c)
inline
std::streamsize honey::ByteStreamBuf::sputn ( const byte s,
std::streamsize  n 
)
inline

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