Utility for platform‐independent filesystem path string manipulation.
Synopsis
Declared in <bdls_pathutil.h>
struct PathUtil;
Description
This struct contains utility methods for platform‐independent manipulation of filesystem paths. No method of this struct provides any filesystem operations or accesses the filesystem as part of its implementation.
Static Member Functions
Name |
Description |
Append a relative filename to the end of a path. |
|
Append a filename to the end of a path. |
|
Load the leaf (basename) element of a path. |
|
Load the directory part of a path. |
|
Load the extension of a path. |
|
Load the leaf element of a path. |
|
Load the root portion of a path. |
|
Return the position in a path of the character following the root. |
|
Return whether a path has a leaf following the root. |
|
Return whether a path is absolute. |
|
Return whether a path is relative. |
|
Remove the leaf element from a path. |
|
Split a path into its head and last pathname component. |
Static Data Members
Name |
Description |
Character used as the preferred path separator on this platform. |
Created with MrDocs