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     { return _summary; }
00043 
00044     TranslatedText SuseTagsSelectionImpl::description() const
00045     { return _description; }
00046 
00047     Label SuseTagsSelectionImpl::category() const
00048     { return _category; }
00049 
00050     bool SuseTagsSelectionImpl::visible() const
00051     { return _visible; }
00052 
00053     Label SuseTagsSelectionImpl::order() const
00054     { return _order; }
00055 
00056     const std::set<std::string> SuseTagsSelectionImpl::suggests() const
00057     {
00058       return _suggests;
00059     }
00060 
00061     const std::set<std::string> SuseTagsSelectionImpl::recommends() const
00062     {
00063       return _recommends;
00064     }
00065 
00066     const std::set<std::string> SuseTagsSelectionImpl::install_packages( const Locale & lang) const
00067     {
00068       //_inspacks[lang];
00069       //if(_inspacks.contains(lang))
00070        return ( _inspacks.find(lang)->second);
00071       //else
00072        //return std::set<std::string>();
00073     }
00074   
00075     Source_Ref SuseTagsSelectionImpl::source() const
00076     {
00077       return _source;
00078     }
00080   } // namespace detail
00082   }
00084 } // namespace zypp

Generated on Thu Jul 6 00:07:24 2006 for zypp by  doxygen 1.4.6