88 std::string
flavor()
const;
95 std::string
type()
const;
98 std::list<std::string>
flags()
const;
126 template <
class TIterator>
129 for_( it, begin, end )
166 UrlList
urls(
const std::string & key_r )
const;
220 {
return _list.empty(); }
223 {
return _list.size(); }
226 {
return _list.begin(); }
229 {
return _list.end(); }
Store and operate on date (time_t).
Helper to iterate a products URL lists.
std::list< Url > ListType
const_iterator end() const
ListType::const_iterator const_iterator
Url first() const
The first Url or an empty Url.
ListType::size_type size_type
ListType::value_type value_type
std::string key() const
The key used to retrieve this list (for debug)
const_iterator begin() const
std::string _key
Change to directly iterate the .solv.
ResTraits< Self > TraitsType
ReplacedProducts replacedProducts() const
Array of installed Products that would be replaced by installing this one.
std::list< std::string > flags() const
The product flags.
UrlList extraUrls() const
Additional software for the product They are complementary, not alternatives.
TraitsType::constPtrType constPtr
std::vector< constPtr > ReplacedProducts
std::string flavor() const
The product flavor (LiveCD Demo, FTP edition,...).
bool isTargetDistribution() const
This is the installed product that is also targeted by the /etc/products.d/baseproduct symlink.
UrlList releaseNotesUrls() const
The URL to download the release notes for this product.
std::string shortName() const
Untranslated short name like SLES 10 (fallback: name)
std::string referenceFilename() const
For installed products the name of the corresponding /etc/products.d entry.
UrlList registerUrls() const
The URL for registration.
std::string registerTarget() const
This is register.target attribute of a product.
bool hasEndOfLife() const
Return whether an EndOfLife value is actually defined in the metadata.
CapabilitySet droplist() const
List of packages included in older versions of this product and now dropped.
bool hasUpdateContentIdentifier(const Repository::ContentIdentifier &cident_r) const
Whether cident_r is listed as required update repository.
Date endOfLife() const
The date when this Product goes out of support as indicated by its medadata.
UrlList updateUrls() const
Online updates for the product.
sat::Solvable referencePackage() const
The reference package providing the product metadata, if such a package exists.
UrlList urls(const std::string &key_r) const
Retrieve URLs flagged with key_r for this product.
std::string type() const
Get the product type Well, in an ideal world there is only one base product.
std::vector< Repository::ContentIdentifier > updateContentIdentifier() const
ContentIdentifier of required update repositories.
std::string registerFlavor() const
This is register.flavor attribute of a product.
std::string registerRelease() const
This is register.release attribute of an installed product.
UrlList smoltUrls() const
The URL for SMOLT.
bool hasUpdateContentIdentifier(TIterator begin, TIterator end) const
Whether one of the ContentIdentifier is listed as required update repository.
std::string productLine() const
Vendor specific string denoting the product line.
UrlList optionalUrls() const
Optional software for the product.
std::string ContentIdentifier
Base for resolvable objects.
A Solvable object within the sat Pool.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::unordered_set< Capability > CapabilitySet
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
intrusive_ptr< const TRes > constPtrType
intrusive_ptr< TRes > PtrType
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.