csPathsList Class Reference
[Utilities]
Class to manage a list of paths.
More...
#include <csutil/syspath.h>
| csPathsList | operator *= (const char *right) |
| csPathsList | operator *= (const Entry &right) |
| csPathsList | operator *= (const csPathsList &right) |
| csPathsList | operator * (const csPathsList &left, const char *right) |
| csPathsList | operator * (const csPathsList &left, const Entry &right) |
| csPathsList | operator * (const char *left, const csPathsList &right) |
| csPathsList | operator * (const Entry &left, const csPathsList &right) |
| csPathsList | operator * (const csPathsList &left, const csPathsList &right) |
| Create a list of paths where all paths are those on the left side concatenated with those on the right (of course with a CS_PATH_SEPARATOR ensured to be in between). | |
Public Member Functions | |
| void | AddUnique (const csPathsList &list, bool overrideRecursive=true) |
| Add entries of another path list that aren't already in this list. | |
| size_t | AddUnique (const Entry &path, bool overrideRecursive=true) |
| Add a path, but only if it isn't in the list already. | |
| size_t | AddUnique (const char *path, bool scanRecursive=false, const char *type=0, bool overrideRecursive=true) |
| Add a path, but only if it isn't in the list already. | |
| void | AddUniqueExpanded (const csPathsList &list, bool overrideRecursive=true) |
| Add a path, but only if it isn't in the list already. | |
| size_t | AddUniqueExpanded (const Entry &path, bool overrideRecursive=true) |
| Add a path, but only if it isn't in the list already. | |
| size_t | AddUniqueExpanded (const char *path, bool scanRecursive=false, const char *type=0, bool overrideRecursive=true) |
| Add a path, but only if it isn't in the list already. | |
| csPathsList (const char *pathList[]) | |
| Construct from a list of single paths. | |
| csPathsList (const char *pathList) | |
| Construct from a list of paths separated by CS_PATH_DELIMITER. | |
| csPathsList (csPathsList const &o) | |
| Copy constructor. | |
| csPathsList () | |
| Constructor. | |
| void | DeleteIndex (size_t index) |
| Remove an entry from the list. | |
| size_t | GetCount () const |
| size_t | Length () const |
| Return number of contained paths. | |
| csPathsList & | operator= (csPathsList const &o) |
| Assignment operator. | |
| Entry const & | operator[] (size_t n) const |
| Retrieve the n'th path record. | |
| ~csPathsList () | |
| Destructor. | |
Classes | |
| struct | Entry |
| This structure contains information about a plugin path. More... | |
Detailed Description
Class to manage a list of paths.
- Remarks:
- Entries are ensured to not have a terminating path separator.
Empty entries ("") are allowed.
Definition at line 62 of file syspath.h.
Constructor & Destructor Documentation
|
|
Constructor.
|
|
|
Copy constructor.
|
|
|
Construct from a list of paths separated by CS_PATH_DELIMITER.
|
|
|
Construct from a list of single paths. The list must be terminated by a 0 entry. |
|
|
Destructor.
|
Member Function Documentation
|
||||||||||||
|
Add entries of another path list that aren't already in this list.
Definition at line 154 of file syspath.h. References Length(). |
|
||||||||||||
|
Add a path, but only if it isn't in the list already.
|
|
||||||||||||||||||||
|
Add a path, but only if it isn't in the list already.
|
|
||||||||||||
|
Add a path, but only if it isn't in the list already. Add entries of another path list that aren't already in this list.
Definition at line 166 of file syspath.h. References Length(). |
|
||||||||||||
|
Add a path, but only if it isn't in the list already. Add a path, but only if it isn't in the list already.
|
|
||||||||||||||||||||
|
Add a path, but only if it isn't in the list already. Add a path, but only if it isn't in the list already.
|
|
|
Remove an entry from the list.
|
|
|
Return number of contained paths.
Definition at line 179 of file syspath.h. Referenced by AddUnique(), and AddUniqueExpanded(). |
|
|
Assignment operator.
Definition at line 113 of file syspath.h. References paths. |
|
|
Retrieve the n'th path record.
|
Friends And Related Function Documentation
|
||||||||||||
|
Create a list of paths where all paths are those on the left side concatenated with those on the right (of course with a CS_PATH_SEPARATOR ensured to be in between).
|
The documentation for this class was generated from the following file:
- csutil/syspath.h
Generated for Crystal Space by doxygen 1.4.6
