|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Public Member Functions | |
| GenericResource (const char type[4], uint16_t id) | |
| void | CalculateValues () override |
| offset_t | ImageSize () const override |
| Retrieves size of stored data. | |
| void | ReadFile (Linker::Reader &rd) override |
| Loads file into memory. | |
| void | ReadFile (Linker::Reader &rd, offset_t length) override |
| offset_t | WriteFile (Linker::Writer &wr) const override |
| Stores data in memory to file. | |
| std::unique_ptr< Dumper::Region > | CreateRegion (std::string name, offset_t offset, offset_t length, unsigned display_width) const override |
| void | Dump (Dumper::Dumper &dump) const override |
| Display file contents in a nice manner. | |
| virtual void | Dump (Dumper::Dumper &dump, offset_t file_offset) const |
Public Member Functions inherited from Apple::MacintoshResourceFileFormat::Resource | |
| void | Dump (Dumper::Dumper &dump) const override |
| Display file contents in a nice manner. | |
| virtual int | GetDisplayOptions () const |
| virtual void | AddFields (Dumper::Dumper &dump, Dumper::Region ®ion, offset_t file_offset) const |
Public Member Functions inherited from Linker::Format | |
| Format (offset_t file_offset=0) | |
| virtual void | Clear () |
| Resets all fields to their default values, deallocate memory. | |
| offset_t | WriteFile (Writer &wr, offset_t count, offset_t offset=0) const override |
| Writes data of non-zero filled sections. | |
Public Member Functions inherited from Linker::Contents | |
| virtual std::shared_ptr< const Image > | AsImage () const |
| Retrieves a randomly accessible image. | |
| std::shared_ptr< Image > | AsImage () |
| Retrieves a randomly accessible image. | |
Public Attributes | |
| std::shared_ptr< Linker::Contents > | image |
Public Attributes inherited from Apple::MacintoshResourceFileFormat::Resource | |
| char | type [4] |
| uint16_t | id |
| std::optional< std::string > | name |
| uint8_t | attributes |
Public Attributes inherited from Linker::Format | |
| offset_t | file_offset |
Additional Inherited Members | |
Protected Member Functions inherited from Apple::MacintoshResourceFileFormat::Resource | |
| Resource (const char type[4], uint16_t id, uint8_t attributes=0) | |
| Resource (const char type[4], uint16_t id, std::string name, uint8_t attributes=0) | |
|
overridevirtual |
Implements Apple::MacintoshResourceFileFormat::Resource.
|
overridevirtual |
Reimplemented from Apple::MacintoshResourceFileFormat::Resource.
|
overridevirtual |
Display file contents in a nice manner.
Reimplemented from Linker::Format.
|
virtual |
Reimplemented from Apple::MacintoshResourceFileFormat::Resource.
|
overridevirtual |
Retrieves size of stored data.
Implements Apple::MacintoshResourceFileFormat::Resource.
|
overridevirtual |
Loads file into memory.
Implements Linker::Format.
|
overridevirtual |
Implements Apple::MacintoshResourceFileFormat::Resource.
|
overridevirtual |
Stores data in memory to file.
Implements Linker::Format.