34#ifndef TTA_TPEF_READER_HH
35#define TTA_TPEF_READER_HH
83 Byte aSpaceSectionId)
const;
UInt32 AddressImage
Type for storing addresses to memory image.
TPEFReader(const TPEFReader &)
void addSectionSize(const Section *sect, Word length)
virtual bool isMyStreamType(BinaryStream &stream) const
Binary * binary_
Last or currently read binary.
std::map< const Section *, Word > sectionSizes_
Cache of sizes in addresses of read sections.
ASpaceSection * aSpaceSection() const
SectionId aSpaceId_
Identification code of address space section (there is only one at maximum).
static TPEFReader * proto_
Prototype instance registered into BinaryReader.
SectionId strTableId_
Identification code of string table containing section name strings.
Section * readSection(BinaryStream &stream, FileOffset headerOffset, Byte stringTableId, Byte aSpaceSectionId) const
virtual Binary * readData(BinaryStream &stream) const
static BinaryReader * instance()
Section * sectionOfAddress(const ASpaceElement *aSpaceId, AddressImage address) const
TPEFReader & operator=(const TPEFReader &)
HalfWord SectionId
Type for storing binary file section ids.
Word FileOffset
Type for storing absolute file offsets.