SuseTagsPackageImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_SOURCE_SUSETAGSPACKAGEIMPL_H
00013 #define ZYPP_SOURCE_SUSETAGSPACKAGEIMPL_H
00014 
00015 #include "zypp/detail/PackageImplIf.h"
00016 #include "zypp/Source.h"
00017 #include "zypp/DiskUsage.h"
00018 #include "zypp/CheckSum.h"
00019 
00021 namespace zypp
00022 { 
00023 
00024   namespace source
00025   { 
00026     namespace susetags
00027     { 
00028       
00029       DEFINE_PTR_TYPE(SuseTagsImpl);
00030       
00032       //
00033       //        CLASS NAME : PackageImpl
00034       //
00037       struct SuseTagsPackageImpl : public zypp::detail::PackageImplIf
00038       {
00039         SuseTagsPackageImpl(Source_Ref source_r);
00040         virtual ~SuseTagsPackageImpl();
00041 
00044         virtual TranslatedText summary() const;
00045         virtual TranslatedText description() const;
00046         virtual TranslatedText insnotify() const;
00047         virtual TranslatedText delnotify() const;
00048 
00049         virtual CheckSum checksum() const;
00051         virtual Date buildtime() const;
00053         virtual std::string buildhost() const;
00055         virtual Date installtime() const;
00057         virtual std::string distribution() const;
00059         virtual Vendor vendor() const;
00061         virtual Label license() const;
00063         virtual std::string packager() const;
00065         virtual PackageGroup group() const;
00067         virtual Changelog changelog() const;
00069         virtual Pathname location() const;
00072         virtual std::string url() const;
00074         virtual std::string os() const;
00076         virtual Text prein() const;
00078         virtual Text postin() const;
00080         virtual Text preun() const;
00082         virtual Text postun() const;
00084         virtual ByteCount size() const;
00086         virtual ByteCount sourcesize() const;
00088         virtual ByteCount archivesize() const;
00090         virtual DiskUsage diskusage() const;
00092         virtual std::list<std::string> authors() const;
00094         virtual std::list<std::string> filenames() const;
00096         virtual std::list<DeltaRpm> deltaRpms() const;
00098         virtual std::list<PatchRpm> patchRpms() const;
00100         virtual bool installOnly() const;
00101 
00102         virtual License licenseToConfirm() const;
00103 
00104         virtual unsigned mediaId() const;
00105 
00106         // which entry in sourceImpl::_package_data has
00107         // the shared data for this package
00108         NVRA _data_index;
00109         NVRA _nvra;
00110         
00111         PackageGroup _group;
00112         std::list<std::string> _authors;
00113         std::list<std::string> _keywords;
00114         ByteCount _size;
00115         ByteCount _archivesize;
00116         Label _license;
00117         Label _license_to_confirm;
00118         Date _buildtime;
00119         unsigned int _media_number;
00120         Pathname _location;
00121         DiskUsage _diskusage;
00122         CheckSum _checksum;
00123         
00124         SuseTagsImpl_Ptr _sourceImpl;
00125         
00126       private:
00127         Source_Ref _source;
00128       public:
00129         Source_Ref source() const;
00130 
00131 /*
00132 =Grp: System/Base
00133 =Lic: GPL
00134 =Src: 3ddiag 0.724 3 src
00135 =Tim: 1111489970
00136 =Loc: 1 3ddiag-0.724-3.i586.rpm
00137 
00138 */
00139 
00140       };
00143     } // namespace susetags
00145   } // namespace source
00148 } // namespace zypp
00150 #endif // ZYPP_DETAIL_PACKAGEIMPL_H

Generated on Thu May 4 16:03:26 2006 for zypp by  doxygen 1.4.6