Public Member Functions | |
Impl () | |
~Impl () | |
string | asString () const |
String representation. | |
bool | operator== (const PoolQuery::Impl &rhs) const |
bool | operator!= (const PoolQuery::Impl &rhs) const |
void | compile () const |
Compile the regex. | |
Public Attributes | |
AttrMatchList | _attrMatchList |
AttrMatcher per attribtue. | |
Raw query options. | |
StrContainer | _strings |
Raw search strings. | |
AttrRawStrMap | _attrs |
Raw attributes. | |
std::set< AttrMatchData > | _uncompiledPredicated |
Uncompiled attributes with predicate. | |
Match | _flags |
Sat solver search flags. | |
bool | _match_word |
bool | _require_all |
StatusFilter | _status_flags |
Sat solver status flags. | |
Edition | _edition |
Edition condition operand. | |
Rel | _op |
Operator for edition condition. | |
StrContainer | _repos |
Repos to search. | |
Kinds | _kinds |
Kinds to search. | |
Private Member Functions | |
string | createRegex (const StrContainer &container, const Match &flags) const |
Pass flags from compile, as they may have been changed. | |
Impl * | clone () const |
clone for RWCOW_pointer | |
Friends | |
Impl * | rwcowClone (const Impl *rhs) |
Definition at line 316 of file PoolQuery.cc.
zypp::PoolQuery::Impl::Impl | ( | ) | [inline] |
zypp::PoolQuery::Impl::~Impl | ( | ) | [inline] |
Definition at line 326 of file PoolQuery.cc.
string zypp::PoolQuery::Impl::asString | ( | ) | const |
String representation.
Definition at line 701 of file PoolQuery.cc.
References _attrMatchList, _attrs, _edition, _flags, _kinds, _op, _repos, _status_flags, _strings, _uncompiledPredicated, zypp::IdStringType< Derived >::asString(), for_, and zypp::PoolQuery::INSTALLED_ONLY.
bool zypp::PoolQuery::Impl::operator== | ( | const PoolQuery::Impl & | rhs | ) | const [inline] |
Definition at line 364 of file PoolQuery.cc.
References _attrs, _edition, _flags, _kinds, _match_word, _op, _repos, _require_all, _status_flags, _strings, and _uncompiledPredicated.
Referenced by operator!=().
bool zypp::PoolQuery::Impl::operator!= | ( | const PoolQuery::Impl & | rhs | ) | const [inline] |
void zypp::PoolQuery::Impl::compile | ( | ) | const |
Compile the regex.
Basically building the _attrMatchList from strings.
MatchException | Any of the exceptions thrown by AttrMatcher::compile. |
Compiled search strings.
Definition at line 427 of file PoolQuery.cc.
References _attrMatchList, _attrs, _flags, _strings, _uncompiledPredicated, zypp::sat::SolvAttr::allAttr, createRegex(), for_, zypp::invokeOnEach(), zypp::Match::mode(), zypp::Match::OTHER, zypp::Match::setModeRegex(), and ZYPP_THROW.
string zypp::PoolQuery::Impl::createRegex | ( | const StrContainer & | container, | |
const Match & | flags | |||
) | const [private] |
Pass flags from compile, as they may have been changed.
macro for word boundary tags for regexes
Definition at line 626 of file PoolQuery.cc.
References _require_all, zypp::Match::isModeGlob(), zypp::Match::isModeString(), WB, and zypp::wildcards2regex().
Referenced by compile().
Impl* zypp::PoolQuery::Impl::clone | ( | ) | const [inline, private] |
Raw search strings.
Definition at line 336 of file PoolQuery.cc.
Referenced by asString(), compile(), and operator==().
Raw attributes.
Definition at line 338 of file PoolQuery.cc.
Referenced by asString(), compile(), and operator==().
std::set<AttrMatchData> zypp::PoolQuery::Impl::_uncompiledPredicated |
Uncompiled attributes with predicate.
Definition at line 340 of file PoolQuery.cc.
Referenced by asString(), compile(), and operator==().
Sat solver search flags.
Definition at line 343 of file PoolQuery.cc.
Referenced by asString(), compile(), and operator==().
Sat solver status flags.
Definition at line 348 of file PoolQuery.cc.
Referenced by asString(), and operator==().
Edition condition operand.
Definition at line 351 of file PoolQuery.cc.
Referenced by asString(), and operator==().
Operator for edition condition.
Definition at line 353 of file PoolQuery.cc.
Referenced by asString(), and operator==().
Repos to search.
Definition at line 356 of file PoolQuery.cc.
Referenced by asString(), and operator==().
Kinds to search.
Definition at line 359 of file PoolQuery.cc.
Referenced by asString(), and operator==().
AttrMatchList zypp::PoolQuery::Impl::_attrMatchList [mutable] |
AttrMatcher per attribtue.
Definition at line 390 of file PoolQuery.cc.
Referenced by asString(), and compile().