MercuryFileManager Class Reference

The Mercury File Manager -- accessable via FILEMAN. More...

#include <MercuryFiles.h>

Collaboration diagram for MercuryFileManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void Init ()
 [internal] Initialize the file manager
void CheckInit ()
 [internal] Check to see if our static-time driver has been initalized
MercuryFileOpen (const MString &sPath, FilePermission p=MFP_READ_ONLY)
 Open a file by name and permission type. This returns a MercuryFile.
void ListDirectory (const MString &sPath, MVector< MString > &output, bool bDirsOnly=false)
 List the contents of a directory, use DOS-style wildcards here.

Private Attributes

bool m_bInit
 [internal] Has the DB been initialized
MVector< MercuryFileDriver * > * m_Drivers

Detailed Description

The Mercury File Manager -- accessable via FILEMAN.

Definition at line 243 of file MercuryFiles.h.


Member Function Documentation

void MercuryFileManager::Init (  ) 

[internal] Initialize the file manager

Definition at line 1092 of file MercuryFiles.cpp.

void MercuryFileManager::CheckInit (  )  [inline]

[internal] Check to see if our static-time driver has been initalized

Definition at line 249 of file MercuryFiles.h.

MercuryFile * MercuryFileManager::Open ( const MString sPath,
FilePermission  p = MFP_READ_ONLY 
)

Open a file by name and permission type. This returns a MercuryFile.

Definition at line 1119 of file MercuryFiles.cpp.

void MercuryFileManager::ListDirectory ( const MString sPath,
MVector< MString > &  output,
bool  bDirsOnly = false 
)

List the contents of a directory, use DOS-style wildcards here.

Definition at line 1143 of file MercuryFiles.cpp.


Member Data Documentation

bool MercuryFileManager::m_bInit [private]

[internal] Has the DB been initialized

Definition at line 257 of file MercuryFiles.h.

MVector< MercuryFileDriver * >* MercuryFileManager::m_Drivers [private]

Definition at line 258 of file MercuryFiles.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo