avoid map in PoolImpl
[platform/upstream/libzypp.git] / zypp / pool / PoolImpl.cc
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp/pool/PoolImpl.cc
10  *
11 */
12 #include <iostream>
13 #include "zypp/base/LogTools.h"
14
15 #include "zypp/pool/PoolImpl.h"
16 #include "zypp/Package.h"
17 #include "zypp/VendorAttr.h"
18
19 #include "zypp/sat/Pool.h"
20 #include "zypp/sat/Repo.h"
21
22 using std::endl;
23
24 ///////////////////////////////////////////////////////////////////
25 namespace zypp
26 { /////////////////////////////////////////////////////////////////
27
28   std::ostream & operator<<( std::ostream & str, const CapAndItem & obj )
29   {
30     return str << "{" << obj.cap << ", " << obj.item << "}";
31   }
32
33   ///////////////////////////////////////////////////////////////////
34   namespace pool
35   { /////////////////////////////////////////////////////////////////
36
37     ///////////////////////////////////////////////////////////////////
38     //
39     //  Class PoolImpl::PoolImpl
40     //
41     ///////////////////////////////////////////////////////////////////
42
43     ///////////////////////////////////////////////////////////////////
44     //
45     //  METHOD NAME : PoolImpl::PoolImpl
46     //  METHOD TYPE : Ctor
47     //
48     PoolImpl::PoolImpl()
49     {}
50
51     ///////////////////////////////////////////////////////////////////
52     //
53     //  METHOD NAME : PoolImpl::~PoolImpl
54     //  METHOD TYPE : Dtor
55     //
56     PoolImpl::~PoolImpl()
57     {}
58
59     /////////////////////////////////////////////////////////////////
60   } // namespace pool
61   ///////////////////////////////////////////////////////////////////
62   /////////////////////////////////////////////////////////////////
63 } // namespace zypp
64 ///////////////////////////////////////////////////////////////////