- Create the cache directly from the schema (installed) file.
[platform/upstream/libzypp.git] / zypp / CapSet.cc
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp/CapSet.cc
10  *
11 */
12 #include <iostream>
13 #include <iterator>
14
15 #include "zypp/CapSet.h"
16
17 using namespace std;
18
19 ///////////////////////////////////////////////////////////////////
20 namespace zypp
21 { /////////////////////////////////////////////////////////////////
22
23   /******************************************************************
24   **
25   **    FUNCTION NAME : operator<<
26   **    FUNCTION TYPE : std::ostream &
27   */
28   std::ostream & operator<<( std::ostream & str, const CapSet & obj )
29   {
30     copy( obj.begin(), obj.end(), ostream_iterator<Capability>(str,"\n") );
31     return str;
32   }
33
34   /////////////////////////////////////////////////////////////////
35 } // namespace zypp
36 ///////////////////////////////////////////////////////////////////