#include <PatchImplIf.h>
Public Types | |
| typedef Patch | ResType |
| typedef std::list < ResObject::Ptr > | AtomList |
Public Member Functions | |
| virtual std::string | id () const PURE_VIRTUAL |
| Patch ID. | |
| virtual Date | timestamp () const PURE_VIRTUAL |
| Patch time stamp. | |
| virtual std::string | category () const PURE_VIRTUAL |
| Patch category (recommended, security,. | |
| virtual bool | reboot_needed () const PURE_VIRTUAL |
| Does the system need to reboot to finish the update process? | |
| virtual bool | affects_pkg_manager () const PURE_VIRTUAL |
| Does the patch affect the package manager itself? | |
| virtual bool | interactive () const PURE_VIRTUAL |
| Is the patch installation interactive? (does it need user input?). | |
| virtual AtomList | all_atoms () const PURE_VIRTUAL |
| The list of all atoms building the patch. | |
Private Attributes | |
| scoped_ptr< AtomList > | _atomlist |
Definition at line 35 of file PatchImplIf.h.
Definition at line 38 of file PatchImplIf.h.
| typedef std::list<ResObject::Ptr> zypp::detail::PatchImplIf::AtomList |
Definition at line 41 of file PatchImplIf.h.
| std::string zypp::detail::PatchImplIf::id | ( | ) | const [virtual] |
Patch ID.
Reimplemented in zypp::detail::PatchImpl, zypp::repo::cached::PatchImpl, zypp::repo::memory::PatchImpl, and zypp::storage::XMLPatchImpl.
Definition at line 35 of file PatchImplIf.cc.
| Date zypp::detail::PatchImplIf::timestamp | ( | ) | const [virtual] |
Patch time stamp.
Reimplemented in zypp::detail::PatchImpl, zypp::repo::cached::PatchImpl, zypp::repo::memory::PatchImpl, and zypp::storage::XMLPatchImpl.
Definition at line 38 of file PatchImplIf.cc.
| std::string zypp::detail::PatchImplIf::category | ( | ) | const [virtual] |
Patch category (recommended, security,.
..)
Reimplemented in zypp::detail::PatchImpl, zypp::repo::cached::PatchImpl, zypp::repo::memory::PatchImpl, and zypp::storage::XMLPatchImpl.
Definition at line 41 of file PatchImplIf.cc.
| bool zypp::detail::PatchImplIf::reboot_needed | ( | ) | const [virtual] |
Does the system need to reboot to finish the update process?
Reimplemented in zypp::detail::PatchImpl, zypp::repo::cached::PatchImpl, zypp::repo::memory::PatchImpl, and zypp::storage::XMLPatchImpl.
Definition at line 44 of file PatchImplIf.cc.
Referenced by interactive().
| bool zypp::detail::PatchImplIf::affects_pkg_manager | ( | ) | const [virtual] |
Does the patch affect the package manager itself?
Reimplemented in zypp::detail::PatchImpl, zypp::repo::cached::PatchImpl, zypp::repo::memory::PatchImpl, and zypp::storage::XMLPatchImpl.
Definition at line 47 of file PatchImplIf.cc.
| bool zypp::detail::PatchImplIf::interactive | ( | ) | const [virtual] |
Is the patch installation interactive? (does it need user input?).
Definition at line 50 of file PatchImplIf.cc.
References all_atoms(), zypp::TranslatedText::empty(), zypp::detail::ResObjectImplIf::licenseToConfirm(), and reboot_needed().
| PatchImplIf::AtomList zypp::detail::PatchImplIf::all_atoms | ( | ) | const [virtual] |
The list of all atoms building the patch.
Reimplemented in zypp::storage::XMLPatchImpl.
Definition at line 71 of file PatchImplIf.cc.
References _atomlist, zypp::ResStore::begin(), zypp::ResStore::end(), for_, zypp::detail::ResObjectImplIf::hasBackRef(), zypp::hasMatches(), zypp::Dep::PROVIDES, zypp::detail::ResObjectImplIf::repository(), and zypp::Dep::REQUIRES.
Referenced by interactive().
scoped_ptr<AtomList> zypp::detail::PatchImplIf::_atomlist [mutable, private] |
1.5.3