|
OpenASIP 2.2
|
#include <TPEFDebugSectionWriter.hh>


Protected Member Functions | |
| TPEFDebugSectionWriter () | |
| virtual | ~TPEFDebugSectionWriter () |
| virtual Section::SectionType | type () const |
| virtual void | createKeys (const Section *sect) const |
| virtual void | actualWriteData (BinaryStream &stream, const Section *section) const |
| virtual Word | elementSize (const Section *section) const |
Protected Member Functions inherited from TPEF::TPEFSectionWriter | |
| TPEFSectionWriter () | |
| virtual | ~TPEFSectionWriter () |
| virtual const BinaryWriter & | parent () const |
| virtual void | actualWriteHeader (BinaryStream &stream, const Section *sect) const |
| virtual void | writeSize (BinaryStream &stream, const Section *sect) const |
| virtual void | writeInfo (BinaryStream &stream, const Section *sect) const |
| virtual SectionId | getSectionId () const |
Protected Member Functions inherited from TPEF::SectionWriter | |
| SectionWriter () | |
| virtual | ~SectionWriter () |
| virtual void | finalize (BinaryStream &stream, Section *section) const |
Private Member Functions | |
| TPEFDebugSectionWriter (const TPEFDebugSectionWriter &) | |
| Copying not allowed. | |
| TPEFDebugSectionWriter | operator= (const TPEFDebugSectionWriter &) |
| Assignment not allowed. | |
Static Private Attributes | |
| static const TPEFDebugSectionWriter | instance_ |
| A unique instance of this class. | |
Additional Inherited Members | |
Static Public Member Functions inherited from TPEF::SectionWriter | |
| static void | writeHeader (BinaryStream &stream, const Section *sect, const BinaryWriter *writer) |
| static void | writeData (BinaryStream &stream, const Section *sect, const BinaryWriter *writer) |
| static void | finalizeBinary (BinaryStream &stream, const Binary *binaryToFinalize, const BinaryWriter *writer) |
Static Protected Member Functions inherited from TPEF::SectionWriter | |
| static void | registerSectionWriter (const SectionWriter *sWriter) |
| static SectionId | getUniqueSectionId () |
Writes TPEF symbol table to stream.
Definition at line 46 of file TPEFDebugSectionWriter.hh.
|
protected |
Constructor.
Registers itself to SectionWriter.
Definition at line 62 of file TPEFDebugSectionWriter.cc.
References TPEF::SectionWriter::registerSectionWriter().

|
protectedvirtual |
|
private |
Copying not allowed.
|
protectedvirtual |
Writes the data of the section in to stream.
| stream | The stream to be written to. |
| sect | The section to be written. |
Reimplemented from TPEF::TPEFSectionWriter.
Definition at line 89 of file TPEFDebugSectionWriter.cc.
References TPEF::ReferenceManager::SafePointer::addObjectReference(), assert, TPEF::DebugElement::byte(), TPEF::DebugElement::debugString(), TPEF::Section::element(), TPEF::Section::elementCount(), TPEF::DebugElement::length(), TPEF::ValueReplacer::resolve(), TPEF::SectionSizeReplacer::setSize(), TPEF::DebugElement::type(), TPEF::BinaryStream::writeByte(), TPEF::BinaryStream::writeHalfWord(), TPEF::BinaryStream::writePosition(), and TPEF::BinaryStream::writeWord().

|
protectedvirtual |
Creates needed keys for section if noBits flag is set.
| sect | Section which for keys will be created. |
Reimplemented from TPEF::TPEFSectionWriter.
Definition at line 138 of file TPEFDebugSectionWriter.cc.
References TPEF::SectionSizeReplacer::setSize().

|
protectedvirtual |
Returns the fixed size length of section elements.
Reimplemented from TPEF::TPEFSectionWriter.
Definition at line 128 of file TPEFDebugSectionWriter.cc.
|
private |
Assignment not allowed.
|
protectedvirtual |
Returns the section type this writer can write.
Implements TPEF::TPEFSectionWriter.
Definition at line 78 of file TPEFDebugSectionWriter.cc.
References TPEF::Section::ST_DEBUG.
|
staticprivate |
A unique instance of this class.
Definition at line 68 of file TPEFDebugSectionWriter.hh.