13#include <zypp/base/LogTools.h>
26 int Glob::add(
const char * pattern_r, Flags flags_r )
28 static Flags kAppend( GLOB_APPEND );
Find pathnames matching a pattern.
scoped_ptr< ::glob_t > _result
size_type size() const
The number of matches found so far.
const_iterator begin() const
Iterator pointing to the first result.
int add(const Pathname &pattern_r, Flags flags_r=Flags())
Add pathnames matching pattern_r to the current result.
DefaultIntegral< int, 0 > _lastGlobReturn
void clear()
Clear all results found so far.
const_iterator end() const
Iterator pointing behind the last result.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const Glob &obj)
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & dumpRange(std::ostream &str, TIterator begin, TIterator end, const std::string &intro="{", const std::string &pfx="\n ", const std::string &sep="\n ", const std::string &sfx="\n", const std::string &extro="}")
Print range defined by iterators (multiline style).