106 bool isCategory(
const std::string & category_r )
const;
108 bool isCategory( Categories category_r )
const;
109 #ifndef SWIG // Swig treats it as syntax error 113 template <
class TContainer,
typename =
typename TContainer::value_type>
116 for (
const std::string & el : categories_r )
142 bool isSeverity(
const std::string & severity_r )
const;
144 bool isSeverity( SeverityFlags severity_r )
const;
145 #ifndef SWIG // Swig treats it as syntax error 149 template <
class TContainer,
typename =
typename TContainer::value_type>
152 for (
const std::string & el : severities_r )
216 class ReferenceIterator;
269 Patch::ReferenceIterator
270 , sat::LookupAttr::iterator
272 , boost::forward_traversal_tag
284 std::string
id()
const;
288 std::string
href()
const;
292 std::string
title()
const;
297 std::string
type()
const;
314 #endif // ZYPP_PATCH_H
bool reloginSuggested() const
Does the patch needs the user to relogin to take effect? relogin is suggested then.
A Solvable object within the sat Pool.
SeverityFlag
Possible severity levels for (security) patches.
intrusive_ptr< const TRes > constPtrType
std::string asString(const DefaultIntegral< Tp, TInitial > &obj)
ResTraits< Self > TraitsType
std::string severity() const
Severity string as specified in metadata.
ZYPP_DECLARE_OPERATORS_FOR_FLAGS(DiskUsageCounter::MountPoint::HintFlags)
std::string title() const
Title describing the issue.
Class representing a patch.
Category categoryEnum() const
This patch's category as enum of wellknown categories.
ReferenceIterator referencesEnd() const
Get an iterator to the end of the patch references.
ReferenceIterator referencesBegin() const
Get an iterator to the beginning of the patch references.
Store and operate on date (time_t).
Query class for Patch issue references like bugzilla and security issues the patch is supposed to fix...
SeverityFlag severityFlag() const
Severity string mapped to an enum.
std::string href() const
Url or pointer where to find more information.
DEFINE_PTR_TYPE(Application)
bool interactive() const
Is the patch installation interactive? (does it need user input?)
sat::SolvableSet Contents
std::string message(const Locale &lang_r=Locale()) const
Information or warning to be displayed to the user.
bool isCategory(const std::string &category_r) const
Whether this patch's category matches category_r.
Patch(const sat::Solvable &solvable_r)
Ctor.
ZYPP_DECLARE_FLAGS(Categories, Category)
TraitsType::constPtrType constPtr
Base for resolvable objects.
std::string id() const
The id of the reference.
Contents contents() const
The collection of packages associated with this patch.
intrusive_ptr< TRes > PtrType
InteractiveFlags interactiveFlags() const
Get the InteractiveFlags of this Patch.
'Language[_Country]' codes.
InteractiveFlag
Flags defining if and why this patch is interactive.
friend class boost::iterator_core_access
bool rebootSuggested() const
Does the system need to reboot to finish the update process?
Date timestamp() const
Issue date time.
bool restartSuggested() const
Does the patch affect the package manager itself? restart is suggested then.
bool isCategory(const TContainer &categories_r) const
bool isSeverity(const TContainer &severities_r) const
Easy-to use interface to the ZYPP dependency resolver.
std::string category() const
Patch category (recommended, security,...)
bool isSeverity(const std::string &severity_r) const
Whether this patch's severity matches severity_r.
bool interactiveWhenIgnoring(InteractiveFlags flags_r=NoFlags) const
Is the patch still interactive when ignoring this flags?
Solvable satSolvable() const
Return the corresponding sat::Solvable.
std::string type() const
Type of the reference.
Solvable set wrapper to allow adding additional convenience iterators.