Torque::FS::MountSystem Class Reference

#include <volume.h>

List of all members.

Public Member Functions

FileRef createFile (const Path &path)
DirectoryRef createDirectory (const Path &path)
bool createPath (const Path &path)
FileRef openFile (const Path &path, File::AccessMode mode)
DirectoryRef openDirectory (const Path &path)
bool remove (const Path &path)
bool rename (const Path &from, const Path &to)
bool mount (String root, FileSystemRef fs)
bool mount (String root, const Path &path)
FileSystemRef unmount (String root)
bool setCwd (const Path &file)
const PathgetCwd () const
FileSystemRef getFileSystem (const Path &path)
bool getFileAttributes (const Path &path, FileNode::Attributes *attr)
FileNodeRef getFileNode (const Path &path)
bool mapFSPath (const String &inRoot, const Path &inPath, Path &outPath)
S32 findByPattern (const Path &inBasePath, const String &inFilePattern, bool inRecursive, Vector< String > &outList)
bool isFile (const Path &path)
bool isDirectory (const Path &path)
bool isReadOnly (const Path &path)
S32 getNumMounts () const
String getMountRoot (S32 index) const
String getMountPath (S32 index) const
String getMountType (S32 index) const
void startFileChangeNotifications ()
void stopFileChangeNotifications ()

Private Member Functions

Path _normalize (const Path &path)

Private Attributes

MountList mMountList
Path mCWD

Classes

struct  MountFS
class  MountList


Member Function Documentation

FileRef Torque::FS::MountSystem::createFile ( const Path path  ) 

DirectoryRef Torque::FS::MountSystem::createDirectory ( const Path path  ) 

bool Torque::FS::MountSystem::createPath ( const Path path  ) 

FileRef Torque::FS::MountSystem::openFile ( const Path path,
File::AccessMode  mode 
)

DirectoryRef Torque::FS::MountSystem::openDirectory ( const Path path  ) 

bool Torque::FS::MountSystem::remove ( const Path path  ) 

bool Torque::FS::MountSystem::rename ( const Path from,
const Path to 
)

bool Torque::FS::MountSystem::mount ( String  root,
FileSystemRef  fs 
)

bool Torque::FS::MountSystem::mount ( String  root,
const Path path 
)

FileSystemRef Torque::FS::MountSystem::unmount ( String  root  ) 

bool Torque::FS::MountSystem::setCwd ( const Path file  ) 

const Path& Torque::FS::MountSystem::getCwd (  )  const

FileSystemRef Torque::FS::MountSystem::getFileSystem ( const Path path  ) 

bool Torque::FS::MountSystem::getFileAttributes ( const Path path,
FileNode::Attributes attr 
)

FileNodeRef Torque::FS::MountSystem::getFileNode ( const Path path  ) 

bool Torque::FS::MountSystem::mapFSPath ( const String inRoot,
const Path inPath,
Path outPath 
)

S32 Torque::FS::MountSystem::findByPattern ( const Path inBasePath,
const String inFilePattern,
bool  inRecursive,
Vector< String > &  outList 
)

bool Torque::FS::MountSystem::isFile ( const Path path  ) 

bool Torque::FS::MountSystem::isDirectory ( const Path path  ) 

bool Torque::FS::MountSystem::isReadOnly ( const Path path  ) 

S32 Torque::FS::MountSystem::getNumMounts (  )  const [inline]

String Torque::FS::MountSystem::getMountRoot ( S32  index  )  const [inline]

String Torque::FS::MountSystem::getMountPath ( S32  index  )  const [inline]

String Torque::FS::MountSystem::getMountType ( S32  index  )  const [inline]

void Torque::FS::MountSystem::startFileChangeNotifications (  ) 

void Torque::FS::MountSystem::stopFileChangeNotifications (  ) 

Path Torque::FS::MountSystem::_normalize ( const Path path  )  [private]


Member Data Documentation