167 class ReferenceIterator;
213 Patch::ReferenceIterator
214 , sat::LookupAttr::iterator
216 , boost::forward_traversal_tag
228 std::string
id()
const;
232 std::string
href()
const;
236 std::string
title()
const;
241 std::string
type()
const;
258 #endif // ZYPP_PATCH_H
A Solvable object within the sat Pool.
SeverityFlag
Possible severity levels for (security) patches.
std::string type() const
Type of the reference.
ResTraits< Self > TraitsType
std::string href() const
Url or pointer where to find more information.
Date timestamp() const
Issue date time.
Category categoryEnum() const
Patch category as enum of wellknown categories.
std::string category() const
Patch category (recommended, security,...)
Contents contents() const
The collection of packages associated with this patch.
Class representing a patch.
bool interactiveWhenIgnoring(InteractiveFlags flags_r=NoFlags) const
Is the patch still interactive when ignoring this flags?
SeverityFlag severityFlag() const
Severity string mapped to an enum.
Store and operate on date (time_t).
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.
sat::SolvableSet Contents
ReferenceIterator referencesBegin() const
Get an iterator to the beginning of the patch references.
const sat::Solvable & satSolvable() const
Access the corresponding ::Solvable.
Patch(const sat::Solvable &solvable_r)
Ctor.
TraitsType::constPtrType constPtr
Interface base for resolvable objects (common data).
Date buildtime() const
build time of the resolvable
std::string asString(const Patch::SeverityFlag &obj)
InteractiveFlag
Flags defining if and why this patch is interactive.
std::string message(const Locale &lang_r=Locale()) const
Information or warning to be displayed to the user.
bool reloginSuggested() const
Does the patch needs the user to relogin to take effect? relogin is suggested then.
friend class boost::iterator_core_access
bool interactive() const
Is the patch installation interactive? (does it need user input?)
bool rebootSuggested() const
Does the system need to reboot to finish the update process?
ZYPP_DECLARE_FLAGS(InteractiveFlags, InteractiveFlag)
std::string id() const
The id of the reference.
intrusive_ptr< _Res > PtrType
ReferenceIterator referencesEnd() const
Get an iterator to the end of the patch references.
std::string severity() const
Severity string as specified in metadata.
ZYPP_DECLARE_OPERATORS_FOR_FLAGS(FetcherJob::Flags)
bool restartSuggested() const
Does the patch affect the package manager itself? restart is suggested then.
InteractiveFlags interactiveFlags() const
Get the InteractiveFlags of this Patch.
Solvable set wrapper to allow adding additioanal convenience iterators.
intrusive_ptr< const _Res > constPtrType