Namespaces | |
namespace | JetByteTools |
namespace | JetByteTools::Core |
Functions | |
_tstring | GetExePath () |
_tstring | GetExeFileName () |
void | WriteResourceToFile (HANDLE hFile, const _tstring &resourceName, const _tstring &resourceType, HMODULE hModule=nullptr) |
void | CreateDirectory (const _tstring &directory) |
bool | CreateDirectoryIfRequired (const _tstring &directory) |
size_t | CreateDirectoriesIfRequired (const _tstring &directory) |
bool | DirectoryExists (const _tstring &directory) |
_tstring | GetCurrentDirectory () |
void | SetCurrentDirectory (const _tstring &directory) |
_tstring | EnsurePathEndsWithSingleBackslash (const _tstring &path) |
bool | TryCombinePath (_tstring &combinedPath, const _tstring &path1, const _tstring &path2) |
_tstring | CombinePath (const _tstring &path1, const _tstring &path2) |
bool | PathHasRelativeRoot (const _tstring &path) |
_tstring | ResolveRelativePath (const _tstring &path) |
_tstring | ResolveRelativePath (const _tstring &path, const _tstring &root) |
_tstring | MakePathAbsolute (const _tstring &path) |
_tstring | MakePathAbsolute (const _tstring &path, const _tstring &root) |
_tstring | BuildPath (const _tstring &path1, const _tstring &path2) |
_tstring | GetTempPath () |
_tstring | GetTempFileName (const _tstring &pathName, const _tstring &prefixString, unsigned int unique=0) |
_tstring | GetTempFileName (const _tstring &prefixString, unsigned int unique=0) |
_tstring | GetFileExtension (const _tstring &filename) |
_tstring | StripFileExtension (const _tstring &filename) |
string | StripFileExtensionA (const string &filename) |
_tstring | GetRootDirectoryFromPath (const _tstring &path) |
_tstring | GetFileNameFromPathName (const _tstring &pathName) |
_tstring | GetFileNameFromPathName (const _tstring &pathName, const _tstring &separators) |
string | GetFileNameFromPathNameA (const string &pathName) |
string | GetFileNameFromPathNameA (const string &pathName, const string &separators) |
_tstring | StripFileNameFromPathName (const _tstring &pathName) |
_tstring | StripFileNameFromPathName (const _tstring &pathName, const _tstring &separators) |
string | StripFileNameFromPathNameA (const string &pathName) |
string | StripFileNameFromPathNameA (const string &pathName, const string &separators) |
_tstring | StripLastDirectoryFromPathName (const _tstring &pathName) |
void | DeleteFile (const _tstring &fileName) |
void | DeleteFileIfExists (const _tstring &fileName) |
void | RemoveDirectoryAndContents (const _tstring &directory) |
void | RemoveDirectoryContents (const _tstring &directory) |
void | MoveFile (const _tstring &filenameFrom, const _tstring &filenameTo) |
void | CopyFile (const _tstring &filenameFrom, const _tstring &filenameTo, bool failIfExists) |
__int64 | GetFileSize (const _tstring &filename) |
void | LoadFileAsBinaryData (const _tstring &filename, TExpandableBuffer< BYTE > &buffer) |
void | SaveBinaryDataAsFile (const _tstring &filename, const TExpandableBuffer< BYTE > &buffer) |
std::wstring | LoadFileAsUnicodeString (const _tstring &filename, bool *pFileWasUnicode=nullptr) |
void | SaveUnicodeStringAsFile (const _tstring &filename, const std::wstring &data, bool saveAsANSIifPossible=false) |
_tstring | LoadFileAsString (const _tstring &filename) |
std::string | LoadFileAsStringA (const _tstring &filename) |
_tstring | LoadFileAsString (HANDLE hFile, const _tstring &filename) |
std::string | LoadFileAsStringA (HANDLE hFile, const _tstring &filename) |
void | SaveStringAsFile (const _tstring &filename, const _tstring &data) |
void | SaveStringAsFileA (const _tstring &filename, const std::string &data) |
void | SaveStringToFile (const _tstring &filename, HANDLE hFile, const _tstring &data) |
void | SaveStringToFileA (const _tstring &filename, HANDLE hFile, const std::string &data) |
bool | FileExists (const _tstring &filename) |
bool | FileExistsA (const string &fileName) |
bool | FileDoesNotExist (const _tstring &fileName) |
bool | FileExistsAndIsReadLocked (const _tstring &fileName) |