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

An I/O stream into which objects may be serialized and subsequently deserialized. More...

#include <ByteStream.h>

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

Public Types

typedef std::iostream Super
 

Public Member Functions

 ByteStream (std::streambuf *sb)
 
 ByteStream (ByteStream &&rhs)
 
ByteStreamoperator= (ByteStream &&rhs)
 
int_type get ()
 
ByteStreamget (byte &c)
 
ByteStreamget (byte *s, std::streamsize n)
 
ByteStreamget (byte *s, std::streamsize n, byte delim)
 
ByteStreamget (std::streambuf &sb)
 
ByteStreamget (std::streambuf &sb, byte delim)
 
ByteStreamgetline (byte *s, std::streamsize n)
 
ByteStreamgetline (byte *s, std::streamsize n, byte delim)
 
ByteStreamignore (std::streamsize count=1, int_type delim=traits_type::eof())
 
ByteStreamread (byte *s, std::streamsize n)
 
std::streamsize readsome (byte *s, std::streamsize n)
 
ByteStreamputback (byte c)
 
ByteStreamunget ()
 
ByteStreamseekg (pos_type pos)
 
ByteStreamseekg (off_type off, ios_base::seekdir dir)
 
ByteStreamput (byte c)
 
ByteStreamwrite (const byte *s, std::streamsize n)
 
ByteStreamseekp (pos_type pos)
 
ByteStreamseekp (off_type off, ios_base::seekdir dir)
 
ByteStreamflush ()
 

Detailed Description

An I/O stream into which objects may be serialized and subsequently deserialized.

Member Typedef Documentation

typedef std::iostream honey::ByteStream::Super

Constructor & Destructor Documentation

honey::ByteStream::ByteStream ( std::streambuf *  sb)
inlineexplicit
honey::ByteStream::ByteStream ( ByteStream &&  rhs)
inline

Member Function Documentation

ByteStream& honey::ByteStream::flush ( )
inline
int_type honey::ByteStream::get ( )
inline
ByteStream& honey::ByteStream::get ( byte c)
inline
ByteStream& honey::ByteStream::get ( byte s,
std::streamsize  n 
)
inline
ByteStream& honey::ByteStream::get ( byte s,
std::streamsize  n,
byte  delim 
)
inline
ByteStream& honey::ByteStream::get ( std::streambuf &  sb)
inline
ByteStream& honey::ByteStream::get ( std::streambuf &  sb,
byte  delim 
)
inline
ByteStream& honey::ByteStream::getline ( byte s,
std::streamsize  n 
)
inline
ByteStream& honey::ByteStream::getline ( byte s,
std::streamsize  n,
byte  delim 
)
inline
ByteStream& honey::ByteStream::ignore ( std::streamsize  count = 1,
int_type  delim = traits_type::eof() 
)
inline
ByteStream& honey::ByteStream::operator= ( ByteStream &&  rhs)
inline
ByteStream& honey::ByteStream::put ( byte  c)
inline
ByteStream& honey::ByteStream::putback ( byte  c)
inline
ByteStream& honey::ByteStream::read ( byte s,
std::streamsize  n 
)
inline
std::streamsize honey::ByteStream::readsome ( byte s,
std::streamsize  n 
)
inline
ByteStream& honey::ByteStream::seekg ( pos_type  pos)
inline
ByteStream& honey::ByteStream::seekg ( off_type  off,
ios_base::seekdir  dir 
)
inline
ByteStream& honey::ByteStream::seekp ( pos_type  pos)
inline
ByteStream& honey::ByteStream::seekp ( off_type  off,
ios_base::seekdir  dir 
)
inline
ByteStream& honey::ByteStream::unget ( )
inline
ByteStream& honey::ByteStream::write ( const byte s,
std::streamsize  n 
)
inline

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