99 std::string category()
const;
104 Category categoryEnum()
const;
107 bool isCategory(
const std::string & category_r )
const;
109 bool isCategory( Categories category_r )
const;
114 template <
class TContainer,
typename =
typename TContainer::value_type>
117 for (
const std::string & el : categories_r )
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;
145 bool isSeverity( SeverityFlags severity_r )
const;
150 template <
class TContainer,
typename =
typename TContainer::value_type>
153 for (
const std::string & el : severities_r )
161 static SeverityFlag severityFlag(
const std::string & category_r );
167 bool rebootSuggested()
const;
173 bool restartSuggested()
const;
179 bool reloginSuggested()
const;
184 std::string message(
const Locale & lang_r =
Locale() )
const;
189 InteractiveFlags interactiveFlags()
const;
194 bool interactiveWhenIgnoring( InteractiveFlags flags_r = NoFlags )
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;
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)
bool isSeverity(const std::string &severity_r) const
Whether this patch's severity matches severity_r.
InteractiveFlag
Flags defining if and why this patch is interactive.
SeverityFlag
Possible severity levels for (security) patches.
@ SEV_NONE
no value specified
@ SEV_IMPORTANT
Important.
@ SEV_OTHER
unknown value specified
TraitsType::constPtrType constPtr
ResTraits< Self > TraitsType
bool isCategory(const TContainer &categories_r) const
sat::SolvableSet Contents
ReferenceIterator referencesBegin() const
Get an iterator to the beginning of the patch references.
bool isCategory(const std::string &category_r) const
Whether this patch's category matches category_r.
@ CAT_OTHER
unknown value specified
bool isSeverity(const TContainer &severities_r) const
ZYPP_DECLARE_FLAGS(InteractiveFlags, InteractiveFlag)
Date timestamp() const
Issue date time.
Patch(const sat::Solvable &solvable_r)
Ctor.
ZYPP_DECLARE_FLAGS(Categories, Category)
ReferenceIterator referencesEnd() const
Get an iterator to the end of the patch references.
ResObject(const sat::Solvable &solvable_r)
Ctor.
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.
ResTraits< TRes >::PtrType make(const sat::Solvable &solvable_r)
Directly create a certain kind of ResObject from sat::Solvable.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
std::string asString(const Patch::Category &obj)
intrusive_ptr< Self > PtrType
intrusive_ptr< const Self > constPtrType
Solvable satSolvable() const
#define ZYPP_DECLARE_OPERATORS_FOR_FLAGS(Name)
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.