#include <PMYouPatch.h>
Inheritance diagram for PMYouPatch:

Public Types | |
| enum | Kind { kind_invalid = 0, kind_yast = 1, kind_security = 2, kind_recommended = 4, kind_optional = 8, kind_document = 16, kind_patchlevel = 32, kind_all = 63 } |
Public Member Functions | |
| void | setKind (Kind kind) |
| Kind | kind () const |
| std::string | kindLabel () |
| void | setShortDescription (const std::string &str) |
| std::string | shortDescription () const |
| void | setLongDescription (const std::string &str) |
| std::string | longDescription () const |
| void | setPreInformation (const std::string &str) |
| std::string | preInformation () const |
| void | setPostInformation (const std::string &str) |
| std::string | postInformation () const |
| void | setUpdateOnlyInstalled (bool v) |
| bool | updateOnlyInstalled () const |
| void | setUpdateOnlyNew (bool v) |
| bool | updateOnlyNew () const |
| void | setPreScript (const std::string &preScript) |
| std::string | preScript () const |
| void | setPostScript (const std::string &postScript) |
| std::string | postScript () const |
| void | setPackages (const std::list< PMPackagePtr > &p) |
| std::list< PMPackagePtr > | packages () const |
| void | addPackage (const PMPackagePtr &pkg) |
| void | clearPackages () |
| void | setLocalFile (const Pathname &localFile) |
| Pathname | localFile () const |
| void | setPatchSize (const FSize &size) |
| FSize | patchSize () const |
| std::string | fullName () const |
| void | setPackagesInstalled (bool installed) |
| bool | packagesInstalled () const |
| bool | installable () const |
| void | setFiles (const std::list< PMYouFile > &files) |
| void | addFile (const PMYouFile &file) |
| std::list< PMYouFile > | files () const |
| void | setProduct (const PMYouProductPtr &) |
| PMYouProductPtr | product () const |
| void | setSkipped (bool s) |
| bool | skipped () const |
| bool | isSelected () const |
| void | setFileName (const std::string &n) |
| std::string | fileName () const |
| virtual std::string | summary () const |
| virtual std::list< std::string > | description () const |
| virtual std::list< std::string > | insnotify () const |
| virtual std::list< std::string > | delnotify () const |
| virtual FSize | size () const |
| virtual bool | providesSources () const |
| virtual std::string | instSrcLabel () const |
| virtual Vendor | instSrcVendor () const |
| virtual unsigned | instSrcRank () const |
| PMYouPatch (const PkgName &name_r, const PkgEdition &edition_r, const PkgArch &arch_r) | |
| virtual | ~PMYouPatch () |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
Static Public Member Functions | |
| static std::string | kindLabel (Kind kind) |
Private Member Functions | |
| REP_BODY (PMYouPatch) | |
Private Attributes | |
| std::string | _shortDescription |
| std::string | _longDescription |
| std::string | _preInformation |
| std::string | _postInformation |
| Kind | _kind |
| bool | _updateOnlyInstalled |
| bool | _updateOnlyNew |
| std::string | _preScript |
| std::string | _postScript |
| FSize | _patchSize |
| std::list< PMPackagePtr > | _packages |
| Pathname | _localFile |
| std::string | _fileName |
| bool | _packagesInstalled |
| std::list< PMYouFile > | _files |
| PMYouProductPtr | _product |
| bool | _skipped |
|
|
Definitions for the kind of the patch. |
|
||||||||||||||||
|
|
|
|
|
|
|
Add extra file to patch. |
|
|
Add a package to this patch. |
|
|
Clear package list. |
|
|
Implements PMObject. |
|
|
Implements PMObject. |
|
|
Used by ostream::operator<< to print some debug lines Reimplemented from PMObject. |
|
|
Return name of patch file. |
|
|
Return list of YOU patch extra files. |
|
|
Return full name in the format "name-version-release". |
|
|
Implements PMObject. |
|
|
Return, if patch is installable on current system. |
|
|
Implements PMObject. |
|
|
Implements PMObject. |
|
|
Implements PMObject. |
|
|
Return if the patch is selected for installation. |
|
|
Return kind attribute. |
|
|
Return translated kind label. |
|
|
Return translated kind label. |
|
|
Return name of file where patch info is stored on local system. |
|
|
Return short description attribute. |
|
|
Return list of all packages belonging to this patch. |
|
|
Return, if patch contains installed patches. |
|
|
Return size of patch. |
|
|
Return post information attribute. |
|
|
Return name of script which is executed after installation of patch. |
|
|
Return pre information attribute. |
|
|
Return name of script which is executed before installation of patch. |
|
|
Return product this patch applies to. |
|
|
Implements PMObject. |
|
|
|
|
|
Set name of patch file. |
|
|
Set list of extra files. |
|
|
Set kind attribute. |
|
|
Set name of file where patch info is stored on local system. |
|
|
Set short description attribute. |
|
|
Set list of packages belonging to this patch. |
|
|
Set flag indicating, if the patch contains packages which are already installed in some version. |
|
|
Set size of patch. |
|
|
Set post information attribute. |
|
|
Set name of script which is executed after installation of patch. |
|
|
Set pre information attribute. |
|
|
Set name of script which is executed before installation of patch. |
|
|
Set product this patch applies to. |
|
|
Set short description attribute. |
|
|
Set if the patch has been skipped by the user. |
|
|
Set if only installed packages should be updated. |
|
|
Set if only new packages should be installed. |
|
|
Return short description attribute. |
|
|
Implements PMObject. |
|
|
Return if the patch has been skipped by the user. |
|
|
PMObject attributes that should be realized by each concrete Object.
Implements PMObject. |
|
|
Return if only installed packages should be updated. |
|
|
Return if only new packages should be New. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4