RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A class to encode a general file format. More...
#include <format.h>
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 |
A class to encode a general file format.
|
virtual |
Resets all fields to their default values, deallocate memory.
Reimplemented in Binary::CommodoreFormat, Binary::CPM3Format, Binary::GenericBinaryFormat, Binary::BinaryFormat, COFF::COFFFormat, DigitalResearch::CPM68KFormat, DigitalResearch::CPM86Format, DigitalResearch::CPM8KFormat, Microsoft::MZFormat, O65::O65Format, and Ergo::XPFormat.
|
virtual |
Display file contents in a nice manner.
Reimplemented in Binary::GenericBinaryFormat, Binary::BinaryFormat, COFF::COFFFormat, DigitalResearch::CPM68KFormat, DigitalResearch::CPM86Format, DigitalResearch::CPM8KFormat, and Microsoft::MZFormat.
|
pure virtual |
Loads file into memory.
Implemented in AS86Obj::AS86ObjFormat, ELF::ELFFormat, GEOS::GeodeFormat, OMF::OMFFormat, PMODE::PMW1Format, Ergo::XPFormat, Binary::AppleFormat, Binary::AtariFormat, Binary::CPM3Format, AOut::AOutFormat, Binary::GenericBinaryFormat, Binary::BinaryFormat, DOS16M::BWFormat, COFF::COFFFormat, DigitalResearch::CPM68KFormat, DigitalResearch::CPM86Format, DigitalResearch::CPM8KFormat, SeychellDOS32::AdamFormat, BrocaD3X::D3X1Format, DX64::LVFormat, Apple::OMFFormat, X68000::HUFormat, Amiga::HunkFormat, Microsoft::LEFormat, MachO::MachOFormat, Apple::AppleSingleDouble, Apple::AppleSingleDouble::Entry, Apple::ResourceFork::Resource, Apple::MacDriver, MINIX::MINIXFormat, Microsoft::MZFormat, Microsoft::NEFormat, O65::O65Format, Microsoft::PEFormat, Apple::PEFFormat, PharLap::MPFormat, PharLap::P3Format, Xenix::BOutFormat, and Xenix::XOutFormat.
|
pure virtual |
Stores data in memory to file.
Implemented in AS86Obj::AS86ObjFormat, GEOS::GeodeFormat, Apple::AppleSingleDouble::Entry, OMF::OMFFormat, PMODE::PMW1Format, Ergo::XPFormat, Binary::AppleFormat, Binary::AtariFormat, Binary::CommodoreFormat, Binary::CPM3Format, Binary::FLEXFormat, Binary::PRLFormat, Binary::UZIFormat, Binary::UZI280Format, AOut::AOutFormat, Binary::GenericBinaryFormat, Binary::BinaryFormat, DOS16M::BWFormat, COFF::COFFFormat, DigitalResearch::CPM68KFormat, DigitalResearch::CPM86Format, DigitalResearch::CPM8KFormat, SeychellDOS32::AdamFormat, BrocaD3X::D3X1Format, DX64::LVFormat, ELF::ELFFormat, Apple::OMFFormat, X68000::HUFormat, Amiga::HunkFormat, Microsoft::LEFormat, MachO::MachOFormat, 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, Microsoft::PEFormat, Apple::PEFFormat, PharLap::MPFormat, PharLap::P3Format, PharLap::P3Format::Flat, PharLap::P3Format::MultiSegmented, Xenix::BOutFormat, and Xenix::XOutFormat.