name
and kind
.
More...
#include <ByIdent.h>
Public Member Functions | |
ByIdent () | |
ByIdent (sat::Solvable slv_r) | |
ByIdent (IdString ident_r) | |
ByIdent (ResKind kind_r, IdString name_r) | |
ByIdent (ResKind kind_r, const C_Str &name_r) | |
bool | operator() (sat::Solvable slv_r) const |
bool | operator() (const PoolItem &pi_r) const |
bool | operator() (ResObject::constPtr p_r) const |
sat::detail::IdType | get () const |
Private Member Functions | |
sat::detail::IdType | makeIdent (sat::Solvable slv_r) |
sat::detail::IdType | makeIdent (ResKind kind_r, IdString name_r) |
sat::detail::IdType | makeIdent (ResKind kind_r, const C_Str &name_r) |
Private Attributes | |
sat::detail::IdType | _id |
negative _id for srcpackage , as they use the same ident as package . |
name
and kind
.
Definition at line 26 of file ByIdent.h.
zypp::pool::ByIdent::ByIdent | ( | sat::Solvable | slv_r | ) | [inline, explicit] |
zypp::pool::ByIdent::ByIdent | ( | IdString | ident_r | ) | [inline, explicit] |
bool zypp::pool::ByIdent::operator() | ( | sat::Solvable | slv_r | ) | const [inline] |
Definition at line 50 of file ByIdent.h.
References _id, zypp::IdString::id(), zypp::sat::Solvable::ident(), zypp::sat::Solvable::isKind(), and zypp::ResKind::srcpackage.
bool zypp::pool::ByIdent::operator() | ( | const PoolItem & | pi_r | ) | const [inline] |
Definition at line 56 of file ByIdent.h.
References operator()(), and zypp::PoolItem::satSolvable().
Referenced by operator()().
bool zypp::pool::ByIdent::operator() | ( | ResObject::constPtr | p_r | ) | const [inline] |
Definition at line 59 of file ByIdent.h.
References _id, and operator()().
Referenced by operator()().
sat::detail::IdType zypp::pool::ByIdent::makeIdent | ( | sat::Solvable | slv_r | ) | [inline, private] |
Definition at line 63 of file ByIdent.h.
References zypp::IdString::id(), zypp::sat::Solvable::ident(), zypp::sat::Solvable::isKind(), and zypp::ResKind::srcpackage.
sat::detail::IdType zypp::pool::ByIdent::makeIdent | ( | ResKind | kind_r, | |
IdString | name_r | |||
) | [inline, private] |
Definition at line 69 of file ByIdent.h.
References zypp::IdString::c_str(), zypp::IdStringType< Derived >::c_str(), zypp::str::form(), zypp::IdString::id(), zypp::ResKind::package, and zypp::ResKind::srcpackage.
sat::detail::IdType zypp::pool::ByIdent::makeIdent | ( | ResKind | kind_r, | |
const C_Str & | name_r | |||
) | [inline, private] |
Definition at line 78 of file ByIdent.h.
References zypp::C_Str::c_str(), zypp::IdStringType< Derived >::c_str(), zypp::str::form(), zypp::ResKind::package, and zypp::ResKind::srcpackage.
sat::detail::IdType zypp::pool::ByIdent::get | ( | ) | const [inline] |
Definition at line 88 of file ByIdent.h.
References _id.
Referenced by zypp::ResPool::byIdentBegin(), zypp::ResPool::byIdentEnd(), and zypp::ResPoolProxy::Impl::lookup().
sat::detail::IdType zypp::pool::ByIdent::_id [private] |
negative _id
for srcpackage
, as they use the same ident
as package
.
Definition at line 94 of file ByIdent.h.
Referenced by get(), and operator()().