#include <PackageImpl.h>
Public Member Functions | |
| PackageImpl (const data::RecordId &id, repo::cached::RepoImpl::Ptr repository_r) | |
| Default ctor. | |
| virtual unsigned | mediaNr () const |
| Overloaded ResObjectImpl attribute. | |
| virtual ByteCount | downloadSize () const |
| Overloaded ResObjectImpl attribute. | |
| 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 std::string | buildhost () const |
| virtual std::string | distribution () const |
| virtual Label | license () const |
| virtual std::string | packager () const |
| virtual PackageGroup | group () const |
| virtual Keywords | keywords () const |
| virtual Changelog | changelog () const |
| virtual std::string | url () const |
| virtual std::string | os () const |
| virtual Text | prein () const |
| virtual Text | postin () const |
| virtual Text | preun () const |
| virtual Text | postun () const |
| virtual ByteCount | sourcesize () const |
| virtual const DiskUsage & | diskusage () const |
| Disk usage per directory A common attribute, although mostly packages require noticeable disk space. | |
| virtual std::list < std::string > | authors () const |
| virtual std::list < std::string > | filenames () const |
| virtual OnMediaLocation | location () const |
| virtual std::string | sourcePkgName () const |
| Name of the source rpm this package was built from. | |
| virtual Edition | sourcePkgEdition () const |
| Edition of the source rpm this package was built from. | |
| virtual Repository | repository () const |
| Backlink to the source providing this. | |
Private Attributes | |
| repo::cached::RepoImpl::Ptr | _repository |
| data::RecordId | _id |
| DefaultIntegral < unsigned,(unsigned)-1 > | _mnr |
| scoped_ptr< DiskUsage > | _diskusage |
Definition at line 28 of file PackageImpl.h.
| zypp::repo::cached::PackageImpl::PackageImpl | ( | const data::RecordId & | id, | |
| repo::cached::RepoImpl::Ptr | repository_r | |||
| ) |
| unsigned zypp::repo::cached::PackageImpl::mediaNr | ( | ) | const [virtual] |
Overloaded ResObjectImpl attribute.
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 137 of file PackageImpl.cc.
| ByteCount zypp::repo::cached::PackageImpl::downloadSize | ( | ) | const [virtual] |
Overloaded ResObjectImpl attribute.
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 146 of file PackageImpl.cc.
| TranslatedText zypp::repo::cached::PackageImpl::summary | ( | ) | const [virtual] |
Short label.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 50 of file PackageImpl.cc.
References zypp::cache::attrResObjectSummary().
| TranslatedText zypp::repo::cached::PackageImpl::description | ( | ) | const [virtual] |
Long description.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 55 of file PackageImpl.cc.
References zypp::cache::attrResObjectDescription().
| TranslatedText zypp::repo::cached::PackageImpl::insnotify | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 60 of file PackageImpl.cc.
References zypp::cache::attrResObjectInsnotify().
| TranslatedText zypp::repo::cached::PackageImpl::delnotify | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 65 of file PackageImpl.cc.
References zypp::cache::attrResObjectDelnotify().
| TranslatedText zypp::repo::cached::PackageImpl::licenseToConfirm | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 70 of file PackageImpl.cc.
References zypp::cache::attrResObjectLicenseToConfirm().
| Vendor zypp::repo::cached::PackageImpl::vendor | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 75 of file PackageImpl.cc.
References zypp::cache::attrResObjectVendor().
| ByteCount zypp::repo::cached::PackageImpl::size | ( | ) | const [virtual] |
Size.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 80 of file PackageImpl.cc.
References zypp::cache::attrResObjectInstalledSize().
| bool zypp::repo::cached::PackageImpl::installOnly | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 85 of file PackageImpl.cc.
References zypp::cache::attrResObjectInstallOnly().
| Date zypp::repo::cached::PackageImpl::buildtime | ( | ) | const [virtual] |
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 90 of file PackageImpl.cc.
References zypp::cache::attrResObjectBuildTime().
| Date zypp::repo::cached::PackageImpl::installtime | ( | ) | const [virtual] |
Time of installation, or 0.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 95 of file PackageImpl.cc.
| std::string zypp::repo::cached::PackageImpl::buildhost | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 100 of file PackageImpl.cc.
References zypp::cache::attrPackageBuildhost().
| std::string zypp::repo::cached::PackageImpl::distribution | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 105 of file PackageImpl.cc.
References zypp::cache::attrPackageDistribution().
| Label zypp::repo::cached::PackageImpl::license | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 110 of file PackageImpl.cc.
References zypp::cache::attrPackageLicense().
| std::string zypp::repo::cached::PackageImpl::packager | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 115 of file PackageImpl.cc.
References zypp::cache::attrPackagePackager().
| PackageGroup zypp::repo::cached::PackageImpl::group | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 120 of file PackageImpl.cc.
References zypp::cache::attrPackageGroup().
| PackageImpl::Keywords zypp::repo::cached::PackageImpl::keywords | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 125 of file PackageImpl.cc.
References zypp::cache::attrPackageKeywords(), and zypp::detail::PackageImplIf::keywords().
| Changelog zypp::repo::cached::PackageImpl::changelog | ( | ) | const [virtual] |
| std::string zypp::repo::cached::PackageImpl::url | ( | ) | const [virtual] |
Don't ship it as class Url, because it might be in fact anything but a legal Url.
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 158 of file PackageImpl.cc.
References zypp::cache::attrPackageUrl().
| std::string zypp::repo::cached::PackageImpl::os | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 163 of file PackageImpl.cc.
References zypp::cache::attrPackageOperatingSystem().
| Text zypp::repo::cached::PackageImpl::prein | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 168 of file PackageImpl.cc.
References zypp::cache::attrPackagePrein().
| Text zypp::repo::cached::PackageImpl::postin | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 173 of file PackageImpl.cc.
References zypp::cache::attrPackagePostin().
| Text zypp::repo::cached::PackageImpl::preun | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 178 of file PackageImpl.cc.
References zypp::cache::attrPackagePreun().
| Text zypp::repo::cached::PackageImpl::postun | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 183 of file PackageImpl.cc.
References zypp::cache::attrPackagePostun().
| ByteCount zypp::repo::cached::PackageImpl::sourcesize | ( | ) | const [virtual] |
| const DiskUsage & zypp::repo::cached::PackageImpl::diskusage | ( | ) | const [virtual] |
Disk usage per directory A common attribute, although mostly packages require noticeable disk space.
An e.g product could try to reserve a certain ammount of diskspace by providing DiskUsage data.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 193 of file PackageImpl.cc.
References zypp::ByteCount::blocks(), zypp::ByteCount::K, and zypp::detail::ResObjectImplIf::size().
| list< string > zypp::repo::cached::PackageImpl::authors | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 218 of file PackageImpl.cc.
References zypp::cache::attrPackageAuthors(), and zypp::detail::PackageImplIf::authors().
| std::list< std::string > zypp::repo::cached::PackageImpl::filenames | ( | ) | const [virtual] |
| OnMediaLocation zypp::repo::cached::PackageImpl::location | ( | ) | const [virtual] |
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 151 of file PackageImpl.cc.
References queryOnMediaLocation.
| std::string zypp::repo::cached::PackageImpl::sourcePkgName | ( | ) | const [virtual] |
Name of the source rpm this package was built from.
Empty if unknown.
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 230 of file PackageImpl.cc.
References zypp::cache::attrPackageSourcePkgName().
| Edition zypp::repo::cached::PackageImpl::sourcePkgEdition | ( | ) | const [virtual] |
Edition of the source rpm this package was built from.
Empty if unknown.
Reimplemented from zypp::detail::PackageImplIf.
Definition at line 235 of file PackageImpl.cc.
References zypp::cache::attrPackageSourcePkgEdition().
| Repository zypp::repo::cached::PackageImpl::repository | ( | ) | const [virtual] |
Backlink to the source providing this.
Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 41 of file PackageImpl.cc.
Definition at line 83 of file PackageImpl.h.
Definition at line 84 of file PackageImpl.h.
DefaultIntegral<unsigned,(unsigned)-1> zypp::repo::cached::PackageImpl::_mnr [mutable, private] |
Definition at line 86 of file PackageImpl.h.
scoped_ptr<DiskUsage> zypp::repo::cached::PackageImpl::_diskusage [mutable, private] |
Definition at line 87 of file PackageImpl.h.
1.5.3