Lumiera  0.pre.03
»edit your freedom«
SearchPathSplitter Class Reference

#include "lib/searchpath.hpp"

Description

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.

Note
#next picks the current component and advances the iteration.

Definition at line 71 of file searchpath.hpp.

Public Member Functions

 SearchPathSplitter (string const &searchPath)
 
bool isValid () const
 
string next ()
 
 operator bool () const
 

Private Attributes

std::sregex_iterator end_
 
string pathSpec_
 
std::sregex_iterator pos_
 

Static Private Attributes

static const std::regex EXTRACT_PATHSPEC
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 
+ Inheritance diagram for SearchPathSplitter:
+ Collaboration diagram for SearchPathSplitter:

The documentation for this class was generated from the following files: