Go to the documentation of this file.
50 using ReferenceManager::SafePointer;
51 using ReferenceManager::SectionKey;
52 using ReferenceManager::FileOffsetKey;
53 using ReferenceManager::SectionIndexKey;
115 for (
unsigned int j = 0; j < elem->
length(); j++) {
void writeHalfWord(HalfWord halfword)
virtual void createKeys(const Section *sect) const
static const TPEFDebugSectionWriter instance_
A unique instance of this class.
virtual Byte byte(Word index) const =0
Returns one byte of additional data.
void writeWord(Word word)
unsigned int writePosition()
virtual void actualWriteData(BinaryStream &stream, const Section *section) const
static void addObjectReference(SectionIndexKey key, const SafePointable *obj)
#define assert(condition)
SectionElement * element(Word index) const
static void registerSectionWriter(const SectionWriter *sWriter)
virtual ElementType type() const =0
virtual ~TPEFDebugSectionWriter()
virtual Section::SectionType type() const
Word FileOffset
Type for storing absolute file offsets.
virtual Word elementSize(const Section *section) const
virtual Word length() const =0
Returns the length of additional data of debug element.
void writeByte(Byte byte)
static void setSize(const SafePointable *obj, Word size)
Chunk * debugString() const
Word elementCount() const