YUMProductImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_SOURCE_YUM_YUMPRODUCTIMPL_H
00013 #define ZYPP_SOURCE_YUM_YUMPRODUCTIMPL_H
00014 
00015 #include "zypp/source/SourceImpl.h"
00016 #include "zypp/detail/ProductImpl.h"
00017 #include "zypp/parser/yum/YUMParserData.h"
00018 #include "zypp/source/yum/YUMSourceImpl.h"
00019 
00021 namespace zypp
00022 { 
00023 
00024 namespace source
00025 { 
00026 namespace yum
00027 { 
00028 
00030 //
00031 //        CLASS NAME : YUMProductImpl
00032 //
00035 class YUMProductImpl : public detail::ProductImplIf
00036 {
00037 public:
00039   YUMProductImpl(
00040     Source_Ref source_r,
00041     const zypp::parser::yum::YUMProductData & parsed
00042   );
00043   virtual std::string category() const;
00044   virtual Label vendor() const;
00045   virtual TranslatedText summary() const;
00046   virtual TranslatedText description() const;
00047   virtual std::list<std::string> flags() const;
00048   virtual TranslatedText shortName() const;
00049   virtual std::string distributionName() const;
00050   virtual Edition distributionEdition() const;
00051 protected:
00052   std::string _category;
00053   Label _vendor;
00054   TranslatedText _summary;
00055   TranslatedText _description;
00056   TranslatedText _short_name;
00057 
00058 private:
00059   Source_Ref _source;
00060 public:
00061   Source_Ref source() const;
00062 
00063 };
00065 } // namespace yum
00067 } // namespace source
00070 } // namespace zypp
00072 #endif // ZYPP_SOURCE_YUM_YUMPRODUCTIMPL_H

Generated on Tue Nov 28 16:49:32 2006 for zypp by  doxygen 1.5.0