RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Linker::Image Class Referenceabstract

Represents an abstract data image whose data can be written to a file. More...

#include <image.h>

Inheritance diagram for Linker::Image:
ELF::ELFFormat::SectionContents Linker::ActualImage Linker::Format ELF::ELFFormat::Array ELF::ELFFormat::DynamicSection ELF::ELFFormat::HashTable ELF::ELFFormat::IBMExportTable ELF::ELFFormat::IBMImportTable ELF::ELFFormat::IBMResourceCollection ELF::ELFFormat::IBMSystemInfo ELF::ELFFormat::NotesSection ELF::ELFFormat::Relocations ELF::ELFFormat::StringTable ELF::ELFFormat::SymbolTable ELF::ELFFormat::VersionRequirements Linker::Buffer Linker::Segment Apple::AppleSingleDouble::Entry BrocaD3X::D3X1Format DX64::LVFormat Java::ClassFormat Linker::InputFormat Linker::OutputFormat SeychellDOS32::AdamFormat

Public Member Functions

virtual offset_t ImageSize () const =0
 Retrieves size of stored data.
 
virtual offset_t WriteFile (Writer &wr, offset_t count, offset_t offset=0) const =0
 Writes data of non-zero filled sections.
 
virtual offset_t WriteFile (Writer &wr) const
 Writes data of non-zero filled sections.
 
virtual std::shared_ptr< const ActualImageAsImage () const
 Retrieves a randomly accessible image.
 
std::shared_ptr< ActualImageAsImage ()
 Retrieves a randomly accessible image.
 

Detailed Description

Represents an abstract data image whose data can be written to a file.

Member Function Documentation

◆ AsImage()

std::shared_ptr< const ActualImage > Image::AsImage ( ) const
virtual

Retrieves a randomly accessible image.

Reimplemented in Linker::ActualImage.

◆ ImageSize()

virtual offset_t Linker::Image::ImageSize ( ) const
pure virtual

◆ WriteFile() [1/2]

offset_t Image::WriteFile ( Writer & wr) const
virtual

Writes data of non-zero filled sections.

Reimplemented in Apple::AppleSingleDouble::Entry, Binary::AppleFormat, Binary::AtariFormat, Binary::CommodoreFormat, Binary::CPM3Format, Binary::FLEXFormat, Binary::PRLFormat, Binary::UZIFormat, Binary::UZI280Format, ARM::AIFFormat, AOut::AOutFormat, Archive::ArchiveFormat, AS86Obj::AS86ObjFormat, Binary::GenericBinaryFormat, Binary::BinaryFormat, DOS16M::BWFormat, COFF::COFFFormat, DigitalResearch::CPM68KFormat, DigitalResearch::CPM86Format, DigitalResearch::CPM8KFormat, SeychellDOS32::AdamFormat, BrocaD3X::D3X1Format, DX64::LVFormat, ELF::ELFFormat, ELF::FatELFFormat, GEOS::GeodeFormat, Apple::OMFFormat, X68000::HUFormat, Amiga::HunkFormat, Java::ClassFormat, Microsoft::LEFormat, MachO::MachOFormat, MachO::FatMachOFormat, Apple::AppleSingleDouble, Apple::ResourceFork::Resource, Apple::ResourceFork::GenericResource, Apple::ResourceFork::JumpTableCodeResource, Apple::ResourceFork::CodeResource, Apple::ResourceFork, Apple::RealName, Apple::FileInfo::Macintosh, Apple::FileInfo::ProDOS, Apple::FileInfo::MSDOS, Apple::FileInfo::AUX, Apple::FileDatesInfo, Apple::FinderInfo, Apple::MacintoshFileInfo, Apple::ProDOSFileInfo, Apple::MSDOSFileInfo, Apple::MacBinary, Apple::MacDriver, MINIX::MINIXFormat, Microsoft::MZFormat, Microsoft::NEFormat, O65::O65Format, OMF::OMFFormat, PCOS::CMDFormat, Microsoft::PEFormat, Apple::PEFFormat, PharLap::MPFormat, PharLap::P3Format, PharLap::P3Format::Flat, PharLap::P3Format::MultiSegmented, PharLap::P3FormatContainer, PMODE::PMW1Format, Microsoft::W3Format, Xenix::BOutFormat, Xenix::XOutFormat, Ergo::XPFormat, Linker::Buffer, Linker::Section, Linker::Segment, and Linker::Format.

◆ WriteFile() [2/2]

virtual offset_t Linker::Image::WriteFile ( Writer & wr,
offset_t count,
offset_t offset = 0 ) const
pure virtual

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