libzypp
10.5.0
|
Lightweight repository attribute value lookup. More...
#include <LookupAttr.h>
Public Member Functions | |
LookupRepoAttr () | |
LookupRepoAttr (SolvAttr attr_r) | |
LookupRepoAttr (SolvAttr attr_r, Repository repo_r) | |
void | setPool () |
void | setRepo (Repository repo_r) |
Lightweight repository attribute value lookup.
This is just a convenience class that overloads all LookupAttr methods which take a LookupAttr::Location argument and sets it to REPO_ATTR.
// look for a repo attribute in the pool: sat::LookupAttr p( sat::SolvAttr::repositoryAddedFileProvides, sat::LookupAttr::REPO_ATTR ); // Equivalent but using LookupRepoAttr: sat::LookupRepoAttr q( sat::SolvAttr::repositoryAddedFileProvides );
Definition at line 261 of file LookupAttr.h.
zypp::sat::LookupRepoAttr::LookupRepoAttr | ( | ) | [inline] |
Default ctor finds nothing.
Definition at line 265 of file LookupAttr.h.
zypp::sat::LookupRepoAttr::LookupRepoAttr | ( | SolvAttr | attr_r | ) | [inline, explicit] |
Definition at line 268 of file LookupAttr.h.
zypp::sat::LookupRepoAttr::LookupRepoAttr | ( | SolvAttr | attr_r, |
Repository | repo_r | ||
) | [explicit] |
Definition at line 283 of file LookupAttr.cc.
void zypp::sat::LookupRepoAttr::setPool | ( | ) | [inline] |
Set search in Pool (all repositories).
Definition at line 276 of file LookupAttr.h.
void zypp::sat::LookupRepoAttr::setRepo | ( | Repository | repo_r | ) |
Set search in one Repository.
Definition at line 287 of file LookupAttr.cc.