Go to the documentation of this file.
11 #ifndef ZYPP_VENDORATTR_H
12 #define ZYPP_VENDORATTR_H
23 #include <zypp/APIConfig.h>
114 template <
class TContainer>
118 for (
const auto & el : container_r )
119 tmp.push_back( std::string(el) );
123 template <
class TStr>
127 for (
const auto & el : container_r )
128 tmp.push_back( std::string(el) );
151 void _addVendorList( std::vector<std::string> & list_r )
const ZYPP_DEPRECATED;
165 #endif // ZYPP_VENDORATTR_H
void addVendorList(const TContainer &container_r)
RWCOW_pointer< Impl > _pimpl
Implementation class.
Combining sat::Solvable and ResStatus.
A Solvable object within the sat Pool.
bool equivalent(const Vendor &lVendor, const Vendor &rVendor) const
Return whether two vendor strings should be treated as the same vendor.
bool addVendorDirectory(const Pathname &dirname_r)
Adding new equivalent vendors described in a directory.
Definition of vendor equivalence.
Access to the sat-pools string space.
void addVendorList(const VendorList &list_r)
void addVendorList(const std::initializer_list< TStr > &container_r)
bool addVendorFile(const Pathname &filename_r)
Adding new equivalent vendors described in a file.
void addVendorList(VendorList &&list_r)
Adding new equivalent vendor strings container.
Easy-to use interface to the ZYPP dependency resolver.
void _addVendorList(VendorList &&list_r)
friend std::ostream & operator<<(std::ostream &str, const VendorAttr &obj)
std::ostream & operator<<(std::ostream &str, const Exception &obj)
std::vector< std::string > VendorList
Preferred type to pass equivalent vendor strings.
static const VendorAttr & instance()
(Pseudo)Singleton, mapped to the current Target::vendorAttr settings or to noTargetInstance.
String related utilities and Regular expression matching.
static VendorAttr & noTargetInstance()
Singleton, settings used if no Target is active.
VendorAttr()
Ctor providing the default set.