|
| offset_t | ImageSize () const override |
| | Retrieves the offset of the byte after the last one belonging to this format from the first one.
|
| |
| void | ReadFile (const std::shared_ptr< Linker::Reader > &rd) override |
| | Loads file into memory.
|
| |
| offset_t | WriteFile (const std::shared_ptr< Linker::Writer > &wr) const override |
| | Stores data in memory to file.
|
| |
| void | Dump (Dumper::Dumper &dump) const override |
| | Display file contents in a nice manner.
|
| |
|
void | SetTypeAndCreator (std::string type, std::string creator) |
| |
|
void | DumpEntry (Dumper::Dumper &dump, unsigned index) const |
| |
|
| Format (offset_t file_offset=0) |
| |
| virtual void | Clear () |
| | Resets all fields to their default values, deallocate memory.
|
| |
|
virtual void | SetFileOffset (offset_t new_offset) |
| | Attempts to alter the offset to the first byte of the format from the beginning of the file.
|
| |
| offset_t | ImageSize () const override |
| | Retrieves the offset of the byte after the last one belonging to this format from the first one.
|
| |
| virtual std::shared_ptr< const Image > | AsImage () const |
| | Retrieves a randomly accessible image.
|
| |
|
std::shared_ptr< Image > | AsImage () |
| | Retrieves a randomly accessible image.
|
| |
|
|
char | Type [4] = { '?', '?', '?', '?' } |
| |
|
char | Creator [4] = { '?', '?', '?', '?' } |
| |
|
int16_t | Flags = 0 |
| |
|
Point | Location = { 0, 0 } |
| |
|
int16_t | Folder = 0 |
| |
|
int16_t | IconID = 0 |
| |
|
int8_t | Script = 0 |
| |
|
int16_t | CommentID = 0 |
| |
|
int32_t | HomeDirectoryID = 0 |
| |
|
const uint32_t | id |
| |
|
offset_t | file_offset = 0 |
| |
|
offset_t | image_size = 0 |
| |
|
offset_t | file_offset |
| | The offset of the first byte used by this format in the file it is stored in.
|
| |
|
|
static std::shared_ptr< Entry > | ReadEntry (const std::shared_ptr< Linker::Reader > &rd, hfs_type home_file_system) |
| |
|
| Entry (uint32_t id) |
| |
◆ Dump()
◆ ImageSize()
| offset_t FinderInfo::ImageSize |
( |
| ) |
const |
|
overridevirtual |
Retrieves the offset of the byte after the last one belonging to this format from the first one.
- Returns
- The size of the image, or offset_t(-1) if it cannot be determined before writing to the file
Implements Apple::AppleSingleDouble::Entry.
◆ ReadFile()
| void FinderInfo::ReadFile |
( |
const std::shared_ptr< Linker::Reader > & |
rd | ) |
|
|
overridevirtual |
◆ WriteFile()
| offset_t FinderInfo::WriteFile |
( |
const std::shared_ptr< Linker::Writer > & |
wr | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- src/format/apple.h
- src/format/apple.cc