Octane v1.01.20 - The Open Compression Toolkit for C++ http://octane.sourceforge.net/
Homepage | Main | Modules | Class Hierarchy | Compound List | File List | Compound Members | Related Pages

stream_bitwriter Class Reference
[bitio]

#include <bitwriters.hpp>

Inheritance diagram for stream_bitwriter:

bitwriter List of all members.

Detailed Description

Specialization for streams.

Definition at line 41 of file bitwriters.hpp.

Public Member Functions

 stream_bitwriter (std::ostream &_s)
 Constructor.


Protected Member Functions

void write_next_byte (char c)
 Defines the method of writing a single byte of output.


Protected Attributes

std::ostream & s


Constructor & Destructor Documentation

stream_bitwriter::stream_bitwriter std::ostream &  _s  )  [inline]
 

Constructor.

Parameters:
_s - the stream to use.

Definition at line 46 of file bitwriters.hpp.

00046 : s(_s) { ; }


Member Function Documentation

void stream_bitwriter::write_next_byte char  c  )  [inline, protected, virtual]
 

Defines the method of writing a single byte of output.

Derived classes should implement this function.

Parameters:
c - the 8 bits to write to the output.

Implements bitwriter.

Definition at line 51 of file bitwriters.hpp.

00051 { s.put(c); }


The documentation for this class was generated from the following file:  
Generated on 20 May 2004 by doxygen 1.3.3