12 #ifndef ZYPP_PRODUCT_H
13 #define ZYPP_PRODUCT_H
88 std::string
flavor()
const;
95 std::string
type()
const;
98 std::list<std::string>
flags()
const;
180 {
return _list.empty(); }
183 {
return _list.size(); }
186 {
return _list.begin(); }
189 {
return _list.end(); }
213 #endif // ZYPP_PRODUCT_H
Product(const sat::Solvable &solvable_r)
Ctor.
std::list< Url > ListType
const_iterator end() const
A Solvable object within the sat Pool.
UrlList releaseNotesUrls() const
The URL to download the release notes for this product.
Helper to iterate a products URL lists.
std::string key() const
The key used to retrieve this list (for debug)
UrlList registerUrls() const
The URL for registration.
UrlList optionalUrls() const
Optional software for the product.
const_iterator begin() const
ListType::size_type size_type
UrlList extraUrls() const
Additional software for the product They are complementary, not alternatives.
TraitsType::constPtrType constPtr
std::string registerRelease() const
This is register.release attribute of an installed product.
std::tr1::unordered_set< Capability > CapabilitySet
ListType::value_type value_type
Url first() const
The first Url or an empty Url.
std::ostream & operator<<(std::ostream &str, const Exception &obj)
std::string flavor() const
The product flavor (LiveCD Demo, FTP edition,...).
ListType::const_iterator const_iterator
sat::Solvable referencePackage() const
The reference package providing the product metadata, if such a package exists.
Interface base for resolvable objects (common data).
std::string type() const
Get the product type Well, in an ideal world there is only one base product.
UrlList updateUrls() const
Online updates for the product.
ReplacedProducts replacedProducts() const
Array of installed Products that would be replaced by installing this one.
std::vector< constPtr > ReplacedProducts
std::string shortName() const
Untranslated short name like SLES 10
CapabilitySet droplist() const
List of packages included in older versions of this product and now dropped.
bool isTargetDistribution() const
This is the installed product that is also targeted by the /etc/products.d/baseproduct symlink...
std::string productLine() const
Vendor specific string denoting the product line.
std::string _key
Change to directly iterate the .solv.
intrusive_ptr< _Res > PtrType
std::string referenceFilename() const
For installed products the name of the coddesponding /etc/products.d entry.
std::list< std::string > flags() const
The product flags.
std::string registerTarget() const
This is register.target attribute of an installed product.
UrlList urls(const std::string &key_r) const
Rerieve urls flagged with key_r for this product.
ResTraits< Self > TraitsType
UrlList smoltUrls() const
The URL for SMOLT.
intrusive_ptr< const _Res > constPtrType