PackageImplIf.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #include "zypp/detail/PackageImplIf.h"
00013 #include <iostream>
00014 
00015 using namespace std;
00016 
00018 namespace zypp
00019 { 
00020 
00021   namespace detail
00022   { 
00023 
00025     // Default implementation of PackageImplIf attributes,
00026     // as far as resonable.
00028 
00029       Date PackageImplIf::buildtime() const
00030       { return Date(); }
00031 
00032       CheckSum PackageImplIf::checksum() const
00033       { return CheckSum(); }
00034 
00035       std::string PackageImplIf::buildhost() const
00036       { return std::string(); }
00037 
00038       Date PackageImplIf::installtime() const
00039       { return Date(); }
00040 
00041       std::string PackageImplIf::distribution() const
00042       { return std::string(); }
00043 
00044       Vendor PackageImplIf::vendor() const
00045       { return Vendor(); }
00046 
00047       Label PackageImplIf::license() const
00048       { return Label(); }
00049 
00050       std::string PackageImplIf::packager() const
00051       { return std::string(); }
00052 
00053       PackageGroup PackageImplIf::group() const
00054       { return PackageGroup(); }
00055 
00056       Changelog PackageImplIf::changelog() const
00057       { return Changelog(); }
00058 
00059       Pathname PackageImplIf::location() const
00060       { return Pathname(); }
00061 
00062       std::string PackageImplIf::url() const
00063       { return std::string(); }
00064 
00065       std::string PackageImplIf::os() const
00066       { return std::string(); }
00067 
00068       Text PackageImplIf::prein() const
00069       { return Text(); }
00070 
00071       Text PackageImplIf::postin() const
00072       { return Text(); }
00073 
00074       Text PackageImplIf::preun() const
00075       { return Text(); }
00076 
00077       Text PackageImplIf::postun() const
00078       { return Text(); }
00079 
00080       ByteCount PackageImplIf::sourcesize() const
00081       { return ByteCount(); }
00082 
00083       ByteCount PackageImplIf::archivesize() const
00084       { return ByteCount(); }
00085 
00086       DiskUsage PackageImplIf::diskusage() const
00087       { return DiskUsage(); }      
00088 
00089       std::list<std::string> PackageImplIf::authors() const
00090       { return std::list<std::string>(); }
00091 
00092       std::list<std::string> PackageImplIf::filenames() const
00093       { return std::list<std::string>(); }
00094 
00095       License PackageImplIf::licenseToConfirm() const
00096       { return License(); }
00097 
00098       std::list<DeltaRpm> PackageImplIf::deltaRpms() const
00099       { return std::list<DeltaRpm>(); }
00100 
00101       std::list<PatchRpm> PackageImplIf::patchRpms() const
00102       { return std::list<PatchRpm>(); }
00103 
00104       bool PackageImplIf::installOnly() const
00105       { return false; }
00106 
00107       unsigned PackageImplIf::mediaId() const
00108       { return 1; }
00109 
00111   } // namespace detail
00114 } // namespace zypp

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