Product.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #include <iostream>
00013 
00014 #include "zypp/Product.h"
00015 
00016 using namespace std;
00017 
00019 namespace zypp
00020 { 
00021 
00022   IMPL_PTR_TYPE(Product);
00023 
00025   //
00026   //    METHOD NAME : Product::Product
00027   //    METHOD TYPE : Ctor
00028   //
00029   Product::Product( const NVRAD & nvrad_r )
00030   : ResObject( TraitsType::kind, nvrad_r )
00031   {}
00032 
00034   //
00035   //    METHOD NAME : Product::~Product
00036   //    METHOD TYPE : Dtor
00037   //
00038   Product::~Product()
00039   {}
00040 
00042   //
00043   //    Package interface forwarded to implementation
00044   //
00046 
00047   std::string Product::type() const
00048   { return pimpl().type(); }
00049 
00050   Label Product::vendor() const
00051   { return pimpl().vendor(); }
00052 
00053   Url Product::releaseNotesUrl() const
00054   { return pimpl().releaseNotesUrl(); }
00055 
00056   std::list<Url> Product::updateUrls() const
00057   { return pimpl().updateUrls(); }
00058 
00059   std::list<Url> Product::extraUrls() const
00060   { return pimpl().extraUrls(); }
00061 
00062   std::list<Url> Product::optionalUrls() const
00063   { return pimpl().optionalUrls(); }
00064 
00065   std::list<std::string> Product::flags() const
00066   { return pimpl().flags(); }
00067 
00069   Label Product::shortName() const
00070   { return pimpl().shortName().text(); }
00071 
00073   Label Product::longName() const
00074   { return summary(); }
00075 
00076   std::string Product::distributionName() const
00077   { return pimpl().distributionName(); }
00078 
00079   Edition Product::distributionEdition() const
00080   { return pimpl().distributionEdition(); }
00081 
00082 
00084 } // namespace zypp

Generated on Tue Sep 25 19:23:05 2007 for libzypp by  doxygen 1.5.3