#include <PatternImpl.h>
Public Member Functions | |
| PatternImpl (const data::RecordId &id, repo::cached::RepoImpl::Ptr repository_r) | |
| Default ctor. | |
| virtual TranslatedText | summary () const |
| Short label. | |
| virtual TranslatedText | description () const |
| Long description. | |
| virtual TranslatedText | insnotify () const |
| virtual TranslatedText | delnotify () const |
| virtual TranslatedText | licenseToConfirm () const |
| virtual Vendor | vendor () const |
| virtual ByteCount | size () const |
| Size. | |
| virtual bool | installOnly () const |
| virtual Date | buildtime () const |
| virtual Date | installtime () const |
Time of installation, or 0. | |
| virtual bool | isDefault () const |
| virtual bool | userVisible () const |
| virtual TranslatedText | category () const |
| virtual Pathname | icon () const |
| virtual Pathname | script () const |
| virtual Label | order () const |
| virtual const CapSet & | includes () const |
| virtual const CapSet & | extends () const |
| virtual Repository | repository () const |
| Backlink to the source providing this. | |
Private Member Functions | |
| void | initUiCapSetFromAttr (CapSet &caps_r, const cache::Attribute &attr_r) const |
| Lazy init _includes and _extends which are stored as plain stringlist. | |
Private Attributes | |
| repo::cached::RepoImpl::Ptr | _repository |
| data::RecordId | _id |
| scoped_ptr< CapSet > | _includes |
| scoped_ptr< CapSet > | _extends |
Definition at line 38 of file PatternImpl.h.
| zypp::repo::cached::PatternImpl::PatternImpl | ( | const data::RecordId & | id, | |
| repo::cached::RepoImpl::Ptr | repository_r | |||
| ) |
| TranslatedText zypp::repo::cached::PatternImpl::summary | ( | ) | const [virtual] |
Short label.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 54 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectSummary().
| TranslatedText zypp::repo::cached::PatternImpl::description | ( | ) | const [virtual] |
Long description.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 59 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectDescription().
| TranslatedText zypp::repo::cached::PatternImpl::insnotify | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 64 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectInsnotify().
| TranslatedText zypp::repo::cached::PatternImpl::delnotify | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 69 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectDelnotify().
| TranslatedText zypp::repo::cached::PatternImpl::licenseToConfirm | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 74 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectLicenseToConfirm().
| Vendor zypp::repo::cached::PatternImpl::vendor | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 79 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectVendor().
| ByteCount zypp::repo::cached::PatternImpl::size | ( | ) | const [virtual] |
Size.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 85 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectInstalledSize().
| bool zypp::repo::cached::PatternImpl::installOnly | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 90 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectInstallOnly().
| Date zypp::repo::cached::PatternImpl::buildtime | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 95 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrResObjectBuildTime().
| Date zypp::repo::cached::PatternImpl::installtime | ( | ) | const [virtual] |
Time of installation, or 0.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 100 of file PatternImpl.cc.
| bool zypp::repo::cached::PatternImpl::isDefault | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PatternImplIf.
Definition at line 109 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrPatternIsDefault().
| bool zypp::repo::cached::PatternImpl::userVisible | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PatternImplIf.
Definition at line 114 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrPatternUserVisible().
| TranslatedText zypp::repo::cached::PatternImpl::category | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PatternImplIf.
Definition at line 119 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrPatternCategory().
| Pathname zypp::repo::cached::PatternImpl::icon | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PatternImplIf.
Definition at line 124 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrPatternIcon().
| Pathname zypp::repo::cached::PatternImpl::script | ( | ) | const [virtual] |
| Label zypp::repo::cached::PatternImpl::order | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PatternImplIf.
Definition at line 136 of file PatternImpl.cc.
References _id, _repository, and zypp::cache::attrPatternOrder().
| const CapSet & zypp::repo::cached::PatternImpl::includes | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PatternImplIf.
Definition at line 152 of file PatternImpl.cc.
References _includes, zypp::cache::attrPatternUiIncludes(), and initUiCapSetFromAttr().
| const CapSet & zypp::repo::cached::PatternImpl::extends | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PatternImplIf.
Definition at line 163 of file PatternImpl.cc.
References _extends, zypp::cache::attrPatternUiExtends(), and initUiCapSetFromAttr().
| Repository zypp::repo::cached::PatternImpl::repository | ( | ) | const [virtual] |
Backlink to the source providing this.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 45 of file PatternImpl.cc.
References _repository.
| void zypp::repo::cached::PatternImpl::initUiCapSetFromAttr | ( | CapSet & | caps_r, | |
| const cache::Attribute & | attr_r | |||
| ) | const [private] |
Lazy init _includes and _extends which are stored as plain stringlist.
Definition at line 142 of file PatternImpl.cc.
References _id, _repository, and for_.
Referenced by extends(), and includes().
Definition at line 72 of file PatternImpl.h.
Referenced by buildtime(), category(), delnotify(), description(), icon(), initUiCapSetFromAttr(), insnotify(), installOnly(), isDefault(), licenseToConfirm(), order(), repository(), size(), summary(), userVisible(), and vendor().
Definition at line 73 of file PatternImpl.h.
Referenced by buildtime(), category(), delnotify(), description(), icon(), initUiCapSetFromAttr(), insnotify(), installOnly(), isDefault(), licenseToConfirm(), order(), size(), summary(), userVisible(), and vendor().
scoped_ptr<CapSet> zypp::repo::cached::PatternImpl::_includes [mutable, private] |
scoped_ptr<CapSet> zypp::repo::cached::PatternImpl::_extends [mutable, private] |
1.5.3