|
The Pedigree Project
0.1
|
#include <Iso9660Filesystem.h>
Inheritance diagram for Iso9660Filesystem:
Collaboration diagram for Iso9660Filesystem:Public Member Functions | |
| virtual bool | initialise (Disk *pDisk) |
| virtual File * | getRoot () const |
| virtual String | getVolumeLabel () const |
Public Member Functions inherited from Filesystem | |
| Filesystem () | |
| virtual | ~Filesystem () |
| virtual File * | find (const StringView &path) |
| virtual File * | find (const String &path) |
| virtual File * | find (const StringView &path, File *pStartNode) |
| virtual File * | find (const String &path, File *pStartNode) |
| bool | createFile (const StringView &path, uint32_t mask, File *pStartNode=0) |
| bool | createDirectory (const StringView &path, uint32_t mask, File *pStartNode=0) |
| bool | createSymlink (const StringView &path, const String &value, File *pStartNode=0) |
| bool | createLink (const StringView &path, File *target, File *pStartNode=0) |
| bool | remove (const StringView &path, File *pStartNode=0) |
| Disk * | getDisk () |
| bool | isReadOnly () |
| virtual bool | isCaseSensitive () |
Static Public Member Functions | |
| static Filesystem * | probe (Disk *pDisk) |
Protected Member Functions | |
| uintptr_t | readBlock (File *pFile, uint64_t location) |
| size_t | getBlockSize () |
| virtual bool | createFile (File *parent, const String &filename, uint32_t mask) |
| virtual bool | createDirectory (File *parent, const String &filename, uint32_t mask) |
| virtual bool | createSymlink (File *parent, const String &filename, const String &value) |
| virtual bool | remove (File *parent, File *file) |
| virtual Disk * | getDisk () |
| String | parseName (Iso9660DirRecord &name) |
| String | parseJolietName (Iso9660DirRecord &name) |
| bool | isLeap (uint32_t year) |
| Time::Timestamp | timeToUnix (Iso9660DirTimestamp &time) |
| File * | fileFromDirRecord (Iso9660DirRecord &dir, size_t inodeNum, File *parent, bool bDirectory=false) |
| Iso9660Filesystem (const Iso9660Filesystem &) | |
| void | operator= (const Iso9660Filesystem &) |
Protected Member Functions inherited from Filesystem | |
| virtual bool | createLink (File *parent, const String &filename, File *target) |
Protected Attributes | |
| Disk * | m_pDisk |
| Iso9660VolumeDescriptorPrimary | m_PrimaryVolDesc |
| Iso9660VolumeDescriptorPrimary | m_SuppVolDesc |
| Iso9660VolumeDescriptor | m_VolDesc |
| Iso9660DirRecord * | m_RootDir |
| int | m_JolietLevel |
| size_t | m_BlockSize |
| size_t | m_BlockNumber |
| String | m_VolumeLabel |
| File * | m_pRoot |
Protected Attributes inherited from Filesystem | |
| bool | m_bReadOnly |
| Disk * | m_pDisk |
Friends | |
| class | Iso9660File |
| class | Iso9660Directory |
Additional Inherited Members | |
Public Types inherited from Filesystem | |
| typedef Filesystem *(* | ProbeCallback) (Disk *) |
This class provides an implementation of the ISO9660 filesystem.
Definition at line 33 of file Iso9660Filesystem.h.
|
protectedvirtual |
createDirectory calls this after it has parsed the string path.
Implements Filesystem.
Definition at line 241 of file Iso9660Filesystem.cc.
|
protectedvirtual |
createFile calls this after it has parsed the string path.
Implements Filesystem.
Definition at line 235 of file Iso9660Filesystem.cc.
|
protectedvirtual |
createSymlink calls this after it has parsed the string path.
Implements Filesystem.
Definition at line 247 of file Iso9660Filesystem.cc.
|
virtual |
Returns the root filesystem node.
Implements Filesystem.
Definition at line 203 of file Iso9660Filesystem.cc.
|
virtual |
Returns a string identifying the volume label.
Implements Filesystem.
Definition at line 208 of file Iso9660Filesystem.cc.
References File::isDirectory().
|
virtual |
Populates this filesystem with data from the given Disk device.
Implements Filesystem.
Definition at line 66 of file Iso9660Filesystem.cc.
References initialise(), NOTICE, and WARNING.
Referenced by initialise().
Here is the caller graph for this function:Remove a file given a parent and file, assuming path parsing already completed.
Implements Filesystem.
Definition at line 253 of file Iso9660Filesystem.cc.
References VFS::addProbeCallback(), VFS::instance(), and Iso9660File::Iso9660File().
|
protected |
Block size, and block number, of the disk
Definition at line 136 of file Iso9660Filesystem.h.
|
protected |
Joliet level (0 if not using it)
Definition at line 133 of file Iso9660Filesystem.h.
|
protected |
Our raw device.
Definition at line 124 of file Iso9660Filesystem.h.
|
protected |
Our superblock
Definition at line 127 of file Iso9660Filesystem.h.
|
protected |
Root filesystem node.
Definition at line 143 of file Iso9660Filesystem.h.
|
protected |
Our volume label
Definition at line 140 of file Iso9660Filesystem.h.
1.8.11