OpenASIP
2.0
|
#include <AsciiProgramImageWriter.hh>
Public Member Functions | |
AsciiProgramImageWriter (const InstructionBitVector &bits) | |
virtual | ~AsciiProgramImageWriter () |
virtual void | writeImage (std::ostream &stream) const |
Public Member Functions inherited from AsciiImageWriter | |
AsciiImageWriter (const BitVector &bits, int rowLength) | |
virtual | ~AsciiImageWriter () |
Public Member Functions inherited from BitImageWriter | |
virtual | ~BitImageWriter () |
Additional Inherited Members | |
Protected Member Functions inherited from AsciiImageWriter | |
const BitVector & | bits () const |
int | rowLength () const |
void | writeSequence (std::ostream &stream, int length, bool padEnd=false) const |
void | writeHexSequence (std::ostream &stream, int length, bool padEnd=false) const |
This class writes ASCII program images.
Definition at line 43 of file AsciiProgramImageWriter.hh.
AsciiProgramImageWriter::AsciiProgramImageWriter | ( | const InstructionBitVector & | bits | ) |
The constructor.
bits | The program bits to be written. |
Definition at line 42 of file AsciiProgramImageWriter.cc.
|
virtual |
|
virtual |
Writes the program image to the given output stream.
stream | The output stream. |
Reimplemented from AsciiImageWriter.
Definition at line 60 of file AsciiProgramImageWriter.cc.
References assert, AsciiImageWriter::bits(), InstructionBitVector::instructionCount(), InstructionBitVector::instructionStartingPoint(), and AsciiImageWriter::writeSequence().