VendorAttr implementation.
More...
VendorAttr implementation.
Definition at line 40 of file VendorAttr.cc.
◆ VendorMap
◆ VendorMatchEntry
◆ VendorMatch
◆ legacySetup()
void zypp::VendorAttr::Impl::legacySetup |
( |
| ) |
|
|
inline |
bsc#1030686: The legacy default equivalence of 'suse' and 'opensuse' has been removed.
Unless they are mentioned in a custom rule, create separate classes for them.
Definition at line 48 of file VendorAttr.cc.
◆ addVendorList()
void zypp::VendorAttr::Impl::addVendorList |
( |
VendorList && |
vendorList_r | ) |
|
◆ equivalent()
Return whether two vendor strings should be treated as equivalent.
Definition at line 62 of file VendorAttr.cc.
◆ vendorMatchIdReset()
void zypp::VendorAttr::Impl::vendorMatchIdReset |
( |
| ) |
|
|
inlineprivate |
Reset match cache if global VendorMap was changed.
Definition at line 77 of file VendorAttr.cc.
◆ vendorMatchId()
unsigned zypp::VendorAttr::Impl::vendorMatchId |
( |
IdString |
vendor | ) |
const |
|
private |
Helper mapping vendor string to eqivalence class ID.
- Return the vendor strings eqivalence class ID stored in _vendorMatch.
- If not found, assign and return the eqivalence class ID of the lowercased string.
- If not found, assign and return a new ID (look into the predefined VendorMap (id>0), otherwise create a new ID (<0)).
Definition at line 100 of file VendorAttr.cc.
◆ clone()
Impl* zypp::VendorAttr::Impl::clone |
( |
| ) |
const |
|
inlineprivate |
◆ operator<< [1/2]
std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const Impl & |
obj |
|
) |
| |
|
friend |
◆ rwcowClone
◆ operator<<() [2/2]
◆ _vendorMap
◆ vendorGroupCounter
unsigned zypp::VendorAttr::Impl::vendorGroupCounter = 1 |
|
private |
◆ _nextId
int zypp::VendorAttr::Impl::_nextId = -1 |
|
mutableprivate |
◆ _vendorMatch
The documentation for this class was generated from the following file: