SuseTagsSelectionImpl.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #include "zypp/source/susetags/SuseTagsSelectionImpl.h"
00013 
00014 using namespace std;
00015 
00017 namespace zypp
00018 { 
00019 
00020 namespace source
00021 { 
00022 namespace susetags
00023 {
00025 //
00026 //      METHOD NAME : SelectionImpl::SelectionImpl
00027 //      METHOD TYPE : Ctor
00028 //
00029 SuseTagsSelectionImpl::SuseTagsSelectionImpl()
00030 {}
00031 
00033 //
00034 //      METHOD NAME : SelectionImpl::~SelectionImpl
00035 //      METHOD TYPE : Dtor
00036 //
00037 SuseTagsSelectionImpl::~SuseTagsSelectionImpl()
00038 {}
00039 
00040 
00041 TranslatedText SuseTagsSelectionImpl::summary() const
00042 {
00043   return _summary;
00044 }
00045 
00046 TranslatedText SuseTagsSelectionImpl::description() const
00047 {
00048   return _description;
00049 }
00050 
00051 Label SuseTagsSelectionImpl::category() const
00052 {
00053   return _category;
00054 }
00055 
00056 bool SuseTagsSelectionImpl::visible() const
00057 {
00058   return _visible;
00059 }
00060 
00061 Label SuseTagsSelectionImpl::order() const
00062 {
00063   return _order;
00064 }
00065 
00066 const std::set<std::string> SuseTagsSelectionImpl::suggests() const
00067   {
00068     return _suggests;
00069   }
00070 
00071 const std::set<std::string> SuseTagsSelectionImpl::recommends() const
00072   {
00073     return _recommends;
00074   }
00075 
00076 const std::set<std::string> SuseTagsSelectionImpl::install_packages( const Locale & lang) const
00077   {
00078     //_inspacks[lang];
00079     //if(_inspacks.contains(lang))
00080     return ( _inspacks.find(lang)->second);
00081     //else
00082     //return std::set<std::string>();
00083   }
00084 
00085 Source_Ref SuseTagsSelectionImpl::source() const
00086 {
00087   return _source;
00088 }
00090 } // namespace detail
00092 }
00094 } // namespace zypp

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