|
| | CafeFSNativePathFileDevice () |
| virtual | ~CafeFSNativePathFileDevice () |
| | CafeFSAFileDevice (const SafeString &default_drive_name, const SafeString &cwd_path) |
| virtual | ~CafeFSAFileDevice () |
| void | changeDir (const char *path) |
| const char * | getCWD () |
| | 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 |
| virtual void | traceFilePath (const SafeString &path) const |
| virtual void | traceDirectoryPath (const SafeString &path) const |
| virtual void | resolveFilePath (BufferedSafeString *out, const SafeString &path) const |
| virtual void | resolveDirectoryPath (BufferedSafeString *out, const SafeString &path) const |
| virtual bool | isMatchDevice_ (const HandleBase *handle) 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 () |
|
| virtual void | formatPathForFSA_ (BufferedSafeString *out, const SafeString &path) const |
| virtual bool | doIsAvailable_ () const |
| virtual FileDevice * | doOpen_ (FileHandle *handle, const SafeString &filename, FileOpenFlag flag) |
| virtual bool | doClose_ (FileHandle *handle) |
| virtual bool | doRead_ (u32 *read_size, FileHandle *handle, u8 *buf, u32 size) |
| virtual bool | doWrite_ (u32 *write_size, FileHandle *handle, const u8 *buf, u32 size) |
| virtual bool | doSeek_ (FileHandle *handle, s32 offset, SeekOrigin origin) |
| virtual bool | doGetCurrentSeekPos_ (u32 *pos, FileHandle *handle) |
| virtual bool | doGetFileSize_ (u32 *size, const SafeString &path) |
| virtual bool | doGetFileSize_ (u32 *size, FileHandle *handle) |
| virtual bool | doIsExistFile_ (bool *is_exist, const SafeString &path) |
| virtual bool | doIsExistDirectory_ (bool *is_exist, const SafeString &path) |
| virtual FileDevice * | doOpenDirectory_ (DirectoryHandle *handle, const SafeString &dirname) |
| virtual bool | doCloseDirectory_ (DirectoryHandle *handle) |
| virtual bool | doReadDirectory_ (u32 *read_num, DirectoryHandle *handle, DirectoryEntry *entry, u32 num) |
| virtual bool | doMakeDirectory_ (const SafeString &path, u32 permission) |
| virtual RawErrorCode | doGetLastRawError_ () const |
| virtual void | doResolvePath_ (BufferedSafeString *out, const SafeString &path) const |
| FSClient * | getUsableFSClient_ () const |
| FileHandleInner * | getFileHandleInner_ (FileHandle *handle) |
| DirHandleInner * | getDirHandleInner_ (DirectoryHandle *handle) |
| virtual u8 * | doLoad_ (LoadArg &arg) |
| virtual void | doTracePath_ (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 |