#include <Win32FileSystem.hpp>
◆ ClearDirectory()
| void WindowsFileSystem::ClearDirectory |
( |
const Diligent::Char * |
strPath, |
|
|
bool |
Recursive = false |
|
) |
| |
|
static |
◆ CreateDirectory()
| bool WindowsFileSystem::CreateDirectory |
( |
const Diligent::Char * |
strPath | ) |
|
|
static |
◆ DeleteDirectory()
| void WindowsFileSystem::DeleteDirectory |
( |
const Diligent::Char * |
strPath | ) |
|
|
static |
◆ DeleteFile()
◆ FileDialog()
◆ FileExists()
| bool WindowsFileSystem::FileExists |
( |
const Diligent::Char * |
strFilePath | ) |
|
|
static |
◆ GetCurrentDirectory()
| std::string WindowsFileSystem::GetCurrentDirectory |
( |
| ) |
|
|
static |
◆ GetRelativePath()
| bool WindowsFileSystem::GetRelativePath |
( |
const Diligent::Char * |
strPathFrom, |
|
|
bool |
IsFromDirectory, |
|
|
const Diligent::Char * |
strPathTo, |
|
|
bool |
IsToDirectory, |
|
|
std::string & |
RelativePath |
|
) |
| |
|
static |
Returns a relative path from one file or folder to another.
- Parameters
-
| [in] | strPathFrom | - Path that defines the start of the relative path. If this parameter is null, current directory will be used. |
| [in] | IsFromDirectory | - Indicates if strPathFrom is a directory. Ignored if strPathFrom is null (in which case current directory is used). |
| [in] | strPathTo | - Path that defines the endpoint of the relative path. This parameter must not be null. |
| [in] | IsToDirectory | - Indicates if strPathTo is a directory. |
| [out] | RelativePath | - Relative path from strPathFrom to strPathTo. If no relative path exists, strPathFrom will be returned. |
- Returns
- true if the relative path exists (i.e. strPathFrom and strPathTo have a common prefix), and false otherwise.
◆ GetSlashSymbol()
◆ IsDirectory()
◆ OpenFile()
◆ PathExists()
◆ Search()
The documentation for this struct was generated from the following files: