42 using Ptr = TraitsType::PtrType;
52 CAT_RECOMMENDED = 1<<3,
92 {
return buildtime(); }
99 std::string category()
const;
104 Category categoryEnum()
const;
107 bool isCategory(
const std::string &
category_r )
const;
114 template <
class TContainer,
typename =
typename TContainer::value_type>
118 {
if ( isCategory(
el ) )
return true; }
125 static Category categoryEnum(
const std::string &
category_r );
134 std::string severity()
const;
140 SeverityFlag severityFlag()
const;
143 bool isSeverity(
const std::string &
severity_r )
const;
150 template <
class TContainer,
typename =
typename TContainer::value_type>
154 {
if ( isSeverity(
el ) )
return true; }
161 static SeverityFlag severityFlag(
const std::string &
category_r );
167 bool rebootSuggested()
const;
173 bool restartSuggested()
const;
179 bool reloginSuggested()
const;
206 bool interactive()
const;
212 Contents contents()
const;
217 class ReferenceIterator;
222 ReferenceIterator referencesBegin()
const;
227 ReferenceIterator referencesEnd()
const;
270 Patch::ReferenceIterator
271 , sat::LookupAttr::iterator
273 , boost::forward_traversal_tag
285 std::string
id()
const;
289 std::string
href()
const;
293 std::string
title()
const;
298 std::string
type()
const;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Store and operate on date (time_t).
'Language[_Country]' codes.
Query class for Patch issue references like bugzilla and security issues the patch is supposed to fix...
std::string title() const
Title describing the issue.
friend class boost::iterator_core_access
std::string id() const
The id of the reference.
std::string href() const
Url or pointer where to find more information.
std::string type() const
Type of the reference.
Class representing a patch.
ZYPP_DECLARE_FLAGS(SeverityFlags, SeverityFlag)
InteractiveFlag
Flags defining if and why this patch is interactive.
SeverityFlag
Possible severity levels for (security) patches.
TraitsType::constPtrType constPtr
bool isCategory(const TContainer &categories_r) const
ReferenceIterator referencesBegin() const
Get an iterator to the beginning of the patch references.
bool isSeverity(const TContainer &severities_r) const
ZYPP_DECLARE_FLAGS(InteractiveFlags, InteractiveFlag)
Date timestamp() const
Issue date time.
ZYPP_DECLARE_FLAGS(Categories, Category)
ReferenceIterator referencesEnd() const
Get an iterator to the end of the patch references.
Base for resolvable objects.
Solvable set wrapper to allow adding additional convenience iterators.
A Solvable object within the sat Pool.
Easy-to use interface to the ZYPP dependency resolver.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
std::string asString(const Patch::Category &obj)
Solvable satSolvable() const
Return the corresponding sat::Solvable.
#define ZYPP_DECLARE_OPERATORS_FOR_FLAGS(Name)
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.