MediaSource.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00011 #include <iostream>
00012 
00013 #include "zypp/media/MediaSource.h"
00014 
00015 namespace zypp {
00016   namespace media {
00017 
00018     std::ostream & operator<<( std::ostream & str, const AttachPoint & obj )
00019     {
00020       return str << (obj.temp ? "*" : "") << obj.path;
00021     }
00022 
00023     std::ostream & operator<<( std::ostream & str, const AttachedMedia & obj )
00024     {
00025       return str << "media("  << obj.mediaSource << ")attached(" << obj.attachPoint << ")";
00026     }
00027 
00028   } // namespace media
00029 } // namespace zypp

doxygen