12 #ifndef ZYPP_PRODUCT_H 13 #define ZYPP_PRODUCT_H 50 std::string referenceFilename()
const;
82 std::string productLine()
const;
86 std::string shortName()
const;
89 std::string flavor()
const;
96 std::string type()
const;
99 std::list<std::string> flags()
const;
105 Date endOfLife()
const;
112 bool hasEndOfLife()
const;
118 bool hasEndOfLife(
Date & value )
const;
121 std::vector<Repository::ContentIdentifier> updateContentIdentifier()
const;
127 template <
class TIterator>
130 for_( it, begin, end )
131 if ( hasUpdateContentIdentifier( *it ) )
140 bool isTargetDistribution()
const;
145 std::string registerTarget()
const;
150 std::string registerRelease()
const;
155 std::string registerFlavor()
const;
167 UrlList urls(
const std::string & key_r )
const;
170 UrlList releaseNotesUrls()
const;
173 UrlList registerUrls()
const;
176 UrlList smoltUrls()
const;
182 UrlList updateUrls()
const;
188 UrlList extraUrls()
const;
195 UrlList optionalUrls()
const;
221 {
return _list.empty(); }
224 {
return _list.size(); }
227 {
return _list.begin(); }
230 {
return _list.end(); }
254 #endif // ZYPP_PRODUCT_H bool hasUpdateContentIdentifier(TIterator begin, TIterator end) const
Whether one of the ContentIdentifier is listed as required update repository.
const_iterator begin() const
A Solvable object within the sat Pool.
Helper to iterate a products URL lists.
std::string key() const
The key used to retrieve this list (for debug)
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
intrusive_ptr< const TRes > constPtrType
TraitsType::constPtrType constPtr
Url first() const
The first Url or an empty Url.
Store and operate on date (time_t).
ListType::size_type size_type
const_iterator end() const
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
DEFINE_PTR_TYPE(Application)
std::string ContentIdentifier
Base for resolvable objects.
std::unordered_set< Capability > CapabilitySet
intrusive_ptr< TRes > PtrType
ListType::value_type value_type
ListType::const_iterator const_iterator
std::list< Url > ListType
std::string _key
Change to directly iterate the .solv.
std::vector< constPtr > ReplacedProducts
Easy-to use interface to the ZYPP dependency resolver.