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
Linker::Format Class Referenceabstract

A class to encode a general file format. More...

#include <format.h>

Inheritance diagram for Linker::Format:
Apple::AppleSingleDouble::Entry BrocaD3X::D3X1Format DX64::LVFormat Linker::InputFormat Linker::OutputFormat SeychellDOS32::AdamFormat Apple::AFPDirectoryID Apple::AFPFileInfo Apple::AFPShortName Apple::Comment Apple::DataFork Apple::FileDatesInfo Apple::FileInfo Apple::FinderInfo Apple::IconBW Apple::IconColor Apple::MSDOSFileInfo Apple::MacintoshFileInfo Apple::ProDOSFileInfo Apple::RealName Apple::ResourceFork AOut::AOutFormat AS86Obj::AS86ObjFormat COFF::COFFFormat ELF::ELFFormat O65::O65Format OMF::OMFFormat AOut::AOutFormat Amiga::HunkFormat Apple::AppleSingleDouble Apple::MacDriver Apple::OMFFormat Apple::PEFFormat Apple::ResourceFork Apple::ResourceFork::Resource Binary::GenericBinaryFormat COFF::COFFFormat DOS16M::BWFormat DigitalResearch::CPM68KFormat DigitalResearch::CPM86Format DigitalResearch::CPM8KFormat ELF::ELFFormat Ergo::XPFormat GEOS::GeodeFormat MINIX::MINIXFormat MachO::MachOFormat Microsoft::LEFormat Microsoft::MZFormat Microsoft::NEFormat PMODE::PMW1Format PharLap::MPFormat PharLap::P3Format SeychellDOS32::AdamFormat X68000::HUFormat Xenix::BOutFormat Xenix::XOutFormat

Public Member Functions

 Format (offset_t file_offset=0)
 
virtual void Clear ()
 Resets all fields to their default values, deallocate memory.
 
virtual void ReadFile (Reader &in)=0
 Loads file into memory.
 
virtual void WriteFile (Writer &out)=0
 Stores data in memory to file.
 
virtual void Dump (Dumper::Dumper &dump)
 Display file contents in a nice manner.
 

Public Attributes

offset_t file_offset
 

Detailed Description

A class to encode a general file format.

Member Function Documentation

◆ Clear()

void Format::Clear ( )
virtual

◆ Dump()

void Format::Dump ( Dumper::Dumper & dump)
virtual

◆ ReadFile()

virtual void Linker::Format::ReadFile ( Reader & in)
pure virtual

◆ WriteFile()

virtual void Linker::Format::WriteFile ( Writer & out)
pure virtual

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