Functions | |
| SIMDATA_EXPORT std::string | basename (const std::string &path) |
| Return the basename of pathname path. | |
| SIMDATA_EXPORT bool | isabs (const std::string &path) |
| Returns true if path is an absolute pathname. | |
| SIMDATA_EXPORT std::string | skiproot (const std::string &path) |
| Strips leading drive specifier and root directory marker. | |
| SIMDATA_EXPORT std::string | dirname (const std::string &path) |
| Returns the directory name of pathname path. | |
| SIMDATA_EXPORT std::string | currentdir () |
| Returns the current working directory. | |
| SIMDATA_EXPORT std::string | ext (const std::string &path) |
| Returns the (last) extension of pathname path. | |
| SIMDATA_EXPORT std::string | join (const std::string &a, const std::string &b) |
| Intelligently joins two path components into a pathname. | |
| SIMDATA_EXPORT std::string | stringreplace (const std::string &path, char search, char replace) |
| Substitute characters in a string. | |
| SIMDATA_EXPORT std::string | normalize (const std::string &path) |
| Convert a native path to a standard format (uses '/' instead of '\'). | |
| SIMDATA_EXPORT std::string | denormalize (const std::string &path) |
| Convert a normalized path to the native format. | |
| SIMDATA_EXPORT std::string | filter (const std::string &path) |
| Filter an input path to use the native directory separation character. | |
| SIMDATA_EXPORT std::string const & | addpath (std::string &pathlist, const std::string &path) |
| Add a path to a list of paths using the platform path separator. | |
Variables | |
| SIMDATA_EXPORT const char | DIR_SEPARATOR = '/' |
| The local, platform-specific directory separator. | |
| SIMDATA_EXPORT const char | PATH_SEPARATOR = ':' |
| The local, platform-specific search-path separator. | |
|
||||||||||||
|
Add a path to a list of paths using the platform path separator.
|
|
|
Return the basename of pathname path. Example:
|
|
|
Returns the current working directory.
|
|
|
Convert a normalized path to the native format.
|
|
|
Returns the directory name of pathname path. Example:
|
|
|
Returns the (last) extension of pathname path. Example:
|
|
|
Filter an input path to use the native directory separation character.
|
|
|
Returns true if path is an absolute pathname.
|
|
||||||||||||
|
Intelligently joins two path components into a pathname. Examples:
|
|
|
Convert a native path to a standard format (uses '/' instead of '\').
|
|
|
Strips leading drive specifier and root directory marker. Examples:
|
|
||||||||||||||||
|
Substitute characters in a string.
|
|
|
The local, platform-specific directory separator.
|
|
|
The local, platform-specific search-path separator.
|
|
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage. Generated on Tue Oct 14 12:06:42 2003, using Doxygen 1.2.18. |