zypp::Patch Class Reference

Class representing a patch. More...

#include <Patch.h>

Inheritance diagram for zypp::Patch:
[legend]

List of all members.

Public Types

typedef
detail::PatchImplIf 
Impl
typedef Patch Self
typedef ResTraits< SelfTraitsType
typedef
TraitsType::PtrType 
Ptr
typedef
TraitsType::constPtrType 
constPtr
typedef Impl::AtomList AtomList

Public Member Functions

std::string id () const
 Patch ID.
Date timestamp () const
 Patch time stamp.
std::string category () const
 Patch category (recommended, security,.
bool reboot_needed () const
 Does the system need to reboot to finish the update process?
bool affects_pkg_manager () const
 Does the patch affect the package manager itself?
AtomList atoms () const
 The list of all atoms building the patch.
bool interactive () const
 Is the patch installation interactive? (does it need user input?).
void mark_atoms_to_freshen (bool freshen) ZYPP_DEPRECATED
bool any_atom_selected () ZYPP_DEPRECATED
void select () ZYPP_DEPRECATED

Protected Member Functions

 Patch (const NVRAD &nvrad_r)
 Ctor.
virtual ~Patch ()
 Dtor.

Private Member Functions

virtual Implpimpl ()=0
 Access implementation.
virtual const Implpimpl () const =0
 Access implementation.


Detailed Description

Class representing a patch.

Todo:
Patch::atoms can't be const, if Impl does not provide a const method. Check it.

Definition at line 32 of file Patch.h.


Member Typedef Documentation

typedef detail::PatchImplIf zypp::Patch::Impl

Reimplemented from zypp::ResObject.

Definition at line 35 of file Patch.h.

typedef Patch zypp::Patch::Self

Reimplemented from zypp::ResObject.

Definition at line 36 of file Patch.h.

typedef ResTraits<Self> zypp::Patch::TraitsType

Reimplemented from zypp::ResObject.

Definition at line 37 of file Patch.h.

typedef TraitsType::PtrType zypp::Patch::Ptr

Reimplemented from zypp::ResObject.

Definition at line 38 of file Patch.h.

typedef TraitsType::constPtrType zypp::Patch::constPtr

Reimplemented from zypp::ResObject.

Definition at line 39 of file Patch.h.

typedef Impl::AtomList zypp::Patch::AtomList

Definition at line 42 of file Patch.h.


Constructor & Destructor Documentation

zypp::Patch::Patch ( const NVRAD nvrad_r  )  [protected]

Ctor.

Definition at line 27 of file Patch.cc.

zypp::Patch::~Patch (  )  [protected, virtual]

Dtor.

Definition at line 36 of file Patch.cc.


Member Function Documentation

std::string zypp::Patch::id (  )  const

Patch ID.

Definition at line 45 of file Patch.cc.

References pimpl().

Date zypp::Patch::timestamp (  )  const

Patch time stamp.

Definition at line 48 of file Patch.cc.

References pimpl().

std::string zypp::Patch::category (  )  const

Patch category (recommended, security,.

..)

Definition at line 51 of file Patch.cc.

References pimpl().

bool zypp::Patch::reboot_needed (  )  const

Does the system need to reboot to finish the update process?

Definition at line 54 of file Patch.cc.

References pimpl().

bool zypp::Patch::affects_pkg_manager (  )  const

Does the patch affect the package manager itself?

Definition at line 57 of file Patch.cc.

References pimpl().

Patch::AtomList zypp::Patch::atoms (  )  const

The list of all atoms building the patch.

Definition at line 60 of file Patch.cc.

References pimpl().

bool zypp::Patch::interactive (  )  const

Is the patch installation interactive? (does it need user input?).

Definition at line 63 of file Patch.cc.

References pimpl().

void zypp::Patch::mark_atoms_to_freshen ( bool  freshen  ) 

Definition at line 68 of file Patch.cc.

bool zypp::Patch::any_atom_selected (  ) 

Definition at line 70 of file Patch.cc.

void zypp::Patch::select (  ) 

Definition at line 72 of file Patch.cc.

virtual Impl& zypp::Patch::pimpl (  )  [private, pure virtual]

Access implementation.

Implements zypp::ResObject.

Referenced by affects_pkg_manager(), atoms(), category(), id(), interactive(), reboot_needed(), and timestamp().

virtual const Impl& zypp::Patch::pimpl (  )  const [private, pure virtual]

Access implementation.

Implements zypp::ResObject.


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:15 2007 for libzypp by  doxygen 1.5.3