This is the documentation for Enlighten.
namespace Geo PathUtils
Geo::PathUtils
Functions to handle file path creation and modification.
Functions
Name | Description |
|---|---|
This will append a \ (or /) to the end of the string if one isn't already there. | |
This will standardise a filename to the appropriate platform. | |
This will standardise a filename to the appropriate platform. | |
This will remove the string beyond and including the last . | |
This will remove the string beyond and including the last file separator if there is one. | |
This will remove the string upto and including the last . | |
This will remove the string up to and including the last file separator if there is one. | |
This function breaks arguments up into tokens and handles filenames with spaces by using quotes. | |
Splits a given path into an array of directory names. | |
Returns the path to the application being executed. May not be available outside Windows platform. | |
Returns the current working folder. May not be available outside Windows platform. | |
This will remove the string beyond and including the last file separator if there is one. | |
Extracts the drive letter of a given path. Valid only on platforms with multiple filesystem roots. | |
Retrieves the value of an Environment variable. May not be available outside Windows platform. | |
This will remove the string before and including the last file separator if there is one. | |
This will remove the string before and including the last file separator if there is one. | |
Returns the path to the application's data path, for platforms that provide application sandboxes. | |
Returns the temporary folder (e.g. C:\Windows\Temp). May not be available outside Windows platform. | |
Returns the path to the Windows folder. Not available outside Windows platform. | |
Returns the true if file string is an absolute path to a file, and false if it is relative. | |
Make path relative wrt. | |
This will normalize file separators to the system default, or the given slash character if provided. | |
This will remove \ (or /) characters from the end of the string if present. | |
Sets the path to the application's data path, for platforms that provide application sandboxes. |
bool Geo::PathUtils::AppendFileSeparator
public: bool AppendFileSeparator
(
GeoFileString & path
)
This will append a \ (or /) to the end of the string if one isn't already there.
GeoFileString Geo::PathUtils::Canonicalize
public: GeoFileString Canonicalize
(
const char * in
)