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         virtual TranslatedText licenseToConfirm() const;
00049         virtual Source_Ref source() const;
00050         virtual unsigned sourceMediaNr() const;
00052 
00053         virtual CheckSum checksum() const;
00055         virtual Date buildtime() const;
00057         virtual std::string buildhost() const;
00059         virtual Date installtime() const;
00061         virtual std::string distribution() const;
00063         virtual Vendor vendor() const;
00065         virtual Label license() const;
00067         virtual std::string packager() const;
00069         virtual PackageGroup group() const;
00071         virtual Changelog changelog() const;
00073         virtual Pathname location() const;
00076         virtual std::string url() const;
00078         virtual std::string os() const;
00080         virtual Text prein() const;
00082         virtual Text postin() const;
00084         virtual Text preun() const;
00086         virtual Text postun() const;
00088         virtual ByteCount size() const;
00090         virtual ByteCount sourcesize() const;
00092         virtual ByteCount archivesize() const;
00094         virtual DiskUsage diskusage() const;
00096         virtual std::list<std::string> authors() const;
00098         virtual std::list<std::string> filenames() const;
00100         virtual std::list<DeltaRpm> deltaRpms() const;
00102         virtual std::list<PatchRpm> patchRpms() const;
00104         virtual bool installOnly() 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         Date _buildtime;
00118         unsigned _media_number;
00119         Pathname _location;
00120         DiskUsage _diskusage;
00121         CheckSum _checksum;
00122 
00123         SuseTagsImpl_Ptr _sourceImpl;
00124 
00125       private:
00126         Source_Ref _source;
00127       };
00130     } // namespace susetags
00132   } // namespace source
00135 } // namespace zypp
00137 #endif // ZYPP_DETAIL_PACKAGEIMPL_H

Generated on Thu Jul 6 00:07:24 2006 for zypp by  doxygen 1.4.6