clean more class names
[platform/upstream/libzypp.git] / zypp2 / repo / memory / ProductImpl.cc
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp2/repo/memory/ProductImpl.cc
10  *
11 */
12 #include "zypp2/repo/memory/ProductImpl.h"
13
14 using namespace std;
15
16 ///////////////////////////////////////////////////////////////////
17 namespace zypp
18 { /////////////////////////////////////////////////////////////////
19   ///////////////////////////////////////////////////////////////////
20   namespace repo
21   { /////////////////////////////////////////////////////////////////
22     ///////////////////////////////////////////////////////////////////
23     namespace memory
24     { /////////////////////////////////////////////////////////////////
25
26       ///////////////////////////////////////////////////////////////////
27       //
28       //        METHOD NAME : ProductImpl::ProductImpl
29       //        METHOD TYPE : Ctor
30       //
31       ProductImpl::ProductImpl(data::Product_Ptr ptr)
32       {}
33
34       ///////////////////////////////////////////////////////////////////
35       //
36       //        METHOD NAME : ProductImpl::~ProductImpl
37       //        METHOD TYPE : Dtor
38       //
39       ProductImpl::~ProductImpl()
40       {}
41
42
43       std::string ProductImpl::category() const
44       {
45         return _category;
46       }
47
48       Label ProductImpl::vendor() const
49       {
50         return _vendor;
51       }
52
53       TranslatedText ProductImpl::summary() const
54       {
55         return _summary;
56       }
57
58       Source_Ref ProductImpl::source() const
59       {
60         return Source_Ref::noSource;
61       }
62
63       Url ProductImpl::releaseNotesUrl() const
64       {
65         return _release_notes_url;
66       }
67
68       std::list<Url> ProductImpl::updateUrls() const
69       {
70         return _update_urls;
71       }
72
73       std::list<Url> ProductImpl::extraUrls() const
74       {
75         return _extra_urls;
76       }
77       
78       std::list<Url> ProductImpl::optionalUrls() const
79       {
80         return _optional_urls;
81       }
82       
83       std::list<std::string> ProductImpl::flags() const
84       {
85         return _flags;
86       }
87
88       TranslatedText ProductImpl::shortName() const
89       {
90         return TranslatedText(_shortlabel);
91       }
92
93       std::string ProductImpl::distributionName() const
94       {
95         return _dist_name;
96       }
97
98       Edition ProductImpl::distributionEdition() const
99       {
100         return _dist_version;
101       }
102
103       /////////////////////////////////////////////////////////////////
104     } // namespace memory
105     ///////////////////////////////////////////////////////////////////
106     /////////////////////////////////////////////////////////////////
107   } // namespace repository
108   ///////////////////////////////////////////////////////////////////
109   /////////////////////////////////////////////////////////////////
110 } // namespace zypp
111 ///////////////////////////////////////////////////////////////////