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

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

#include <writable.h>

Inheritance diagram for Linker::Writable:
Linker::Buffer Linker::Segment Linker::Section

Public Member Functions

virtual offset_t ActualDataSize ()=0
 Retrieves size of stored data.
 
virtual offset_t WriteFile (Writer &wr, offset_t count, offset_t offset=0)=0
 Writes data of non-zero filled sections.
 
offset_t WriteFile (Writer &wr)
 Writes data of non-zero filled sections.
 
virtual int GetByte (offset_t offset)
 Retrieve byte at a certain offset (optional, might not be defined)
 

Detailed Description

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

Member Function Documentation

◆ ActualDataSize()

virtual offset_t Linker::Writable::ActualDataSize ( )
pure virtual

Retrieves size of stored data.

Implemented in Linker::Buffer, and Linker::Segment.

◆ GetByte()

int Writable::GetByte ( offset_t offset)
virtual

Retrieve byte at a certain offset (optional, might not be defined)

Reimplemented in Linker::Buffer, Linker::Section, and Linker::Segment.

◆ WriteFile()

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

Writes data of non-zero filled sections.

Implemented in Linker::Buffer, Linker::Segment, and Linker::Buffer.


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