#include <MercuryFiles.h>
Collaboration diagram for MercuryFileManager:
Public Member Functions | |
void | Init () |
[internal] Initialize the file manager | |
void | CheckInit () |
[internal] Check to see if our static-time driver has been initalized | |
MercuryFile * | Open (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 |
Definition at line 243 of file MercuryFiles.h.
void MercuryFileManager::Init | ( | ) |
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.
bool MercuryFileManager::m_bInit [private] |
MVector< MercuryFileDriver * >* MercuryFileManager::m_Drivers [private] |
Definition at line 258 of file MercuryFiles.h.