vmsFileUtil Class Reference

#include <vmsFileUtil.h>

List of all members.

Static Public Member Functions

static void BuildPath (LPCSTR pszPath)
static fsString GetPathFromPathName (LPCSTR pszPathName)
static void BuildPathToFile (LPCSTR pszFileName)
static void GetAppDataPath (LPCSTR pszAppName, LPSTR szPath)
static void MakePathOK (LPSTR szPath, bool bNeedBackslashAtEnd=true)
static void BuildPath (LPCSTR pszPath)
static fsString GetPathFromPathName (LPCSTR pszPathName)
static void BuildPathToFile (LPCSTR pszFileName)
static void GetAppDataPath (LPCSTR pszAppName, LPSTR szPath)
static void MakePathOK (LPSTR szPath, bool bNeedBackslashAtEnd=true)
static void ReadHeader (vmsFile &file, fsString &strDesc, WORD &wVersion)
static void WriteHeader (vmsFile &file, LPCSTR pszDesc, WORD wVersion)
static void ReadString (vmsFile &file, fsString &str)
static void WriteString (vmsFile &file, LPCSTR psz)


Detailed Description

Definition at line 16 of file vmsFileUtil.h.


Member Function Documentation

void vmsFileUtil::BuildPath ( LPCSTR  pszPath  )  [static]

Definition at line 54 of file vmsFileUtil.cpp.

References FALSE, GetLastError(), LPSTR, MakePathOK(), and NULL.

Referenced by BuildPathToFile().

fsString vmsFileUtil::GetPathFromPathName ( LPCSTR  pszPathName  )  [static]

Definition at line 42 of file vmsFileUtil.cpp.

References LPSTR, MakePathOK(), and NULL.

Referenced by BuildPathToFile().

void vmsFileUtil::BuildPathToFile ( LPCSTR  pszFileName  )  [static]

Definition at line 37 of file vmsFileUtil.cpp.

References BuildPath(), and GetPathFromPathName().

void vmsFileUtil::GetAppDataPath ( LPCSTR  pszAppName,
LPSTR  szPath 
) [static]

Definition at line 26 of file vmsFileUtil.cpp.

References MakePathOK(), and NULL.

Referenced by vmsFirefoxUtil::GetDataPath().

void vmsFileUtil::MakePathOK ( LPSTR  szPath,
bool  bNeedBackslashAtEnd = true 
) [static]

Definition at line 9 of file vmsFileUtil.cpp.

References LPSTR.

Referenced by BuildPath(), GetAppDataPath(), vmsFirefoxUtil::GetDataPath(), and GetPathFromPathName().

static void vmsFileUtil::BuildPath ( LPCSTR  pszPath  )  [static]

static fsString vmsFileUtil::GetPathFromPathName ( LPCSTR  pszPathName  )  [static]

static void vmsFileUtil::BuildPathToFile ( LPCSTR  pszFileName  )  [static]

static void vmsFileUtil::GetAppDataPath ( LPCSTR  pszAppName,
LPSTR  szPath 
) [static]

static void vmsFileUtil::MakePathOK ( LPSTR  szPath,
bool  bNeedBackslashAtEnd = true 
) [static]

void vmsFileUtil::ReadHeader ( vmsFile file,
fsString strDesc,
WORD wVersion 
) [static]

Definition at line 44 of file vmsFileUtil.cpp.

References vmsFDM::vmsFile::Read(), and ReadString().

void vmsFileUtil::WriteHeader ( vmsFile file,
LPCSTR  pszDesc,
WORD  wVersion 
) [static]

Definition at line 38 of file vmsFileUtil.cpp.

References vmsFDM::vmsFile::Write(), and WriteString().

void vmsFileUtil::ReadString ( vmsFile file,
fsString str 
) [static]

Definition at line 17 of file vmsFileUtil.cpp.

References l, and vmsFDM::vmsFile::Read().

Referenced by ReadHeader(), and vmsFILE_READ().

void vmsFileUtil::WriteString ( vmsFile file,
LPCSTR  psz 
) [static]

Definition at line 10 of file vmsFileUtil.cpp.

References l, and vmsFDM::vmsFile::Write().

Referenced by vmsFILE_SAVE(), and WriteHeader().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:21:22 2008 by  doxygen 1.5.6