RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Microsoft::LEFormat::PageSet Class Reference

An image instance that is a collection of other images, conceptually pages. More...

#include <leexe.h>

Inheritance diagram for Microsoft::LEFormat::PageSet:
Linker::Contents

Public Member Functions

 PageSet (std::shared_ptr< LEFormat > file)
 
offset_t ImageSize () const override
 Retrieves size of stored data.
 
offset_t WriteFile (Linker::Writer &wr, offset_t count, offset_t offset=0) const override
 Writes data of non-zero filled sections.
 
- Public Member Functions inherited from Linker::Contents
virtual offset_t WriteFile (Writer &wr) const
 Writes data of non-zero filled sections.
 
virtual std::shared_ptr< const ImageAsImage () const
 Retrieves a randomly accessible image.
 
std::shared_ptr< ImageAsImage ()
 Retrieves a randomly accessible image.
 

Public Attributes

std::shared_ptr< LEFormatfile
 
std::vector< PhysicalPageNumberpages
 

Detailed Description

An image instance that is a collection of other images, conceptually pages.

When parsing an LE/LX binary image, the contents of objects might not appear contiguously, but instead as a collection of pages (typically 4 KiB in size). This class implements the Image interface but data crossing page boundaries can also be accessed.

Member Function Documentation

◆ ImageSize()

offset_t LEFormat::PageSet::ImageSize ( ) const
overridevirtual

Retrieves size of stored data.

Implements Linker::Contents.

◆ WriteFile()

offset_t LEFormat::PageSet::WriteFile ( Linker::Writer & wr,
offset_t count,
offset_t offset = 0 ) const
overridevirtual

Writes data of non-zero filled sections.

Implements Linker::Contents.


The documentation for this class was generated from the following files: