- Added template class base::KindOf<Type>
[platform/upstream/libzypp.git] / zypp / Product.cc
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Product.cc
10  *
11 */
12 #include <iostream>
13
14 #include "zypp/Product.h"
15
16 using namespace std;
17
18 ///////////////////////////////////////////////////////////////////
19 namespace zypp
20 { /////////////////////////////////////////////////////////////////
21
22   ///////////////////////////////////////////////////////////////////
23   //
24   //    METHOD NAME : Product::Product
25   //    METHOD TYPE : Ctor
26   //
27   Product::Product( const std::string & name_r,
28                     const Edition & edition_r,
29                     const Arch & arch_r )
30   : ResObject( TraitsType::_kind, name_r, edition_r, arch_r )
31   {}
32
33   ///////////////////////////////////////////////////////////////////
34   //
35   //    METHOD NAME : Product::~Product
36   //    METHOD TYPE : Dtor
37   //
38   Product::~Product()
39   {}
40
41   ///////////////////////////////////////////////////////////////////
42   //
43   //    Package interface forwarded to implementation
44   //
45   ///////////////////////////////////////////////////////////////////
46
47   std::string Product::category() const
48   { return pimpl().category(); }
49
50   /////////////////////////////////////////////////////////////////
51 } // namespace zypp
52 ///////////////////////////////////////////////////////////////////