zypp::repo::PackageProviderPolicy Class Reference

#include <PackageProvider.h>

List of all members.

Public Types

typedef function< bool(const
std::string &, const Edition
&, const Arch &)> 
QueryInstalledCB
 Get installed Editions callback signature.

Public Member Functions

PackageProviderPolicyqueryInstalledCB (QueryInstalledCB queryInstalledCB_r)
 Set callback.
bool queryInstalled (const std::string &name_r, const Edition &ed_r, const Arch &arch_r) const
 Evaluate callback.

Private Attributes

QueryInstalledCB _queryInstalledCB


Detailed Description

Definition at line 37 of file PackageProvider.h.


Member Typedef Documentation

typedef function<bool ( const std::string &, const Edition &, const Arch & )> zypp::repo::PackageProviderPolicy::QueryInstalledCB

Get installed Editions callback signature.

Definition at line 41 of file PackageProvider.h.


Member Function Documentation

PackageProviderPolicy& zypp::repo::PackageProviderPolicy::queryInstalledCB ( QueryInstalledCB  queryInstalledCB_r  )  [inline]

Set callback.

Definition at line 44 of file PackageProvider.h.

References _queryInstalledCB.

Referenced by zypp::target::RepoProvidePackage::operator()().

bool zypp::repo::PackageProviderPolicy::queryInstalled ( const std::string &  name_r,
const Edition ed_r,
const Arch arch_r 
) const

Evaluate callback.

Definition at line 42 of file PackageProvider.cc.

References _queryInstalledCB.

Referenced by zypp::repo::PackageProvider::queryInstalled().


Member Data Documentation

Definition at line 53 of file PackageProvider.h.

Referenced by queryInstalled(), and queryInstalledCB().


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

doxygen