zypp::pool::ByIdent Class Reference

Main filter selecting PoolItems by name and kind. More...

#include <ByIdent.h>

List of all members.

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.


Detailed Description

Main filter selecting PoolItems by name and kind.

Definition at line 26 of file ByIdent.h.


Constructor & Destructor Documentation

zypp::pool::ByIdent::ByIdent (  )  [inline]

Definition at line 29 of file ByIdent.h.

zypp::pool::ByIdent::ByIdent ( sat::Solvable  slv_r  )  [inline, explicit]

Definition at line 33 of file ByIdent.h.

zypp::pool::ByIdent::ByIdent ( IdString  ident_r  )  [inline, explicit]

Definition at line 37 of file ByIdent.h.

zypp::pool::ByIdent::ByIdent ( ResKind  kind_r,
IdString  name_r 
) [inline]

Definition at line 41 of file ByIdent.h.

zypp::pool::ByIdent::ByIdent ( ResKind  kind_r,
const C_Str name_r 
) [inline]

Definition at line 45 of file ByIdent.h.


Member Function Documentation

bool zypp::pool::ByIdent::operator() ( sat::Solvable  slv_r  )  const [inline]

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]

sat::detail::IdType zypp::pool::ByIdent::makeIdent ( ResKind  kind_r,
IdString  name_r 
) [inline, private]

sat::detail::IdType zypp::pool::ByIdent::makeIdent ( ResKind  kind_r,
const C_Str name_r 
) [inline, private]

sat::detail::IdType zypp::pool::ByIdent::get (  )  const [inline]


Member Data Documentation

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()().


The documentation for this class was generated from the following file:

doxygen