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

An abstract class to represent the optional header. More...

#include <coff.h>

Inheritance diagram for COFF::COFFFormat::OptionalHeader:
COFF::COFFFormat::AOutHeader COFF::COFFFormat::GNUAOutHeader COFF::COFFFormat::UnknownOptionalHeader COFF::COFFFormat::FlexOSAOutHeader COFF::COFFFormat::MIPSAOutHeader

Public Member Functions

virtual uint32_t GetSize ()=0
 Returns size of optional header.
 
virtual void ReadFile (Linker::Reader &rd)=0
 
virtual void WriteFile (Linker::Writer &wr)=0
 
virtual void PostReadFile (COFFFormat &coff, Linker::Reader &rd)
 Retrieves any additional data from the file corresponding to this type of optional header.
 
virtual void PostWriteFile (COFFFormat &coff, Linker::Writer &wr)
 Stores any additional data in the file corresponding to this type of optional header.
 
virtual void Dump (COFFFormat &coff, Dumper::Dumper &dump)
 

Detailed Description

An abstract class to represent the optional header.

Member Function Documentation

◆ GetSize()

virtual uint32_t COFF::COFFFormat::OptionalHeader::GetSize ( )
pure virtual

◆ PostReadFile()

void COFFFormat::OptionalHeader::PostReadFile ( COFFFormat & coff,
Linker::Reader & rd )
virtual

Retrieves any additional data from the file corresponding to this type of optional header.

Reimplemented in COFF::COFFFormat::FlexOSAOutHeader.

◆ PostWriteFile()

void COFFFormat::OptionalHeader::PostWriteFile ( COFFFormat & coff,
Linker::Writer & wr )
virtual

Stores any additional data in the file corresponding to this type of optional header.

Reimplemented in COFF::COFFFormat::FlexOSAOutHeader.


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