11 #ifndef ZYPP_VENDORATTR_H 12 #define ZYPP_VENDORATTR_H 92 bool addVendorDirectory(
const Pathname & dirname_r );
97 bool addVendorFile(
const Pathname & filename_r );
106 { _addVendorList( std::move(list_r) ); }
111 template <
class TContainer>
115 for (
const auto & el : container_r )
116 tmp.push_back( std::string(el) );
117 _addVendorList( std::move(tmp) );
120 template <
class TStr>
124 for (
const auto & el : container_r )
125 tmp.push_back( std::string(el) );
126 _addVendorList( std::move(tmp) );
134 bool equivalent(
const Vendor & lVendor,
const Vendor & rVendor )
const;
140 bool equivalent(
const PoolItem & lVendor,
const PoolItem & rVendor )
const;
143 bool relaxedEquivalent(
const Vendor & lVendor,
const Vendor & rVendor )
const;
149 bool relaxedEquivalent(
const PoolItem & lVendor,
const PoolItem & rVendor )
const;
155 unsigned foreachVendorList( std::function<
bool(VendorList)> fnc_r )
const;
171 #endif // ZYPP_VENDORATTR_H A Solvable object within the sat Pool.
void addVendorList(const VendorList &list_r)
void addVendorList(const TContainer &container_r)
RWCOW_pointer< Impl > _pimpl
Implementation class.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Access to the sat-pools string space.
Provides API related macros.
VendorAttr implementation.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition of vendor equivalence.
void addVendorList(VendorList &&list_r)
Adding new equivalent vendor strings container.
void addVendorList(const std::initializer_list< TStr > &container_r)
std::vector< std::string > VendorList
Preferred type to pass equivalent vendor strings.
Combining sat::Solvable and ResStatus.
Easy-to use interface to the ZYPP dependency resolver.