Definition at line 157 of file FileDir.cpp.
References CStringBase< T >::Delete(), CStringBase< T >::Find(), NWindows::NFile::NFind::FindFile(), GetLastError(), NWindows::NFile::NFind::CFileInfoBase::IsDirectory(), CStringBase< T >::Left(), CStringBase< T >::Length(), MyCreateDirectory(), pos(), and CStringBase< T >::ReverseFind().
Referenced by DecompressArchive().
Definition at line 111 of file FileDir.cpp.
References CStringBase< T >::Delete(), CStringBase< T >::Find(), NWindows::NFile::NFind::FindFile(), GetLastError(), NWindows::NFile::NFind::CFileInfoBase::IsDirectory(), CStringBase< T >::Left(), CStringBase< T >::Length(), MyCreateDirectory(), pos(), and CStringBase< T >::ReverseFind().
Definition at line 598 of file FileDir.cpp.
References NWindows::NFile::NDirectory::CTempFileW::Create(), DeleteFileAlways(), NWindows::NFile::NFind::DoesFileExist(), GetLastError(), and MyCreateDirectory().
| bool NWindows::NFile::NDirectory::CreateTempDirectory | ( | LPCTSTR | prefix, | |
| CSysString & | dirName | |||
| ) |
Definition at line 570 of file FileDir.cpp.
References NWindows::NFile::NDirectory::CTempFile::Create(), NWindows::NFile::NFind::DoesFileExist(), GetLastError(), and MyCreateDirectory().
Referenced by NWindows::NFile::NDirectory::CTempDirectoryW::Create(), and NWindows::NFile::NDirectory::CTempDirectory::Create().
Definition at line 211 of file FileDir.cpp.
References BOOLToBool, DeleteFileAlways(), g_IsNT, GetSysPath(), and MySetFileAttributes().
Referenced by CArchiveExtractCallback::GetStream().
Definition at line 203 of file FileDir.cpp.
References BOOLToBool.
Referenced by CreateTempDirectory(), DeleteFileAlways(), NWindows::NFile::NDirectory::CTempFileW::Remove(), NWindows::NFile::NDirectory::CTempFile::Remove(), and RemoveDirectorySubItems2().
| static UINT NWindows::NFile::NDirectory::GetCurrentCodePage | ( | ) | [inline, static] |
Definition at line 24 of file FileDir.cpp.
References CP_ACP, and CP_OEMCP.
Referenced by GetSysPath(), and GetUnicodePath().
Definition at line 370 of file FileDir.cpp.
References index, CStringBase< T >::Left(), and MyGetFullPathName().
| bool NWindows::NFile::NDirectory::GetOnlyDirPrefix | ( | LPCTSTR | fileName, | |
| CSysString & | resultName | |||
| ) |
Definition at line 360 of file FileDir.cpp.
References index, CStringBase< T >::Left(), and MyGetFullPathName().
Definition at line 350 of file FileDir.cpp.
References index, CStringBase< T >::Mid(), and MyGetFullPathName().
| bool NWindows::NFile::NDirectory::GetOnlyName | ( | LPCTSTR | fileName, | |
| CSysString & | resultName | |||
| ) |
Definition at line 340 of file FileDir.cpp.
References index, CStringBase< T >::Mid(), and MyGetFullPathName().
| static CSysString NWindows::NFile::NDirectory::GetSysPath | ( | LPCWSTR | sysPath | ) | [static] |
Definition at line 27 of file FileDir.cpp.
References GetCurrentCodePage(), and UnicodeStringToMultiByte().
Referenced by DeleteFileAlways(), MyCreateDirectory(), MyGetFullPathName(), MyGetTempFileName(), MyMoveFile(), MyRemoveDirectory(), MySearchPath(), MySetCurrentDirectory(), and MySetFileAttributes().
| static UString NWindows::NFile::NDirectory::GetUnicodePath | ( | const CSysString & | sysPath | ) | [static] |
Definition at line 25 of file FileDir.cpp.
References GetCurrentCodePage(), and MultiByteToUnicodeString().
Referenced by MyGetFullPathName(), MyGetTempFileName(), and MySearchPath().
Definition at line 103 of file FileDir.cpp.
References BOOLToBool, g_IsNT, GetSysPath(), MyCreateDirectory(), and NULL.
Referenced by CArchiveExtractCallback::CreateComplexDirectory().
Definition at line 100 of file FileDir.cpp.
References BOOLToBool, and NULL.
Referenced by CreateComplexDirectory(), CreateTempDirectory(), and MyCreateDirectory().
| bool NWindows::NFile::NDirectory::MyGetCurrentDirectory | ( | CSysString & | path | ) |
Definition at line 380 of file FileDir.cpp.
References CStringBase< T >::GetBuffer(), and CStringBase< T >::ReleaseBuffer().
Definition at line 333 of file FileDir.cpp.
References index, and MyGetFullPathName().
Referenced by MyOpenArchive().
| bool NWindows::NFile::NDirectory::MyGetFullPathName | ( | LPCTSTR | fileName, | |
| CSysString & | path | |||
| ) |
| bool NWindows::NFile::NDirectory::MyGetFullPathName | ( | LPCWSTR | fileName, | |
| UString & | resultPath, | |||
| int & | fileNamePartStartIndex | |||
| ) |
Definition at line 296 of file FileDir.cpp.
References asio::buffer(), CStringBase< T >::Empty(), g_IsNT, CStringBase< T >::GetBuffer(), GetSysPath(), GetUnicodePath(), CStringBase< T >::Left(), CStringBase< T >::Length(), LPWSTR, CStringBase< T >::Mid(), MyGetFullPathName(), MyStringLen(), and CStringBase< T >::ReleaseBuffer().
| bool NWindows::NFile::NDirectory::MyGetFullPathName | ( | LPCTSTR | fileName, | |
| CSysString & | resultPath, | |||
| int & | fileNamePartStartIndex | |||
| ) |
Definition at line 279 of file FileDir.cpp.
References asio::buffer(), CStringBase< T >::Empty(), CStringBase< T >::GetBuffer(), and CStringBase< T >::ReleaseBuffer().
Referenced by GetOnlyDirPrefix(), GetOnlyName(), and MyGetFullPathName().
| bool NWindows::NFile::NDirectory::MyGetShortPathName | ( | LPCTSTR | longPath, | |
| CSysString & | shortPath | |||
| ) |
Definition at line 272 of file FileDir.cpp.
References CStringBase< T >::GetBuffer(), and CStringBase< T >::ReleaseBuffer().
| bool NWindows::NFile::NDirectory::MyGetSystemDirectory | ( | CSysString & | path | ) |
Definition at line 38 of file FileDir.cpp.
References CStringBase< T >::GetBuffer(), and CStringBase< T >::ReleaseBuffer().
| UINT NWindows::NFile::NDirectory::MyGetTempFileName | ( | LPCWSTR | dirPath, | |
| LPCWSTR | prefix, | |||
| UString & | path | |||
| ) |
Definition at line 484 of file FileDir.cpp.
References g_IsNT, CStringBase< T >::GetBuffer(), GetSysPath(), GetUnicodePath(), MyGetTempFileName(), and CStringBase< T >::ReleaseBuffer().
| UINT NWindows::NFile::NDirectory::MyGetTempFileName | ( | LPCTSTR | dirPath, | |
| LPCTSTR | prefix, | |||
| CSysString & | path | |||
| ) |
Definition at line 476 of file FileDir.cpp.
References CStringBase< T >::GetBuffer(), and CStringBase< T >::ReleaseBuffer().
Referenced by NWindows::NFile::NDirectory::CTempFileW::Create(), NWindows::NFile::NDirectory::CTempFile::Create(), and MyGetTempFileName().
| bool NWindows::NFile::NDirectory::MyGetTempPath | ( | CSysString & | path | ) |
Definition at line 451 of file FileDir.cpp.
References CStringBase< T >::GetBuffer(), and CStringBase< T >::ReleaseBuffer().
Referenced by NWindows::NFile::NDirectory::CTempFileW::Create(), and NWindows::NFile::NDirectory::CTempFile::Create().
| bool NWindows::NFile::NDirectory::MyGetWindowsDirectory | ( | CSysString & | path | ) |
Definition at line 31 of file FileDir.cpp.
References CStringBase< T >::GetBuffer(), and CStringBase< T >::ReleaseBuffer().
Referenced by NWindows::NFile::NDirectory::CTempFileW::Create(), and NWindows::NFile::NDirectory::CTempFile::Create().
| bool NWindows::NFile::NDirectory::MyMoveFile | ( | LPCTSTR | existFileName, | |
| LPCTSTR | newFileName | |||
| ) | [inline] |
Definition at line 28 of file FileDir.h.
References BOOLToBool.
Referenced by CArchiveExtractCallback::GetStream().
Definition at line 34 of file FileDir.h.
References BOOLToBool.
Referenced by CArchiveExtractCallback::GetStream().
| bool NWindows::NFile::NDirectory::MySearchPath | ( | LPCTSTR | path, | |
| LPCTSTR | fileName, | |||
| LPCTSTR | extension, | |||
| CSysString & | resultPath | |||
| ) | [inline] |
| bool NWindows::NFile::NDirectory::MySearchPath | ( | LPCWSTR | path, | |
| LPCWSTR | fileName, | |||
| LPCWSTR | extension, | |||
| UString & | resultPath, | |||
| UINT32 & | filePart | |||
| ) |
Definition at line 423 of file FileDir.cpp.
References g_IsNT, CStringBase< T >::GetBuffer(), GetSysPath(), GetUnicodePath(), CStringBase< T >::Left(), CStringBase< T >::Length(), LPWSTR, CStringBase< T >::Mid(), MySearchPath(), and CStringBase< T >::ReleaseBuffer().
| bool NWindows::NFile::NDirectory::MySearchPath | ( | LPCTSTR | path, | |
| LPCTSTR | fileName, | |||
| LPCTSTR | extension, | |||
| CSysString & | resultPath, | |||
| UINT32 & | filePart | |||
| ) |
Definition at line 411 of file FileDir.cpp.
References CStringBase< T >::GetBuffer(), and CStringBase< T >::ReleaseBuffer().
Referenced by MySearchPath().
| bool NWindows::NFile::NDirectory::MySetFileAttributes | ( | LPCTSTR | fileName, | |
| DWORD | fileAttributes | |||
| ) | [inline] |
Definition at line 22 of file FileDir.h.
References BOOLToBool.
Referenced by CArchiveExtractCallback::SetOperationResult().
Definition at line 78 of file FileDir.cpp.
References BOOLToBool, g_IsNT, and GetSysPath().
Referenced by DeleteFileAlways().
| static bool NWindows::NFile::NDirectory::RemoveDirectorySubItems2 | ( | const UString | pathPrefix, | |
| const NFind::CFileInfoW & | fileInfo | |||
| ) | [static] |
Definition at line 247 of file FileDir.cpp.
References DeleteFileAlways(), NWindows::NFile::NFind::CFileInfoBase::IsDirectory(), NWindows::NFile::NFind::CFileInfoW::Name, and RemoveDirectoryWithSubItems().
| static bool NWindows::NFile::NDirectory::RemoveDirectorySubItems2 | ( | const CSysString | pathPrefix, | |
| const NFind::CFileInfo & | fileInfo | |||
| ) | [static] |
Definition at line 223 of file FileDir.cpp.
References DeleteFileAlways(), NWindows::NFile::NFind::CFileInfoBase::IsDirectory(), NWindows::NFile::NFind::CFileInfo::Name, and RemoveDirectoryWithSubItems().
Referenced by RemoveDirectoryWithSubItems().
| bool NWindows::NFile::NDirectory::RemoveDirectoryWithSubItems | ( | const CSysString & | path | ) |
Definition at line 231 of file FileDir.cpp.
References BOOLToBool, NWindows::NFile::NName::kAnyStringWildcard, NWindows::NFile::NName::kDirDelimiter, NWindows::NFile::NFind::CEnumerator::Next(), and RemoveDirectorySubItems2().
Referenced by NWindows::NFile::NDirectory::CTempDirectoryW::Remove(), NWindows::NFile::NDirectory::CTempDirectory::Remove(), and RemoveDirectorySubItems2().
1.5.6