Torque::Mem::MemFileSystem Class Reference

#include <memVolume.h>

Inheritance diagram for Torque::Mem::MemFileSystem:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MemFileSystem (String volume)
 ~MemFileSystem ()
String getTypeStr () const
 Used for describing the file system type.
FileNodeRef resolve (const Path &path)
FileNodeRef create (const Path &path, FileNode::Mode)
bool remove (const Path &path)
bool rename (const Path &from, const Path &to)
Path mapTo (const Path &path)
Path mapFrom (const Path &path)

Private Member Functions

MemDirectorygetParentDir (const Path &path, FileNodeRef &parentRef)

Private Attributes

String mVolume
MemDirectoryData * mRootDir

Constructor & Destructor Documentation

Torque::Mem::MemFileSystem::MemFileSystem ( String  volume  ) 

Torque::Mem::MemFileSystem::~MemFileSystem (  ) 


Member Function Documentation

String Torque::Mem::MemFileSystem::getTypeStr (  )  const [inline, virtual]

Used for describing the file system type.

Implements Torque::FS::FileSystem.

FileNodeRef Torque::Mem::MemFileSystem::resolve ( const Path path  )  [virtual]

FileNodeRef Torque::Mem::MemFileSystem::create ( const Path path,
FileNode::Mode   
) [virtual]

bool Torque::Mem::MemFileSystem::remove ( const Path path  )  [virtual]

bool Torque::Mem::MemFileSystem::rename ( const Path from,
const Path to 
) [virtual]

Path Torque::Mem::MemFileSystem::mapTo ( const Path path  )  [virtual]

Path Torque::Mem::MemFileSystem::mapFrom ( const Path path  )  [virtual]

MemDirectory* Torque::Mem::MemFileSystem::getParentDir ( const Path path,
FileNodeRef parentRef 
) [private]


Member Data Documentation

MemDirectoryData* Torque::Mem::MemFileSystem::mRootDir [private]