libzypp 17.31.7
zypp::filter::SameItemAs Class Reference

Filter items with at least same NVRA, vendor. More...

#include <Filter.h>

Public Member Functions

 SameItemAs (const sat::Solvable &solv_r)
template<class TSolv >
 SameItemAs (const TSolv &solv_r)
 Fitting PoolItem/ResObject. More...
bool operator() (const sat::Solvable &solv_r) const
 Filter on Solvable. More...
template<class TSolv >
bool operator() (const TSolv &solv_r) const
 Filter fitting PoolItem/ResObject. More...

Private Attributes

sat::Solvable _item

Detailed Description

Filter items with at least same NVRA, vendor.

This is usually used to find available packages that matche an insytalled one.

Definition at line 175 of file Filter.h.

Constructor & Destructor Documentation

◆ SameItemAs() [1/2]

zypp::filter::SameItemAs::SameItemAs ( const sat::Solvable solv_r)

Definition at line 178 of file Filter.h.

◆ SameItemAs() [2/2]

template<class TSolv >
zypp::filter::SameItemAs::SameItemAs ( const TSolv &  solv_r)

Fitting PoolItem/ResObject.

Definition at line 184 of file Filter.h.

Member Function Documentation

◆ operator()() [1/2]

bool zypp::filter::SameItemAs::operator() ( const sat::Solvable solv_r) const

Filter on Solvable.

Definition at line 190 of file Filter.h.

◆ operator()() [2/2]

template<class TSolv >
bool zypp::filter::SameItemAs::operator() ( const TSolv &  solv_r) const

Filter fitting PoolItem/ResObject.

Definition at line 200 of file Filter.h.

Member Data Documentation

◆ _item

sat::Solvable zypp::filter::SameItemAs::_item

Definition at line 204 of file Filter.h.

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