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 354 of file PoolQuery.cc.
zypp::PoolQuery::Impl::Impl | ( | ) | [inline] |
Definition at line 357 of file PoolQuery.cc.
Referenced by clone().
zypp::PoolQuery::Impl::~Impl | ( | ) | [inline] |
Definition at line 364 of file PoolQuery.cc.
string zypp::PoolQuery::Impl::asString | ( | ) | const |
String representation.
Definition at line 739 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 402 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] |
Definition at line 417 of file PoolQuery.cc.
References operator==().
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 465 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 664 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 374 of file PoolQuery.cc.
Referenced by asString(), compile(), and operator==().
Raw attributes.
Definition at line 376 of file PoolQuery.cc.
Referenced by asString(), compile(), and operator==().
std::set<AttrMatchData> zypp::PoolQuery::Impl::_uncompiledPredicated |
Uncompiled attributes with predicate.
Definition at line 378 of file PoolQuery.cc.
Referenced by asString(), compile(), and operator==().
Sat solver search flags.
Definition at line 381 of file PoolQuery.cc.
Referenced by asString(), compile(), and operator==().
Definition at line 382 of file PoolQuery.cc.
Referenced by operator==().
Definition at line 383 of file PoolQuery.cc.
Referenced by createRegex(), and operator==().
Sat solver status flags.
Definition at line 386 of file PoolQuery.cc.
Referenced by asString(), and operator==().
Edition condition operand.
Definition at line 389 of file PoolQuery.cc.
Referenced by asString(), and operator==().
Operator for edition condition.
Definition at line 391 of file PoolQuery.cc.
Referenced by asString(), and operator==().
Repos to search.
Definition at line 394 of file PoolQuery.cc.
Referenced by asString(), and operator==().
Kinds to search.
Definition at line 397 of file PoolQuery.cc.
Referenced by asString(), and operator==().
AttrMatchList zypp::PoolQuery::Impl::_attrMatchList [mutable] |
AttrMatcher per attribtue.
Definition at line 428 of file PoolQuery.cc.
Referenced by asString(), and compile().