libzypp  13.10.6
zypp::pool::ByIdent Class Reference

Main filter selecting PoolItems by 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. More...
 

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)
inlineexplicit

Definition at line 33 of file ByIdent.h.

zypp::pool::ByIdent::ByIdent ( IdString  ident_r)
inlineexplicit

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

Definition at line 50 of file ByIdent.h.

bool zypp::pool::ByIdent::operator() ( const PoolItem pi_r) const
inline

Definition at line 56 of file ByIdent.h.

bool zypp::pool::ByIdent::operator() ( ResObject::constPtr  p_r) const
inline

Definition at line 59 of file ByIdent.h.

sat::detail::IdType zypp::pool::ByIdent::makeIdent ( sat::Solvable  slv_r)
inlineprivate

Definition at line 63 of file ByIdent.h.

sat::detail::IdType zypp::pool::ByIdent::makeIdent ( ResKind  kind_r,
IdString  name_r 
)
inlineprivate

Definition at line 69 of file ByIdent.h.

sat::detail::IdType zypp::pool::ByIdent::makeIdent ( ResKind  kind_r,
const C_Str name_r 
)
inlineprivate

Definition at line 78 of file ByIdent.h.

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

Definition at line 88 of file ByIdent.h.

Member Data Documentation

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.


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