#include <fsLocalFile.h>

Public Member Functions | |
| fsInternetResult | Write (LPBYTE pBuffer, DWORD dwSize, DWORD *pdwWritten) |
| fsInternetResult | OpenEx (LPCSTR pszFilePath, UINT64 uStartPos, UINT64 uUploadPartSize=_UI64_MAX, UINT64 uUploadTotalSize=_UI64_MAX) |
| virtual fsInternetResult | QuerySize (LPCSTR pszFilePath) |
| virtual void | CloseHandle () |
| void | Initialize (LPCSTR pszServer) |
| fsInternetResult | Read (LPBYTE pBuffer, DWORD dwSize, DWORD *pdwRead) |
| fsInternetResult | Open (LPCSTR pszFilePath, UINT64 uStartPos) |
| fsLocalFile () | |
| virtual | ~fsLocalFile () |
| fsInternetResult | Write (LPBYTE pBuffer, DWORD dwSize, DWORD *pdwWritten) |
| fsInternetResult | OpenEx (LPCSTR pszFilePath, UINT64 uStartPos, UINT64 uUploadPartSize=_UI64_MAX, UINT64 uUploadTotalSize=_UI64_MAX) |
| virtual fsInternetResult | QuerySize (LPCSTR pszFilePath) |
| virtual void | CloseHandle () |
| void | Initialize (LPCSTR pszServer) |
| fsInternetResult | Read (LPBYTE pBuffer, DWORD dwSize, DWORD *pdwRead) |
| fsInternetResult | Open (LPCSTR pszFilePath, UINT64 uStartPos) |
| fsLocalFile () | |
| virtual | ~fsLocalFile () |
Protected Attributes | |
| fsString | m_strServer |
Definition at line 16 of file fsLocalFile.h.
| fsLocalFile::fsLocalFile | ( | ) |
Definition at line 9 of file fsLocalFile.cpp.
References fsInternetFile::m_enRST, fsInternetFile::m_hFile, and RST_PRESENT.
| fsLocalFile::~fsLocalFile | ( | ) | [virtual] |
Definition at line 15 of file fsLocalFile.cpp.
References CloseHandle(), fsInternetFile::m_hFile, and NULL.
| fsLocalFile::fsLocalFile | ( | ) |
| virtual fsLocalFile::~fsLocalFile | ( | ) | [virtual] |
| fsInternetResult fsLocalFile::Write | ( | LPBYTE | pBuffer, | |
| DWORD | dwSize, | |||
| DWORD * | pdwWritten | |||
| ) | [virtual] |
Reimplemented from fsInternetFile.
Definition at line 113 of file fsLocalFile.cpp.
References IR_ERROR.
| fsInternetResult fsLocalFile::OpenEx | ( | LPCSTR | pszFilePath, | |
| UINT64 | uStartPos, | |||
| UINT64 | uUploadPartSize = _UI64_MAX, |
|||
| UINT64 | uUploadTotalSize = _UI64_MAX | |||
| ) | [virtual] |
| fsInternetResult fsLocalFile::QuerySize | ( | LPCSTR | pszFilePath | ) | [virtual] |
Reimplemented from fsInternetFile.
Definition at line 89 of file fsLocalFile.cpp.
References CloseHandle(), fsWinErrorToIR(), fsInternetFile::GetFileSize(), IR_SUCCESS, fsInternetFile::m_uFileSize, and NULL.
| void fsLocalFile::CloseHandle | ( | ) | [virtual] |
Reimplemented from fsInternetFile.
Definition at line 80 of file fsLocalFile.cpp.
References fsInternetFile::m_hFile.
Referenced by Open(), QuerySize(), and ~fsLocalFile().
| void fsLocalFile::Initialize | ( | LPCSTR | pszServer | ) |
Definition at line 75 of file fsLocalFile.cpp.
References m_strServer.
Referenced by fsInternetURLFile::OpenEx(), and fsInternetURLFile::QuerySize().
| fsInternetResult fsLocalFile::Read | ( | LPBYTE | pBuffer, | |
| DWORD | dwSize, | |||
| DWORD * | pdwRead | |||
| ) | [virtual] |
Reimplemented from fsInternetFile.
Definition at line 67 of file fsLocalFile.cpp.
References FALSE, fsWinErrorToIR(), IR_SUCCESS, fsInternetFile::m_hFile, and NULL.
| fsInternetResult fsLocalFile::Open | ( | LPCSTR | pszFilePath, | |
| UINT64 | uStartPos | |||
| ) | [virtual] |
Reimplemented from fsInternetFile.
Definition at line 21 of file fsLocalFile.cpp.
References CloseHandle(), fsWinErrorToIR(), fsInternetFile::GetFileSize(), fsInternetFile::GetLastError(), IR_RANGESNOTAVAIL, IR_SUCCESS, LONG, fsInternetFile::m_hFile, m_strServer, fsInternetFile::m_uFileSize, and NULL.
Referenced by OpenEx().
| fsInternetResult fsLocalFile::Write | ( | LPBYTE | pBuffer, | |
| DWORD | dwSize, | |||
| DWORD * | pdwWritten | |||
| ) | [virtual] |
Reimplemented from fsInternetFile.
| fsInternetResult fsLocalFile::OpenEx | ( | LPCSTR | pszFilePath, | |
| UINT64 | uStartPos, | |||
| UINT64 | uUploadPartSize = _UI64_MAX, |
|||
| UINT64 | uUploadTotalSize = _UI64_MAX | |||
| ) | [virtual] |
Reimplemented from fsInternetFile.
| virtual fsInternetResult fsLocalFile::QuerySize | ( | LPCSTR | pszFilePath | ) | [virtual] |
Reimplemented from fsInternetFile.
| virtual void fsLocalFile::CloseHandle | ( | ) | [virtual] |
Reimplemented from fsInternetFile.
| void fsLocalFile::Initialize | ( | LPCSTR | pszServer | ) |
| fsInternetResult fsLocalFile::Read | ( | LPBYTE | pBuffer, | |
| DWORD | dwSize, | |||
| DWORD * | pdwRead | |||
| ) | [virtual] |
Reimplemented from fsInternetFile.
| fsInternetResult fsLocalFile::Open | ( | LPCSTR | pszFilePath, | |
| UINT64 | uStartPos | |||
| ) | [virtual] |
Reimplemented from fsInternetFile.
fsString fsLocalFile::m_strServer [protected] |
1.5.6