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

vector_bitwriter Class Reference
[bitio]

#include <bitwriters.hpp>

Inheritance diagram for vector_bitwriter:

bitwriter List of all members.

Detailed Description

Specialization for vector<char>.

Definition at line 57 of file bitwriters.hpp.

Public Member Functions

 vector_bitwriter (std::vector< char > &_s)
 Constructor.


Protected Member Functions

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


Protected Attributes

std::vector< char > & s


Constructor & Destructor Documentation

vector_bitwriter::vector_bitwriter std::vector< char > &  _s  )  [inline]
 

Constructor.

Parameters:
_s - the vector to use.

Definition at line 62 of file bitwriters.hpp.

00062 : s(_s) { ; }


Member Function Documentation

void vector_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 67 of file bitwriters.hpp.

00067 { s.push_back(c); }


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