![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/searchpath.hpp"
Helper: Access a path Specification as a sequence of filesystem Paths.
This iterator class dissects a ':'-separated path list. The individual components may use the symbol $ORIGIN to refer to the directory holding the current executable.
Definition at line 61 of file searchpath.hpp.
Public Types | |
| using | value_type = std::string |
| using | reference = value_type & |
| using | pointer = value_type * |
Public Member Functions | |
| SearchPathSplitter ()=default | |
| SearchPathSplitter (string &searchPath) | |
| LIFT_PARENT_INCREMENT_OPERATOR (std::sregex_iterator) | |
| ENABLE_USE_IN_STD_RANGE_FOR_LOOPS (SearchPathSplitter) | |
| string | operator* () const |
Public Member Functions inherited from RegexSearchIter | |
| RegexSearchIter ()=default | |
| RegexSearchIter (string const &toParse, regex const ®ex) | |
| RegexSearchIter (string_view toParse, regex const ®ex) | |
| operator bool () const | |
| bool | isValid () const |
| bool | empty () const |
| LIFT_PARENT_INCREMENT_OPERATOR (std::sregex_iterator) | |
| ENABLE_USE_IN_STD_RANGE_FOR_LOOPS (RegexSearchIter) | |
Static Private Attributes | |
| static const regex | ACCEPT_PATHELEMENT {"(^|:)\\s*([^:]+)", regex::optimize} |
|
default |
|
inline |
| searchPath |
Definition at line 68 of file searchpath.hpp.
| using value_type = std::string |
Definition at line 75 of file searchpath.hpp.
| using reference = value_type& |
Definition at line 76 of file searchpath.hpp.
| using pointer = value_type* |
Definition at line 77 of file searchpath.hpp.
| LIFT_PARENT_INCREMENT_OPERATOR | ( | std::sregex_iterator | ) |
| ENABLE_USE_IN_STD_RANGE_FOR_LOOPS | ( | SearchPathSplitter | ) |
|
inline |
Definition at line 80 of file searchpath.hpp.
References RegexSearchIter::isValid(), LERR_, and lib::replaceMagicLinkerTokens().
Here is the call graph for this function:
|
staticprivate |
Definition at line 64 of file searchpath.hpp.
Inheritance diagram for SearchPathSplitter:
Collaboration diagram for SearchPathSplitter: