libzypp
10.5.0
|
LookupAttr implememtation. More...
Public Member Functions | |
Impl () | |
Impl (SolvAttr attr_r, Location loc_r) | |
Impl (SolvAttr attr_r, Repository repo_r, Location loc_r) | |
Impl (SolvAttr attr_r, Solvable solv_r) | |
SolvAttr | attr () const |
void | setAttr (SolvAttr attr_r) |
const AttrMatcher & | attrMatcher () const |
void | setAttrMatcher (const AttrMatcher &matcher_r) |
bool | pool () const |
void | setPool (Location loc_r) |
Repository | repo () const |
void | setRepo (Repository repo_r, Location loc_r) |
Solvable | solvable () const |
void | setSolvable (Solvable solv_r) |
SolvAttr | parent () const |
void | setParent (SolvAttr attr_r) |
LookupAttr::iterator | begin () const |
LookupAttr::iterator | end () const |
Private Member Functions | |
Impl * | clone () const |
clone for RWCOW_pointer | |
Private Attributes | |
SolvAttr | _attr |
SolvAttr | _parent |
Repository | _repo |
Solvable | _solv |
AttrMatcher | _attrMatcher |
Friends | |
Impl * | rwcowClone (const Impl *rhs) |
LookupAttr implememtation.
Repository and Solvable must not be set at the same time!
_solv
is somewhat abused to store eiter Id
0
or SOLVID_META
, which indicates whether the dataiterator should look into solvable or repository metadata. Remember that all Solvables with an invalid Id
, are treated as == Solvable::noSolvable
, and in a boolean context evaluate to false
. Thus noSolvable
may have different Ids
. Definition at line 55 of file LookupAttr.cc.
zypp::sat::LookupAttr::Impl::Impl | ( | ) | [inline] |
Definition at line 58 of file LookupAttr.cc.
Definition at line 61 of file LookupAttr.cc.
zypp::sat::LookupAttr::Impl::Impl | ( | SolvAttr | attr_r, |
Repository | repo_r, | ||
Location | loc_r | ||
) | [inline] |
Definition at line 64 of file LookupAttr.cc.
Definition at line 67 of file LookupAttr.cc.
SolvAttr zypp::sat::LookupAttr::Impl::attr | ( | ) | const [inline] |
Definition at line 72 of file LookupAttr.cc.
void zypp::sat::LookupAttr::Impl::setAttr | ( | SolvAttr | attr_r | ) | [inline] |
Definition at line 75 of file LookupAttr.cc.
const AttrMatcher& zypp::sat::LookupAttr::Impl::attrMatcher | ( | ) | const [inline] |
Definition at line 83 of file LookupAttr.cc.
void zypp::sat::LookupAttr::Impl::setAttrMatcher | ( | const AttrMatcher & | matcher_r | ) | [inline] |
Definition at line 86 of file LookupAttr.cc.
bool zypp::sat::LookupAttr::Impl::pool | ( | ) | const [inline] |
Definition at line 93 of file LookupAttr.cc.
void zypp::sat::LookupAttr::Impl::setPool | ( | Location | loc_r | ) | [inline] |
Definition at line 96 of file LookupAttr.cc.
Repository zypp::sat::LookupAttr::Impl::repo | ( | ) | const [inline] |
Definition at line 102 of file LookupAttr.cc.
void zypp::sat::LookupAttr::Impl::setRepo | ( | Repository | repo_r, |
Location | loc_r | ||
) | [inline] |
Definition at line 105 of file LookupAttr.cc.
Solvable zypp::sat::LookupAttr::Impl::solvable | ( | ) | const [inline] |
Definition at line 111 of file LookupAttr.cc.
void zypp::sat::LookupAttr::Impl::setSolvable | ( | Solvable | solv_r | ) | [inline] |
Definition at line 114 of file LookupAttr.cc.
SolvAttr zypp::sat::LookupAttr::Impl::parent | ( | ) | const [inline] |
Definition at line 120 of file LookupAttr.cc.
void zypp::sat::LookupAttr::Impl::setParent | ( | SolvAttr | attr_r | ) | [inline] |
Definition at line 123 of file LookupAttr.cc.
LookupAttr::iterator zypp::sat::LookupAttr::Impl::begin | ( | ) | const [inline] |
Definition at line 127 of file LookupAttr.cc.
LookupAttr::iterator zypp::sat::LookupAttr::Impl::end | ( | ) | const [inline] |
Definition at line 145 of file LookupAttr.cc.
Impl* zypp::sat::LookupAttr::Impl::clone | ( | ) | const [inline, private] |
clone for RWCOW_pointer
Definition at line 158 of file LookupAttr.cc.
SolvAttr zypp::sat::LookupAttr::Impl::_attr [private] |
Definition at line 149 of file LookupAttr.cc.
SolvAttr zypp::sat::LookupAttr::Impl::_parent [private] |
Definition at line 150 of file LookupAttr.cc.
Repository zypp::sat::LookupAttr::Impl::_repo [private] |
Definition at line 151 of file LookupAttr.cc.
Solvable zypp::sat::LookupAttr::Impl::_solv [private] |
Definition at line 152 of file LookupAttr.cc.
Definition at line 153 of file LookupAttr.cc.