1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Package.cc
12 #include "zypp/Package.h"
16 ///////////////////////////////////////////////////////////////////
18 { /////////////////////////////////////////////////////////////////
20 ///////////////////////////////////////////////////////////////////
22 // METHOD NAME : Package::Package
25 Package::Package( const NVRAD & nvrad_r )
26 : ResObject( TraitsType::kind, nvrad_r )
29 ///////////////////////////////////////////////////////////////////
31 // METHOD NAME : Package::~Package
37 ///////////////////////////////////////////////////////////////////
39 // Package interface forwarded to implementation
41 ///////////////////////////////////////////////////////////////////
43 Changelog Package::changelog() const
44 { return pimpl().changelog(); }
46 /** Time of package installation */
47 Date Package::installtime() const
48 { return pimpl().installtime(); }
51 Date Package::buildtime() const
52 { return pimpl().buildtime(); }
55 std::string Package::buildhost() const
56 { return pimpl().buildhost(); }
59 std::string Package::distribution() const
60 { return pimpl().distribution(); }
63 Vendor Package::vendor() const
64 { return pimpl().vendor(); }
67 Label Package::license() const
68 { return pimpl().license(); }
71 std::string Package::packager() const
72 { return pimpl().packager(); }
75 PackageGroup Package::group() const
76 { return pimpl().group(); }
79 /** Don't ship it as class Url, because it might be
80 * in fact anything but a legal Url. */
81 std::string Package::url() const
82 { return pimpl().url(); }
85 std::string Package::os() const
86 { return pimpl().os(); }
89 Text Package::prein() const
90 { return pimpl().prein(); }
93 Text Package::postin() const
94 { return pimpl().postin(); }
97 Text Package::preun() const
98 { return pimpl().preun(); }
101 Text Package::postun() const
102 { return pimpl().postun(); }
105 ByteCount Package::sourcesize() const
106 { return pimpl().sourcesize(); }
109 ByteCount Package::archivesize() const
110 { return pimpl().archivesize(); }
113 Text Package::authors() const
114 { return pimpl().authors(); }
117 Text Package::filenames() const
118 { return pimpl().filenames(); }
121 License Package::licenseToConfirm() const
122 { return pimpl().licenseToConfirm(); }
125 Pathname Package::plainRpm() const
126 { return pimpl().location(); }
129 std::list<PatchRpm> Package::patchRpms() const
130 { return pimpl().patchRpms(); }
133 std::list<DeltaRpm> Package::deltaRpms() const
134 { return pimpl().deltaRpms(); }
136 /////////////////////////////////////////////////////////////////
138 ///////////////////////////////////////////////////////////////////