#include <LookupAttrTools.h>
Public Types | |
typedef LookupAttr::transformIterator < _ResultT, _AttrT > | iterator |
typedef LookupAttr::size_type | size_type |
Public Member Functions | |
ArrayAttr () | |
ArrayAttr (SolvAttr attr_r, LookupAttr::Location loc_r=LookupAttr::SOLV_ATTR) | |
ArrayAttr (SolvAttr attr_r, Repository repo_r, LookupAttr::Location loc_r=LookupAttr::SOLV_ATTR) | |
ArrayAttr (SolvAttr attr_r, Solvable solv_r) | |
iterator | begin () const |
iterator | end () const |
bool | empty () const |
size_type | size () const |
iterator | find (const _ResultT &key_r) const |
Private Attributes | |
LookupAttr | _q |
Friends | |
std::ostream & | operator (std::ostream &str, const ArrayAttr< _ResultT, _AttrT > &obj) |
You may pass LookupAttr::REPO_ATTR as LookupAttr::Location argument, to lookup attributes associated with the Repository as a whole (e.g. repository keywords).
typedef ArrayAttr<PackageKeyword,IdString> Keywords; Keywords k( sat::SolvAttr::keywords ); dumpRange( MIL << "All Keywords: ", k.begin(), k.end() ) << endl;
Definition at line 154 of file LookupAttrTools.h.
typedef LookupAttr::transformIterator<_ResultT,_AttrT> zypp::sat::ArrayAttr< _ResultT, _AttrT >::iterator |
Definition at line 175 of file LookupAttrTools.h.
typedef LookupAttr::size_type zypp::sat::ArrayAttr< _ResultT, _AttrT >::size_type |
Definition at line 176 of file LookupAttrTools.h.
zypp::sat::ArrayAttr< _ResultT, _AttrT >::ArrayAttr | ( | ) | [inline] |
Definition at line 159 of file LookupAttrTools.h.
zypp::sat::ArrayAttr< _ResultT, _AttrT >::ArrayAttr | ( | SolvAttr | attr_r, | |
LookupAttr::Location | loc_r = LookupAttr::SOLV_ATTR | |||
) | [inline] |
Definition at line 162 of file LookupAttrTools.h.
zypp::sat::ArrayAttr< _ResultT, _AttrT >::ArrayAttr | ( | SolvAttr | attr_r, | |
Repository | repo_r, | |||
LookupAttr::Location | loc_r = LookupAttr::SOLV_ATTR | |||
) | [inline] |
Definition at line 166 of file LookupAttrTools.h.
zypp::sat::ArrayAttr< _ResultT, _AttrT >::ArrayAttr | ( | SolvAttr | attr_r, | |
Solvable | solv_r | |||
) | [inline] |
Definition at line 170 of file LookupAttrTools.h.
iterator zypp::sat::ArrayAttr< _ResultT, _AttrT >::begin | ( | ) | const [inline] |
Definition at line 178 of file LookupAttrTools.h.
References zypp::sat::ArrayAttr< _ResultT, _AttrT >::_q, and zypp::sat::LookupAttr::begin().
Referenced by zypp::sat::ArrayAttr< _ResultT, _AttrT >::find(), zypp::sat::ArrayAttr< _ResultT, _AttrT >::size(), and zypp::Package::vendorSupport().
iterator zypp::sat::ArrayAttr< _ResultT, _AttrT >::end | ( | ) | const [inline] |
Definition at line 181 of file LookupAttrTools.h.
References zypp::sat::ArrayAttr< _ResultT, _AttrT >::_q, and zypp::sat::LookupAttr::end().
Referenced by zypp::sat::ArrayAttr< _ResultT, _AttrT >::find(), zypp::sat::ArrayAttr< _ResultT, _AttrT >::size(), and zypp::Package::vendorSupport().
bool zypp::sat::ArrayAttr< _ResultT, _AttrT >::empty | ( | ) | const [inline] |
Definition at line 184 of file LookupAttrTools.h.
References zypp::sat::ArrayAttr< _ResultT, _AttrT >::_q, and zypp::sat::LookupAttr::empty().
size_type zypp::sat::ArrayAttr< _ResultT, _AttrT >::size | ( | ) | const [inline] |
Definition at line 187 of file LookupAttrTools.h.
References zypp::sat::ArrayAttr< _ResultT, _AttrT >::begin(), zypp::sat::ArrayAttr< _ResultT, _AttrT >::end(), and for_.
iterator zypp::sat::ArrayAttr< _ResultT, _AttrT >::find | ( | const _ResultT & | key_r | ) | const [inline] |
Definition at line 197 of file LookupAttrTools.h.
References zypp::sat::ArrayAttr< _ResultT, _AttrT >::begin(), zypp::sat::ArrayAttr< _ResultT, _AttrT >::end(), and for_.
std::ostream& operator | ( | std::ostream & | str, | |
const ArrayAttr< _ResultT, _AttrT > & | obj | |||
) | [friend] |
LookupAttr zypp::sat::ArrayAttr< _ResultT, _AttrT >::_q [private] |
Definition at line 208 of file LookupAttrTools.h.
Referenced by zypp::sat::ArrayAttr< _ResultT, _AttrT >::begin(), zypp::sat::ArrayAttr< _ResultT, _AttrT >::empty(), and zypp::sat::ArrayAttr< _ResultT, _AttrT >::end().