csPathsUtilities Class Reference
[Utilities]
A helper class with path-related utilities.
More...
#include <csutil/syspath.h>
Static Public Member Functions | |
static csPathsList | ExpandAll (const csPathsList &paths) |
Expands all paths in a path list. | |
static char * | ExpandPath (const char *path) |
Expand a native path relative to the current directory. | |
static void | FilterInvalid (csPathsList &paths) |
Filter all non-existent items out of a paths list. | |
static csPathsList | LocateFile (const csPathsList &paths, const char *file, bool thorough=false) |
Determine which path(s) of a given set contains a given file. | |
static bool | PathsIdentical (const char *path1, const char *path2) |
Check whether two native paths actually point to the same location. |
Detailed Description
A helper class with path-related utilities.
Definition at line 224 of file syspath.h.
Member Function Documentation
|
Expands all paths in a path list.
|
|
Expand a native path relative to the current directory.
Referenced by csExpandPath(). |
|
Filter all non-existent items out of a paths list.
|
|
Determine which path(s) of a given set contains a given file.
|
|
Check whether two native paths actually point to the same location. Use this instead of strcmp() or the like, as it may not suffice in all cases (e.g. on Windows paths names are case-insensitive, but on Unix they aren't).
Referenced by csPathsIdentical(). |
The documentation for this class was generated from the following file:
- csutil/syspath.h
Generated for Crystal Space by doxygen 1.4.6