Path iterator.
More...
#include </home/travis/build/forGGe/theCore/lib/fs/export/ecl/fs/path.hpp>
|
using | segment = std::pair< const char *, const char * > |
| Alias to path segment. More...
|
|
◆ segment
Alias to path segment.
First element of pair is the start of the segment, second element - the end of the segment.
◆ path_iter()
ecl::fs::path_iter::path_iter |
( |
const char * |
path | ) |
|
|
inline |
Constructs path iterator to be used with given path.
- Parameters
-
[in] | path | Valid path, must not be null. |
◆ next()
bool ecl::fs::path_iter::next |
( |
segment & |
seg | ) |
|
|
inline |
Gets next path segment.
- Parameters
-
[out] | seg | Next path segment. |
- Return values
-
true | Path segment found. |
false | No more path segments. |
The documentation for this class was generated from the following file: