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

Public Types | |
| typedef std::list< PkgRelation > | PkgRelList_type |
| typedef PkgRelList_type::iterator | PkgRelList_iterator |
| typedef PkgRelList_type::const_iterator | PkgRelList_const_iterator |
| typedef Provides_iterator | Provides_const_iterator |
Public Member Functions | |
| PMSolvable (const PkgName &name, const PkgEdition &edition, const PkgArch &arch) | |
| virtual | ~PMSolvable () |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
| const PkgRelation & | addProvides (const PkgName name) |
| const PkgRelation & | addProvides (const char *name) |
| const PkgRelList_type & | setProvides (const PkgRelList_type &provides) |
| set provides list | |
| const PkgRelList_type & | setRequires (const PkgRelList_type &requires) |
| set requires list | |
| const PkgRelList_type & | addPreRequires (PkgRelList_type &prerequires) |
| const PkgRelList_type & | setObsoletes (const PkgRelList_type &obsoletes) |
| const PkgRelList_type & | setConflicts (const PkgRelList_type &conflicts) |
| const PkgRelation & | addRequires (const PkgRelation &r) |
| Provides_iterator | all_provides_begin () const |
| Provides_iterator | all_provides_end () const |
| PkgRelation | self_provides () const |
| bool | doesProvide (const PkgRelation &rel) const |
| bool | doesObsolete (const constPMSolvablePtr &item_r) const |
| const PkgName & | name () const |
| const PkgEdition & | edition () const |
| const PkgArch & | arch () const |
| const std::string & | version () const |
| const std::string & | release () const |
| std::string | nameEd () const |
| std::string | nameEdArch () const |
| const PkgRelList_type & | requires () const |
| PkgRelList_type | prerequires () const |
| const PkgRelList_type & | conflicts () const |
| const PkgRelList_type & | provides () const |
| const PkgRelList_type & | obsoletes () const |
Static Public Member Functions | |
| static std::list< std::string > | PkgRelList2StringList (const PkgRelList_type &rellist_r) |
| static PkgRelList_type | StringList2PkgRelList (const std::list< std::string > &relationlist) |
Protected Attributes | |
| PkgName | _name |
| PkgEdition | _edition |
| PkgArch | _arch |
| PkgRelList_type | _requires |
| PkgRelList_type | _conflicts |
| PkgRelList_type | _provides |
| PkgRelList_type | _obsoletes |
Private Member Functions | |
| REP_BODY (PMSolvable) | |
| void | traceFileRel (const PkgRelation &rel_r) const |
| void | traceFileRel (const PkgRelList_type &rellist_r) const |
Classes | |
| class | Provides_iterator |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
constructor
|
|
|
|
|
|
add prerequires flag for requires
|
|
|
add a provides: by const char * |
|
|
add a provides: by PkgName |
|
|
add a requires relation to the front |
|
|
iterator for stepping through all provided names (including the auto-providing of the package name) |
|
|
|
|
|
|
|
|
|
|
|
True if this obsoletes Solvable |
|
|
check if Solvable provides a relation
|
|
|
print package data in ASCII summary format Reimplemented from CountedRep. Reimplemented in PMLanguage, PMObject, PMPackage, PMSelection, and PMYouPatch. |
|
|
|
|
|
access methods for components |
|
|
Returns "name-version-release" string |
|
|
Returns "name-version-release.arch" string |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
access methods for dependencies use PkgRelList2StringList to convert them to list<string> |
|
|
|
|
|
set conflicts list might break PkgSets if used on existing packages? |
|
|
set obsoletes list might break PkgSets if used on existing packages? |
|
|
set provides list might break PkgSets if used on existing packages? |
|
|
set requires list might break PkgSets if used on existing packages? |
|
|
|
|
|
|
|
|
Hack to let InstTarget lookup required and conflicting file relations. |
|
|
helper functions for edition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4