|
| | MainFileDevice (Heap *heap) |
| virtual | ~MainFileDevice () |
| void | traceFilePath (const SafeString &path) const override |
| void | traceDirectoryPath (const SafeString &path) const override |
| void | resolveFilePath (BufferedSafeString *out, const SafeString &path) const override |
| void | resolveDirectoryPath (BufferedSafeString *out, const SafeString &path) const override |
| | FileDevice (const SafeString &default_drive_name) |
| | ~FileDevice () override |
| const SafeString & | getDriveName () const |
| void | setDriveName (const SafeString &drive_name) |
| void | setPermission (bool permission) |
| bool | hasPermission () const |
| bool | isAvailable () const |
| u8 * | load (LoadArg &arg) |
| u8 * | tryLoad (LoadArg &arg) |
| void | unload (u8 *data) |
| FileDevice * | open (FileHandle *handle, const SafeString &filename, FileOpenFlag flag, u32 div_size) |
| FileDevice * | tryOpen (FileHandle *handle, const SafeString &filename, FileOpenFlag flag, u32 div_size) |
| bool | close (FileHandle *handle) |
| bool | tryClose (FileHandle *handle) |
| u32 | read (FileHandle *handle, u8 *buf, u32 size) |
| bool | tryRead (u32 *read_size, FileHandle *handle, u8 *buf, u32 size) |
| u32 | write (FileHandle *handle, const u8 *buf, u32 size) |
| bool | tryWrite (u32 *write_size, FileHandle *handle, const u8 *buf, u32 size) |
| bool | seek (FileHandle *handle, s32 offset, SeekOrigin origin) |
| bool | trySeek (FileHandle *handle, s32 offset, SeekOrigin origin) |
| u32 | getCurrentSeekPos (FileHandle *handle) |
| bool | tryGetCurrentSeekPos (u32 *pos, FileHandle *handle) |
| u32 | getFileSize (const SafeString &path) |
| u32 | getFileSize (FileHandle *handle) |
| bool | tryGetFileSize (u32 *size, const SafeString &path) |
| bool | tryGetFileSize (u32 *size, FileHandle *handle) |
| bool | isExistFile (const SafeString &path) |
| bool | tryIsExistFile (bool *is_exist, const SafeString &path) |
| bool | isExistDirectory (const SafeString &path) |
| bool | tryIsExistDirectory (bool *is_exist, const SafeString &path) |
| FileDevice * | openDirectory (DirectoryHandle *handle, const SafeString &dirname) |
| FileDevice * | tryOpenDirectory (DirectoryHandle *handle, const SafeString &dirname) |
| bool | closeDirectory (DirectoryHandle *handle) |
| bool | tryCloseDirectory (DirectoryHandle *handle) |
| u32 | readDirectory (DirectoryHandle *handle, DirectoryEntry *entry, u32 num) |
| bool | tryReadDirectory (u32 *read_num, DirectoryHandle *handle, DirectoryEntry *entry, u32 num) |
| bool | makeDirectory (const SafeString &path, u32 permission) |
| bool | tryMakeDirectory (const SafeString &path, u32 permission) |
| bool | makeDirectoryWithParent (const SafeString &path, u32 permission) |
| bool | tryMakeDirectoryWithParent (const SafeString &path, u32 permission) |
| RawErrorCode | getLastRawError () const |
| | TListNode () |
| void | insertBack (TListNode< FileDevice * > *n) |
| void | insertFront (TListNode< FileDevice * > *n) |
| void | erase () |
| | ListNode () |
| ListNode * | next () const |
| ListNode * | prev () const |
| bool | isLinked () const |
| | IDisposer () |
| virtual | ~IDisposer () |
|
| bool | doIsAvailable_ () const override |
| FileDevice * | doOpen_ (FileHandle *handle, const SafeString &filename, FileOpenFlag flag) override |
| bool | doClose_ (FileHandle *handle) override |
| bool | doRead_ (u32 *read_size, FileHandle *handle, u8 *buf, u32 size) override |
| bool | doWrite_ (u32 *write_size, FileHandle *handle, const u8 *buf, u32 size) override |
| bool | doSeek_ (FileHandle *handle, s32 offset, SeekOrigin origin) override |
| bool | doGetCurrentSeekPos_ (u32 *pos, FileHandle *handle) override |
| bool | doGetFileSize_ (u32 *size, const SafeString &path) override |
| bool | doGetFileSize_ (u32 *size, FileHandle *handle) override |
| bool | doIsExistFile_ (bool *is_exist, const SafeString &path) override |
| bool | doIsExistDirectory_ (bool *is_exist, const SafeString &path) override |
| FileDevice * | doOpenDirectory_ (DirectoryHandle *handle, const SafeString &dirname) override |
| bool | doCloseDirectory_ (DirectoryHandle *handle) override |
| bool | doReadDirectory_ (u32 *read_num, DirectoryHandle *handle, DirectoryEntry *entry, u32 num) override |
| bool | doMakeDirectory_ (const SafeString &path, u32 permission) override |
| bool | isMatchDevice_ (const HandleBase *handle) const override |
| RawErrorCode | doGetLastRawError_ () const override |
| virtual u8 * | doLoad_ (LoadArg &arg) |
| virtual void | doTracePath_ (const SafeString &path) const |
| virtual void | doResolvePath_ (BufferedSafeString *out, const SafeString &path) const |
| HandleBuffer & | getHandleBaseHandleBuffer_ (HandleBase *handle) const |
| void | setHandleBaseFileDevice_ (HandleBase *handle, FileDevice *device) const |
| void | setHandleBaseOriginalFileDevice_ (HandleBase *handle, FileDevice *device) const |
| void | setFileHandleDivSize_ (FileHandle *handle, u32 div_size) const |