libzypp
10.5.0
|
#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.
bool zypp::Pattern::userVisible | ( | ) | const |
Definition at line 187 of file Pattern.cc.
Definition at line 190 of file Pattern.cc.
Pathname zypp::Pattern::icon | ( | ) | const |
Definition at line 193 of file Pattern.cc.
Pathname zypp::Pattern::script | ( | ) | const |
Definition at line 196 of file Pattern.cc.
std::string zypp::Pattern::order | ( | ) | const |
Definition at line 199 of file Pattern.cc.
Pattern::NameList zypp::Pattern::includes | ( | ) | const |
Ui hint: included patterns.
Definition at line 202 of file Pattern.cc.
Pattern::NameList zypp::Pattern::extends | ( | ) | const |
Ui hint: patterns this one extends.
Definition at line 205 of file Pattern.cc.
Pattern::Contents zypp::Pattern::core | ( | ) | const |
Ui hint: Required Packages.
Definition at line 208 of file Pattern.cc.
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.
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.
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.