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
COFF::COFFFormat::UnknownOptionalHeader Class Reference

A simplified class to represent an optional header of unknown structure. More...

#include <coff.h>

Inheritance diagram for COFF::COFFFormat::UnknownOptionalHeader:
COFF::COFFFormat::OptionalHeader

Public Member Functions

 UnknownOptionalHeader (offset_t size)
 
uint32_t GetSize () override
 Returns size of optional header.
 
void ReadFile (Linker::Reader &rd) override
 
void WriteFile (Linker::Writer &wr) override
 
void Dump (COFFFormat &coff, Dumper::Dumper &dump) override
 
- Public Member Functions inherited from COFF::COFFFormat::OptionalHeader
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.
 

Public Attributes

std::unique_ptr< Linker::Bufferbuffer = nullptr
 

Detailed Description

A simplified class to represent an optional header of unknown structure.

Member Function Documentation

◆ Dump()

void COFFFormat::UnknownOptionalHeader::Dump ( COFFFormat & coff,
Dumper::Dumper & dump )
overridevirtual

Reimplemented from COFF::COFFFormat::OptionalHeader.

◆ GetSize()

uint32_t COFFFormat::UnknownOptionalHeader::GetSize ( )
overridevirtual

Returns size of optional header.

Implements COFF::COFFFormat::OptionalHeader.

◆ ReadFile()

void COFFFormat::UnknownOptionalHeader::ReadFile ( Linker::Reader & rd)
overridevirtual

◆ WriteFile()

void COFFFormat::UnknownOptionalHeader::WriteFile ( Linker::Writer & wr)
overridevirtual

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