The data sectors of an ISO9660 volume, from a disc image or built from a disc root.
More...
|
| virtual | ~Volume ()=default |
| | Release the medium.
|
| virtual std::expected< LocatedFile, Error > | find (const std::string &name)=0 |
| | Locate a file by name anywhere in the tree, ignoring case.
|
| virtual std::expected< void, Error > | readSector (std::uint32_t lba, std::span< std::uint8_t, kSectorData > sector)=0 |
| | Read the data bytes of one sector.
|
| virtual std::expected< std::size_t, Error > | readSectors (std::uint32_t lba, std::span< std::uint8_t > sectors) |
| | Read the data bytes of consecutive sectors, stopping where the medium ends.
|
| virtual std::uint32_t | volumeSectors () const=0 |
| | Report the sector count of the volume.
|
| std::expected< std::string, Error > | bootExecutable () |
| | Read the name of the executable the disc boots.
|
|
| static std::expected< std::string, Error > | parseBoot2 (std::span< const std::uint8_t > data) |
| | Read the executable name from the text of SYSTEM.CNF.
|
| static std::uint32_t | sectorsFor (std::uint64_t size) |
| | Count the sectors that a length in bytes occupies.
|
| static std::string | upperAscii (std::string_view text) |
| | Convert the ASCII letters of a text to upper case.
|
| static std::string | lowerAscii (std::string_view text) |
| | Convert the ASCII letters of a text to lower case.
|
| static std::string | ambiguousName (std::string_view name, const std::vector< std::filesystem::path > &matches) |
| | Describe a name that several files share once case is ignored.
|
| static std::unexpected< Error > | pastEnd (std::uint32_t lba) |
| | Report that a sector lies past the end of the medium.
|
|
| static constexpr std::size_t | kSectorData = 2048 |
| | Data bytes in one sector.
|
| static constexpr std::uint32_t | kPvdSector = 16 |
| | Sector of the primary volume descriptor.
|
| static constexpr std::string_view | kPvdMagic = "CD001" |
| | Identifier of an ISO9660 volume descriptor.
|
| static constexpr std::string_view | kSystemCnf = "SYSTEM.CNF" |
| | Name of the boot configuration file.
|
| static constexpr std::string_view | kPalExecutable = "SCES_517.06" |
| | Executable of the European release.
|
| static constexpr std::string_view | kNtscExecutable = "SCUS_972.58" |
| | Executable of the North American release.
|
The data sectors of an ISO9660 volume, from a disc image or built from a disc root.