VendorAttr implementation.  
 More...
|  | 
| (Note that these are not member symbols.)  | 
| std::ostream & | operator<< (std::ostream &str, const VendorAttr::Impl &obj) | 
|  | Stream output. 
 | 
VendorAttr implementation. 
Definition at line 40 of file VendorAttr.cc.
◆ VendorGroupMap
◆ VendorMatchEntry
◆ VendorMatch
◆ Impl()
  
  | 
        
          | zypp::VendorAttr::Impl::Impl | ( |  | ) |  |  | inline | 
 
Ctor. 
bsc#1030686: The legacy default equivalence of 'suse' and 'opensuse' has been removed. bnc#812608: No prefix compare in opensuse namespace, so just create a class for 'suse*' 
Definition at line 50 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 58 of file VendorAttr.cc.
 
 
◆ relaxedEquivalent()
Return whether two vendor strings should be treated as equivalent or are (suse/opensuse). 
Definition at line 62 of file VendorAttr.cc.
 
 
◆ foreachVendorList()
  
  | 
        
          | unsigned zypp::VendorAttr::Impl::foreachVendorList | ( | const std::function< bool(VendorList)> & | fnc_r | ) | const |  | inline | 
 
 
◆ vendorMatchIdReset()
  
  | 
        
          | void zypp::VendorAttr::Impl::vendorMatchIdReset | ( |  | ) |  |  | inlineprivate | 
 
Reset vendor match cache if _vendorGroupMap was changed. 
Definition at line 108 of file VendorAttr.cc.
 
 
◆ vendorMatchId()
  
  | 
        
          | unsigned zypp::VendorAttr::Impl::vendorMatchId | ( | IdString | vendor | ) | const |  | private | 
 
Helper mapping a vendor string to its 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 VendorGroupMap (id>0), otherwise create a new ID (<0)). 
Definition at line 130 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]
◆ _vendorGroupMap
Vendor group definition. Equivalent groups share the same ID. 
Definition at line 98 of file VendorAttr.cc.
 
 
◆ _vendorGroupId
  
  | 
        
          | unsigned zypp::VendorAttr::Impl::_vendorGroupId = 0 |  | private | 
 
Highest group ID in use (incremented). 
Definition at line 99 of file VendorAttr.cc.
 
 
◆ _vendorMatch
Cache mapping vendor strings to equivalence class ID. 
Definition at line 104 of file VendorAttr.cc.
 
 
◆ _nextId
  
  | 
        
          | unsigned zypp::VendorAttr::Impl::_nextId = 0 |  | mutableprivate | 
 
Least equivalence class ID in use (decremented). 
Definition at line 105 of file VendorAttr.cc.
 
 
The documentation for this class was generated from the following file: