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

Public Member Functions | |
| bool | hasLicenseToConfirm () const |
| void | markLicenseConfirmed () |
| void | markLicenseUnconfirmed () |
| virtual std::string | summary () const =0 |
| virtual std::list< std::string > | description () const =0 |
| virtual std::list< std::string > | insnotify () const =0 |
| virtual std::list< std::string > | delnotify () const =0 |
| virtual FSize | size () const =0 |
| virtual bool | providesSources () const =0 |
| virtual std::string | instSrcLabel () const =0 |
| virtual Vendor | instSrcVendor () const =0 |
| virtual unsigned | instSrcRank () const =0 |
| PMObject (const PkgName &name_r, const PkgEdition &edition_r, const PkgArch &arch_r) | |
| virtual | ~PMObject () |
| bool | hasSelectable () const |
| PMSelectablePtr | getSelectable () const |
| bool | isInstalledObj () const |
| bool | isCandidateObj () const |
| bool | isAvailableOnly () const |
| PMObjectPtr | getInstalledObj () const |
| PMObjectPtr | getCandidateObj () const |
| bool | hasInstalledObj () const |
| bool | hasCandidateObj () const |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
Private Member Functions | |
| REP_BODY (PMObject) | |
| virtual bool | prefererCandidate () const |
Private Attributes | |
| PMSelectablePtr | _selectable |
| bool | _license_to_confirm |
Friends | |
| class | PMManager |
| class | PMSelectable |
|
||||||||||||||||
|
|
|
|
|
|
|
Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
Used by ostream::operator<< to print some debug lines Reimplemented from PMSolvable. Reimplemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
Convenience method: Retrieve the candidate instance of this selectable. This may be a brother of this object or this object itself or 0 (if there is no candidate instance or if this object doesn't have a selectable - in which case something has gone wrong badly anyway). |
|
|
Convenience method: Retrieve the installed instance of this selectable. This may be a brother of this object or this object itself or 0 (if there is no installed instance or if this object doesn't have a selectable - in which case something has gone wrong badly anyway). |
|
|
Return the managing Selectable. |
|
|
Convenience method: Check if there is any candidate instance of this selectable - this instance or any of its brothers. Not to be confused with isCandidateObj() ! |
|
|
Convenience method: Check if there is any installed instance of this selectable - this instance or any of its brothers. Not to be confused with isInstalledObj() ! |
|
|
check if the license of the package was confirmed
|
|
|
Return true if the Object is linked to a Selectable. This is true if the Object is under controll of a Manager. |
|
|
Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
Short for neither isInstalledObj nor isCandidateObj. Thus the Object is in the Selectables list of available Objects (from an InstSrc), but not considered to be the best choice for an installation. |
|
|
Return true if this is the Selectables CandidateObj (from an InstSrc). Among all available Objects, this is considered to be the best choice for an installation. Not to be confused with hasCandidateObj() ! |
|
|
Return true if this is the Selectables InstalledObj (on InstTartget). The one actually installed on the target system. Not to be confused with hasInstalledObj() ! |
|
|
mark the license of the package as confirmed |
|
|
mark the license of the package as unconfirmed |
|
|
Internally used by PMSelectable. InstSrc may overwrite candidate selection rules under certain conditions. Reimplemented in PMPackage. |
|
|
Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
|
|
|
Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
PMObject attributes that should be realized by each concrete Object. Mostly because the UI likes to have some data to show. If there are no data a concrete Object could provide, call PMObjects default implementation. Implemented in PMLanguage, PMPackage, PMSelection, and PMYouPatch. |
|
|
|
|
|
|
|
|
Mark if the license was accepted by the user In order not to ask again and again... Defaults to 'false', i.e. no licence to confirm. |
|
|
|
1.4.4