|
libzypp
9.1.2
|
#include <Pattern.h>

Public Types | |
| typedef Pattern | Self |
| typedef ResTraits< Self > | TraitsType |
| typedef TraitsType::PtrType | Ptr |
| typedef TraitsType::constPtrType | constPtr |
| typedef sat::ArrayAttr < IdString, IdString > | NameList |
| typedef sat::SolvableSet | Contents |
Public Member Functions | |
| bool | isDefault () const |
| bool | userVisible () const |
| std::string | category (const Locale &lang_r=Locale()) const |
| Pathname | icon () const |
| Pathname | script () const |
| std::string | order () const |
| NameList | includes () const |
| Ui hint: included patterns. | |
| NameList | extends () const |
| Ui hint: patterns this one extends. | |
| Contents | core () const |
| Ui hint: Required Packages. | |
| Contents | depends () const |
| Ui hint: Dependent packages. | |
| Contents | contents () const |
| The collection of packages associated with this pattern. | |
Protected Member Functions | |
| Pattern (const sat::Solvable &solvable_r) | |
| Ctor. | |
| virtual | ~Pattern () |
| Dtor. | |
Friends | |
| Ptr | make (const sat::Solvable &solvable_r) |
| Directly create a certain kind of ResObject from sat::Solvable. | |
| typedef Pattern zypp::Pattern::Self |
Reimplemented from zypp::ResObject.
| typedef ResTraits<Self> zypp::Pattern::TraitsType |
Reimplemented from zypp::ResObject.
Reimplemented from zypp::ResObject.
Reimplemented from zypp::ResObject.
| zypp::Pattern::Pattern | ( | const sat::Solvable & | solvable_r | ) | [protected] |
Ctor.
Definition at line 166 of file Pattern.cc.
| zypp::Pattern::~Pattern | ( | ) | [protected, virtual] |
Dtor.
Definition at line 175 of file Pattern.cc.
| bool zypp::Pattern::isDefault | ( | ) | const |
Definition at line 184 of file Pattern.cc.
References zypp::sat::SolvAttr::isdefault, and zypp::sat::Solvable::lookupBoolAttribute().
| bool zypp::Pattern::userVisible | ( | ) | const |
Definition at line 187 of file Pattern.cc.
References zypp::sat::SolvAttr::isvisible, and zypp::sat::Solvable::lookupBoolAttribute().
| std::string zypp::Pattern::category | ( | const Locale & | lang_r = Locale() | ) | const |
Definition at line 190 of file Pattern.cc.
References zypp::sat::SolvAttr::category, and zypp::sat::Solvable::lookupStrAttribute().
| Pathname zypp::Pattern::icon | ( | ) | const |
Definition at line 193 of file Pattern.cc.
References zypp::sat::SolvAttr::icon, and zypp::sat::Solvable::lookupStrAttribute().
| Pathname zypp::Pattern::script | ( | ) | const |
Definition at line 196 of file Pattern.cc.
References zypp::sat::Solvable::lookupStrAttribute(), and zypp::sat::SolvAttr::script.
| std::string zypp::Pattern::order | ( | ) | const |
Definition at line 199 of file Pattern.cc.
References zypp::sat::Solvable::lookupStrAttribute(), and zypp::sat::SolvAttr::order.
| Pattern::NameList zypp::Pattern::includes | ( | ) | const |
Ui hint: included patterns.
Definition at line 202 of file Pattern.cc.
References zypp::sat::SolvAttr::includes, and zypp::Resolvable::satSolvable().
| Pattern::NameList zypp::Pattern::extends | ( | ) | const |
Ui hint: patterns this one extends.
Definition at line 205 of file Pattern.cc.
References zypp::sat::SolvAttr::extends, and zypp::Resolvable::satSolvable().
| Pattern::Contents zypp::Pattern::core | ( | ) | const |
Ui hint: Required Packages.
Definition at line 208 of file Pattern.cc.
References zypp::make_filter_begin(), zypp::make_filter_end(), and zypp::Resolvable::requires().
| Pattern::Contents zypp::Pattern::depends | ( | ) | const |
Ui hint: Dependent packages.
This also includes recommended and suugested packages.
Definition at line 217 of file Pattern.cc.
References zypp::Capabilities::begin(), zypp::Capabilities::end(), zypp::make_filter_begin(), zypp::make_filter_end(), zypp::Resolvable::recommends(), zypp::Resolvable::requires(), and zypp::Resolvable::suggests().
| Pattern::Contents zypp::Pattern::contents | ( | ) | const |
The collection of packages associated with this pattern.
This also evaluates the patterns includes/extends relation.
Definition at line 236 of file Pattern.cc.
References for_, and zypp::sat::SolvableSet::get().
| Ptr make | ( | const sat::Solvable & | solvable_r | ) | [friend] |
Directly create a certain kind of ResObject from sat::Solvable.
If the sat::Solvables kind is not appropriate, a NULL pointer is returned.
sat::Solvable s; ResObject::Ptr p( makeResObject( s ) ); ResObject::Ptr q( make<ResObject>( s ) ); Package::Ptr pkg( make<Package>( s ) );
Definition at line 236 of file ResObject.h.
1.7.6.1