XMLSelectionImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_TARGET_XMLSELECTIONIMPL_H
00013 #define ZYPP_TARGET_XMLSELECTIONIMPL_H
00014 
00015 #include "zypp/detail/SelectionImplIf.h"
00016 
00018 namespace zypp
00019 { 
00020 
00022   namespace storage
00023   { 
00024 
00026     //
00027     //  CLASS NAME : XMLSelectionImpl
00028     //
00031     struct XMLSelectionImpl : public zypp::detail::SelectionImplIf
00032     {
00033       XMLSelectionImpl();
00034       virtual ~XMLSelectionImpl();
00035 
00037       TranslatedText summary() const;
00039       TranslatedText description() const;
00040 
00042       Label category() const;
00043 
00045       bool visible() const;
00046 
00048       Label order() const;
00049       
00050       const std::set<std::string> suggests() const;
00051       const std::set<std::string> recommends() const;
00052       const std::set<std::string> install_packages( const Locale & lang = Locale("") ) const;
00053 
00054       TranslatedText _summary;
00055       TranslatedText _description;
00056       
00057       std::string _name;
00058       std::string _version;
00059       std::string _release;
00060       std::string _arch;
00061       std::string _order;
00062       std::string _category;
00063       bool _visible;
00064 
00065       std::set<std::string> _suggests;
00066       std::set<std::string> _recommends;
00067       std::set<std::string> _install_packages;
00068     };
00070 
00072   } // namespace detail
00075 } // namespace zypp
00077 #endif // ZYPP_DETAIL_SELECTIONIMPL_H

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