Torque::FS::MountSystem
Classes:
Protected Attributes
Public Functions
createDirectory(const Path & path, FileSystemRef fs)
createFile(const Path & path)
bool
createPath(const Path & path)
bool
getFileAttributes(const Path & path, FileNode::Attributes * attr)
getFileNode(const Path & path)
getFileSystem(const Path & path)
getMountPath(S32 index)
getMountRoot(S32 index)
getMountType(S32 index)
bool
isDirectory(const Path & path, FileSystemRef fsRef)
bool
isReadOnly(const Path & path)
bool
mount(String root, FileSystemRef fs)
openDirectory(const Path & path)
openFile(const Path & path, File::AccessMode mode)
bool
unmount(FileSystemRef fs)
Protected Functions
_getFileSystemFromList(const Path & path)
_normalize(const Path & path)
Detailed Description
Protected Attributes
Path mCWD
FileSystemRef mFindByPatternOverrideFS
Vector< MountFS > mMountList
Public Functions
~MountSystem()
createDirectory(const Path & path, FileSystemRef fs)
createFile(const Path & path)
createPath(const Path & path)
Reimplemented by: Torque::FS::VirtualMountSystem
findByPattern(const Path & inBasePath, const String & inFilePattern, bool inRecursive, Vector< String > & outList, bool includeDirs, bool multiMatch)
Reimplemented by: Torque::FS::VirtualMountSystem
getCwd()
getFileAttributes(const Path & path, FileNode::Attributes * attr)
getFileNode(const Path & path)
getFileSystem(const Path & path)
getMountPath(S32 index)
getMountRoot(S32 index)
getMountType(S32 index)
getNumMounts()
isDirectory(const Path & path, FileSystemRef fsRef)
isFile(const Path & path)
isReadOnly(const Path & path)
mapFSPath(const String & inRoot, const Path & inPath, Path & outPath)
mount(String root, const Path & path)
Reimplemented by: Torque::FS::VirtualMountSystem
mount(String root, FileSystemRef fs)
Reimplemented by: Torque::FS::VirtualMountSystem
openDirectory(const Path & path)
openFile(const Path & path, File::AccessMode mode)
remove(const Path & path)
rename(const Path & from, const Path & to)
setCwd(const Path & file)
startFileChangeNotifications()
stopFileChangeNotifications()
unmount(FileSystemRef fs)
Reimplemented by: Torque::FS::VirtualMountSystem
unmount(String root)
Reimplemented by: Torque::FS::VirtualMountSystem
Protected Functions
_getFileSystemFromList(const Path & path)
Reimplemented by: Torque::FS::VirtualMountSystem
_log(const String & msg)
Reimplemented by: Torque::FS::VirtualMountSystem
_normalize(const Path & path)
_removeMountFromList(String root)
Reimplemented by: Torque::FS::VirtualMountSystem
_setFindByPatternOverrideFS(FileSystemRef fs)