libzypp 9.41.1
|
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 |
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 | |
StrMatcher | joinedStrMatcher (const StrContainer &container_r, const Match &flags_r) const |
Join patterns in container_r according to flags_r into a single StrMatcher. | |
Impl * | clone () const |
clone for RWCOW_pointer | |
Friends | |
Impl * | rwcowClone (const Impl *rhs) |
Definition at line 357 of file PoolQuery.cc.
zypp::PoolQuery::Impl::Impl | ( | ) | [inline] |
Definition at line 360 of file PoolQuery.cc.
zypp::PoolQuery::Impl::~Impl | ( | ) | [inline] |
Definition at line 366 of file PoolQuery.cc.
string zypp::PoolQuery::Impl::asString | ( | ) | const |
bool zypp::PoolQuery::Impl::operator== | ( | const PoolQuery::Impl & | rhs | ) | const [inline] |
Definition at line 403 of file PoolQuery.cc.
References _attrs, _edition, _flags, _kinds, _match_word, _op, _repos, _status_flags, _strings, _uncompiledPredicated, zypp::Match::isModeGlob(), and zypp::Match::isModeString().
bool zypp::PoolQuery::Impl::operator!= | ( | const PoolQuery::Impl & | rhs | ) | const [inline] |
Definition at line 430 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. |
Definition at line 480 of file PoolQuery.cc.
References for_, zypp::invokeOnEach(), and ZYPP_THROW.
StrMatcher zypp::PoolQuery::Impl::joinedStrMatcher | ( | const StrContainer & | container_r, |
const Match & | flags_r | ||
) | const [private] |
Join patterns in container_r according to flags_r into a single StrMatcher.
The StrMatcher returned will be a REGEX if more than one pattern was passed.
Definition at line 653 of file PoolQuery.cc.
References for_, zypp::Match::isModeGlob(), zypp::Match::isModeString(), and zypp::Match::setModeRegex().
Impl* zypp::PoolQuery::Impl::clone | ( | ) | const [inline, private] |
clone for RWCOW_pointer
Definition at line 452 of file PoolQuery.cc.
std::set<AttrMatchData> zypp::PoolQuery::Impl::_uncompiledPredicated |
Uncompiled attributes with predicate.
Definition at line 380 of file PoolQuery.cc.
Referenced by operator==().
Definition at line 384 of file PoolQuery.cc.
Referenced by operator==().
Operator for edition condition.
Definition at line 392 of file PoolQuery.cc.
Referenced by operator==().
AttrMatchList zypp::PoolQuery::Impl::_attrMatchList [mutable] |
AttrMatcher per attribtue.
Definition at line 441 of file PoolQuery.cc.