libzypp 8.13.6
|
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.
zypp::PoolQuery::Impl::~Impl | ( | ) | [inline] |
Definition at line 364 of file PoolQuery.cc.
string zypp::PoolQuery::Impl::asString | ( | ) | const |
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.
bool zypp::PoolQuery::Impl::operator!= | ( | const PoolQuery::Impl & | rhs | ) | const [inline] |
Definition at line 417 of file PoolQuery.cc.
References zypp::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 for_, zypp::invokeOnEach(), zypp::Match::mode(), 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 zypp::Match::isModeGlob(), zypp::Match::isModeString(), WB, and zypp::wildcards2regex().
Impl* zypp::PoolQuery::Impl::clone | ( | ) | const [inline, private] |
clone for RWCOW_pointer
Definition at line 437 of file PoolQuery.cc.
std::set<AttrMatchData> zypp::PoolQuery::Impl::_uncompiledPredicated |
Uncompiled attributes with predicate.
Definition at line 378 of file PoolQuery.cc.
Referenced by operator==().
Definition at line 382 of file PoolQuery.cc.
Referenced by operator==().
Definition at line 383 of file PoolQuery.cc.
Referenced by operator==().
Operator for edition condition.
Definition at line 391 of file PoolQuery.cc.
Referenced by operator==().
AttrMatchList zypp::PoolQuery::Impl::_attrMatchList [mutable] |
AttrMatcher per attribtue.
Definition at line 428 of file PoolQuery.cc.