ManaPlus
|
#include <fsfuncs.h>
Public Member Functions | |
FsFuncs () | |
Data Fields | |
int(* | close )(File *const file) |
int64_t(* | read )(File *const file, void *const buffer, const uint32_t objSize, const uint32_t objCount) |
int64_t(* | write )(File *const file, const void *const buffer, const uint32_t objSize, const uint32_t objCount) |
int64_t(* | fileLength )(File *const file) |
int64_t(* | tell )(File *const file) |
int(* | seek )(File *const file, const uint64_t pos) |
bool(* | exists )(FsEntry *const entry, std::string filename, std::string dirName) |
bool(* | getRealDir )(FsEntry *const entry, std::string filename, std::string dirName, std::string &realDir) |
void(* | enumerate )(FsEntry *const entry, std::string dirName, StringVect &names) |
void(* | getFiles )(FsEntry *const entry, std::string dirName, StringVect &names) |
void(* | getFilesWithDir )(FsEntry *const entry, const std::string &dirName, StringVect &names) |
void(* | getDirs )(FsEntry *const entry, std::string dirName, StringVect &names) |
bool(* | isDirectory )(FsEntry *const entry, std::string dirName, bool &isDirFlag) |
File *(* | openRead )(FsEntry *const entry, std::string filename) |
File *(* | openWrite )(FsEntry *const entry, const std::string &filename) |
File *(* | openAppend )(FsEntry *const entry, const std::string &filename) |
int(* | eof )(File *const file) |
const char *(* | loadFile )(FsEntry *const entry, std::string fileName, int &fileSize) |
int32_t(* | rwops_seek )(SDL_RWops *const rw, const int32_t offset, const int whence) |
int(* | rwops_read )(SDL_RWops *const rw, void *const ptr, const int size, const int maxnum) |
int(* | rwops_write )(SDL_RWops *const rw, const void *const ptr, const int size, const int num) |
int(* | rwops_close )(SDL_RWops *const rw) |
|
inline |
Definition at line 41 of file fsfuncs.h.
void(* VirtFs::FsFuncs::enumerate) (FsEntry *const entry, std::string dirName, StringVect &names) |
Definition at line 92 of file fsfuncs.h.
Referenced by VirtFs::enumerateFiles().
bool(* VirtFs::FsFuncs::exists) (FsEntry *const entry, std::string filename, std::string dirName) |
Definition at line 85 of file fsfuncs.h.
Referenced by VirtFs::exists().
void(* VirtFs::FsFuncs::getDirs) (FsEntry *const entry, std::string dirName, StringVect &names) |
Definition at line 101 of file fsfuncs.h.
Referenced by VirtFs::getDirs().
void(* VirtFs::FsFuncs::getFiles) (FsEntry *const entry, std::string dirName, StringVect &names) |
Definition at line 95 of file fsfuncs.h.
Referenced by VirtFs::getFiles().
void(* VirtFs::FsFuncs::getFilesWithDir) (FsEntry *const entry, const std::string &dirName, StringVect &names) |
Definition at line 98 of file fsfuncs.h.
Referenced by VirtFs::getFilesWithDir().
bool(* VirtFs::FsFuncs::getRealDir) (FsEntry *const entry, std::string filename, std::string dirName, std::string &realDir) |
Definition at line 88 of file fsfuncs.h.
Referenced by VirtFs::getRealDir().
bool(* VirtFs::FsFuncs::isDirectory) (FsEntry *const entry, std::string dirName, bool &isDirFlag) |
Definition at line 104 of file fsfuncs.h.
Referenced by VirtFs::isDirectory().
const char*(* VirtFs::FsFuncs::loadFile) (FsEntry *const entry, std::string fileName, int &fileSize) |
Definition at line 114 of file fsfuncs.h.
Referenced by VirtFs::loadFile().
Definition at line 111 of file fsfuncs.h.
Referenced by VirtFs::openAppend().
Definition at line 107 of file fsfuncs.h.
Referenced by VirtFs::openRead().
Definition at line 109 of file fsfuncs.h.
Referenced by VirtFs::openWrite().
int64_t(* VirtFs::FsFuncs::read) (File *const file, void *const buffer, const uint32_t objSize, const uint32_t objCount) |
Definition at line 73 of file fsfuncs.h.
Referenced by VirtFs::FsZip::rwops_read().
int(* VirtFs::FsFuncs::rwops_close) (SDL_RWops *const rw) |
Definition at line 132 of file fsfuncs.h.
Referenced by VirtFs::create_rwops().
int(* VirtFs::FsFuncs::rwops_read) (SDL_RWops *const rw, void *const ptr, const int size, const int maxnum) |
Definition at line 121 of file fsfuncs.h.
Referenced by VirtFs::create_rwops().
int32_t(* VirtFs::FsFuncs::rwops_seek) (SDL_RWops *const rw, const int32_t offset, const int whence) |
Definition at line 118 of file fsfuncs.h.
Referenced by VirtFs::create_rwops().
int(* VirtFs::FsFuncs::rwops_write) (SDL_RWops *const rw, const void *const ptr, const int size, const int num) |
Definition at line 125 of file fsfuncs.h.
Referenced by VirtFs::create_rwops().
int(* VirtFs::FsFuncs::seek) (File *const file, const uint64_t pos) |
Definition at line 83 of file fsfuncs.h.
Referenced by VirtFs::create_rwops().
int64_t(* VirtFs::FsFuncs::write) (File *const file, const void *const buffer, const uint32_t objSize, const uint32_t objCount) |