An abstract representation of file and directory path names.
More...
List of all members.
Detailed Description
An abstract representation of file and directory path names.
Constructor & Destructor Documentation
Construct a new instance.
File |
( |
const char * |
path |
) |
|
Construct a new instance.
Use setPath to specify path using a LogString.
- Parameters:
-
| path | file path in local encoding. |
File |
( |
const std::string & |
path |
) |
|
Construct a new instance.
Use setPath to specify path using a LogString.
- Parameters:
-
| path | file path in current encoding. |
File |
( |
const wchar_t * |
path |
) |
|
Construct a new instance.
Use setPath to specify path using a LogString.
- Parameters:
-
File |
( |
const std::wstring & |
path |
) |
|
Construct a new instance.
Use setPath to specify path using a LogString.
- Parameters:
-
Construct a new instance.
Use setPath to specify path using a LogString.
- Parameters:
-
Construct a new instance.
Use setPath to specify path using a LogString.
- Parameters:
-
Construct a new instance.
Use setPath to specify path using a LogString.
- Parameters:
-
Member Function Documentation
Delete file.
- Parameters:
-
- Returns:
- true if file successfully deleted.
Determines if file exists.
- Parameters:
-
- Returns:
- true if file exists.
Get final portion of file path.
- Returns:
- file name.
Get path of parent directory.
- Parameters:
-
- Returns:
- path of parent directory.
Get file path.
- Returns:
- file path.
Determines last modification date.
- Parameters:
-
- Returns:
- length of file.
Determines length of file.
May not be accurate if file is current open.
- Parameters:
-
- Returns:
- length of file.
List files if current file is a directory.
- Parameters:
-
- Returns:
- list of files in this directory, operation of non-directory returns empty list.
Make directories recursively.
- Parameters:
-
- Returns:
- true if all requested directories existed or have been created.
Open file.
See apr_file_open for details.
- Parameters:
-
| file | APR file handle. |
| flags | flags. |
| perm | permissions. |
| p | pool. |
- Returns:
- APR_SUCCESS if successful.
Rename file.
- Parameters:
-
| dest | new path for file. |
| p | pool. |
- Returns:
- true if file successfully renamed.
The documentation for this class was generated from the following file: