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

string_bitwriter Class Reference
[bitio]

#include <bitwriters.hpp>

Inheritance diagram for string_bitwriter:

bitwriter List of all members.

Detailed Description

Specialization for string.

Definition at line 73 of file bitwriters.hpp.

Public Member Functions

 string_bitwriter (std::string &_s)
 Constructor.


Protected Member Functions

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


Protected Attributes

std::string & s


Constructor & Destructor Documentation

string_bitwriter::string_bitwriter std::string &  _s  )  [inline]
 

Constructor.

Parameters:
_s - the string to use.

Definition at line 78 of file bitwriters.hpp.

00078 : s(_s) { ; }


Member Function Documentation

void string_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 83 of file bitwriters.hpp.

00083 { s += c; }


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