ManaPlus
Namespaces | Functions
fsdir.h File Reference

(986a3bf)

#include "fs/virtfs/fileapi.h"
#include "utils/stringvector.h"
#include "localconsts.h"

Go to the source code of this file.

Namespaces

 VirtFs
 
 VirtFs::FsDir
 

Functions

File * VirtFs::FsDir::openInternal (FsEntry *const entry, const std::string &filename, const char *mode)
 
File * VirtFs::FsDir::openRead (FsEntry *const entry, std::string filename)
 
File * VirtFs::FsDir::openWrite (FsEntry *const entry, const std::string &filename)
 
File * VirtFs::FsDir::openAppend (FsEntry *const entry, const std::string &filename)
 
const char * VirtFs::FsDir::getBaseDir ()
 
const char * VirtFs::FsDir::getUserDir ()
 
FsFuncs * VirtFs::FsDir::getFuncs ()
 
void VirtFs::FsDir::init (const std::string &name)
 
void VirtFs::FsDir::initFuncs (FsFuncs *const ptr)
 
void VirtFs::FsDir::deinit ()
 
bool VirtFs::FsDir::exists (FsEntry *const entry, std::string fileName, std::string dirName)
 
void VirtFs::FsDir::enumerate (FsEntry *const entry, std::string dirName, StringVect &names)
 
void VirtFs::FsDir::getFiles (FsEntry *const entry, std::string dirName, StringVect &names)
 
void VirtFs::FsDir::getFilesWithDir (FsEntry *const entry, const std::string &dirName, StringVect &names)
 
void VirtFs::FsDir::getDirs (FsEntry *const entry, std::string dirName, StringVect &names)
 
bool VirtFs::FsDir::isDirectory (FsEntry *const entry, std::string dirName, bool &isDirFlag)
 
bool VirtFs::FsDir::isSymbolicLink (std::string name)
 
void VirtFs::FsDir::freeList (List *const handle)
 
bool VirtFs::FsDir::setWriteDir (std::string newDir)
 
bool VirtFs::FsDir::getRealDir (FsEntry *const entry, std::string filename, std::string dirName, std::string &realDir)
 
bool VirtFs::FsDir::mkdir (std::string dirname)
 
bool VirtFs::FsDir::remove (std::string filename)
 
void VirtFs::FsDir::permitLinks (const bool val)
 
int64_t VirtFs::FsDir::read (File *const file, void *const buffer, const uint32_t objSize, const uint32_t objCount)
 
int64_t VirtFs::FsDir::write (File *const file, const void *const buffer, const uint32_t objSize, const uint32_t objCount)
 
int VirtFs::FsDir::close (File *const file)
 
int64_t VirtFs::FsDir::fileLength (File *const file)
 
int64_t VirtFs::FsDir::tell (File *const file)
 
int VirtFs::FsDir::seek (File *const file, const uint64_t pos)
 
int VirtFs::FsDir::eof (File *const file)
 
const char * VirtFs::FsDir::loadFile (FsEntry *const entry, std::string filename, int &fileSize)