Go to the documentation of this file.
48 using ReferenceManager::SafePointer;
49 using ReferenceManager::FileOffsetKey;
50 using ReferenceManager::SectionOffsetKey;
51 using ReferenceManager::SectionKey;
90 return static_cast<Word
>(
91 ceil(
static_cast<double>(section->
aSpace()->
MAU()) /
118 assert(uDSection != NULL);
135 bool sectionToWriteIsNotChunkable =
false;
136 assert(sectionToWriteIsNotChunkable);
139 sectOffset = chunk->
offset();
virtual void createKeys(const Section *sect) const
HalfWord SectionId
Type for storing binary file section ids.
ASpaceElement * aSpace() const
static bool isReferenced(const SafePointable *object)
Word referredChunkCount() const
virtual Section::SectionType type() const
void writeWord(Word word)
SectionId sectionId() const
static void addObjectReference(SectionIndexKey key, const SafePointable *obj)
#define assert(condition)
static void registerSectionWriter(const SectionWriter *sWriter)
Chunk * referredChunk(Word index) const
static SectionKey sectionKeyFor(const SafePointable *obj)
@ ST_UDATA
Uninitialized data section.
Word SectionOffset
Type for storing offsets relative to a given base offset value.
virtual ~TPEFUDataSectionWriter()
SectionOffset offset() const
virtual Word elementSize(const Section *section) const
virtual void writeSize(BinaryStream &stream, const Section *sect) const
virtual Word length() const
static const TPEFUDataSectionWriter instance_
Unique instance of a class.
virtual Chunk * chunk(SectionOffset offset) const