libzypp
10.5.0
|
00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include <iostream> 00013 //#include "zypp/base/Logger.h" 00014 00015 #include "zypp/OnMediaLocation.h" 00016 00017 using std::endl; 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 OnMediaLocation & obj ) 00029 { 00030 return str << "[" << obj.medianr() << "]" << obj.filename() 00031 << "{" << obj.downloadSize() << "|" << obj.checksum() << "}"; 00032 } 00033 00035 } // namespace zypp