RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
MPW::ObjectFormat::Record Class Reference
Inheritance diagram for MPW::ObjectFormat::Record:
MPW::ObjectFormat::BlockBeginRecord MPW::ObjectFormat::BlockEndRecord MPW::ObjectFormat::CommentRecord MPW::ObjectFormat::ContentsRecord MPW::ObjectFormat::DictionaryRecord MPW::ObjectFormat::EntryPointRecord MPW::ObjectFormat::FilenameRecord MPW::ObjectFormat::FirstRecord MPW::ObjectFormat::LocalIdentifierRecord MPW::ObjectFormat::LocalLabelRecord MPW::ObjectFormat::LocalTypeRecord MPW::ObjectFormat::ModuleBeginRecord MPW::ObjectFormat::ModuleEndRecord MPW::ObjectFormat::ModuleRecord MPW::ObjectFormat::ReferenceRecord MPW::ObjectFormat::SizeRecord MPW::ObjectFormat::SourceStatementRecord

Public Types

enum  record_type {
  Pad = 0 , First = 1 , Last = 2 , Comment = 3 ,
  Dictionary = 4 , Module = 5 , EntryPoint = 6 , Size = 7 ,
  Contents = 8 , Reference = 9 , ComputedReference = 10 , Filename = 11 ,
  SourceStatement = 12 , ModuleBegin = 13 , ModuleEnd = 14 , BlockBegin = 15 ,
  BlockEnd = 16 , LocalIdentifier = 17 , LocalLabel = 18 , LocalType = 19
}
 

Public Member Functions

 Record (record_type type=record_type(0), offset_t record_offset=0)
 
virtual void ReadBody (const std::shared_ptr< Linker::Reader > &rd)
 
virtual offset_t ImageSize () const
 
virtual offset_t WriteFile (const std::shared_ptr< Linker::Writer > &wr) const
 
virtual void Dump (Dumper::Dumper &dump, offset_t record_index) const
 

Static Public Member Functions

static std::shared_ptr< Record > ReadFile (const std::shared_ptr< Linker::Reader > &rd)
 

Public Attributes

offset_t record_offset
 
record_type type
 

Static Protected Attributes

static const std::map< offset_t, std::string > record_type_names
 

Member Data Documentation

◆ record_type_names

const std::map< offset_t, std::string > ObjectFormat::Record::record_type_names
staticprotected
Initial value:
=
{
{ Pad, "Pad" },
{ First, "First" },
{ Last, "Last" },
{ Comment, "Comment" },
{ Dictionary, "Dictionary" },
{ Module, "Module" },
{ EntryPoint, "Entry Point" },
{ Size, "Size" },
{ Contents, "Contents" },
{ Reference, "Reference" },
{ ComputedReference, "Computed Reference" },
{ Filename, "Filename" },
{ SourceStatement, "Source Statement" },
{ ModuleBegin, "Module Begin" },
{ ModuleEnd, "Module End" },
{ BlockBegin, "Block Begin" },
{ BlockEnd, "Block End" },
{ LocalIdentifier, "Local Identifier" },
{ LocalLabel, "Local Label" },
{ LocalType, "Local Type" },
}

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