00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include <iostream> 00013 #include <iterator> 00014 00015 #include "zypp/CapSet.h" 00016 00017 using namespace std; 00018 00020 namespace zypp 00021 { 00022 00023 /****************************************************************** 00024 ** 00025 ** FUNCTION NAME : operator<< 00026 ** FUNCTION TYPE : std::ostream & 00027 */ 00028 std::ostream & operator<<( std::ostream & str, const CapSet & obj ) 00029 { 00030 copy( obj.begin(), obj.end(), ostream_iterator<Capability>(str,"\n") ); 00031 return str; 00032 } 00033 00035 } // namespace zypp