OpenASIP
2.0
|
#include <RawImageWriter.hh>
Public Member Functions | |
RawImageWriter (const BitVector &bits) | |
virtual | ~RawImageWriter () |
virtual void | writeImage (std::ostream &stream) const |
Public Member Functions inherited from BitImageWriter | |
virtual | ~BitImageWriter () |
Static Private Member Functions | |
static char | character (const BitVector &bits, unsigned int startIndex) |
Private Attributes | |
const BitVector & | bits_ |
The bits to be written. More... | |
Bit image writer that writes a real binary image.
Definition at line 43 of file RawImageWriter.hh.
RawImageWriter::RawImageWriter | ( | const BitVector & | bits | ) |
The constructor.
bits | The bits to be written. |
Definition at line 41 of file RawImageWriter.cc.
|
virtual |
|
staticprivate |
Returns the byte of the given bit vector that starts at the given index.
bits | The bit vector. |
startIndex | The start index. |
Definition at line 74 of file RawImageWriter.cc.
Referenced by writeImage().
|
virtual |
Writes the bit image to the given output stream.
stream | The output stream. |
Implements BitImageWriter.
Definition at line 58 of file RawImageWriter.cc.
References bits_, and character().
|
private |
The bits to be written.
Definition at line 54 of file RawImageWriter.hh.
Referenced by writeImage().