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

array_bitwriter Class Reference
[bitio]

#include <bitwriters.hpp>

Inheritance diagram for array_bitwriter:

bitwriter List of all members.

Detailed Description

Specialization for C pointer to char.

Definition at line 89 of file bitwriters.hpp.

Public Member Functions

 array_bitwriter (char *_s)
 Constructor.


Protected Member Functions

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


Protected Attributes

char * s


Constructor & Destructor Documentation

array_bitwriter::array_bitwriter char *  _s  )  [inline]
 

Constructor.

Parameters:
_s - the pointer to use.

Definition at line 94 of file bitwriters.hpp.

00094 : s(_s) { ; }


Member Function Documentation

void array_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 99 of file bitwriters.hpp.

00099 { *s++ = c; }


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