ignore
[platform/upstream/libzypp.git] / zypp / ZYppCommitPolicy.cc
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp/ZYppCommitPolicy.cc
10  *
11 */
12
13 #include <iostream>
14
15 #include "zypp/ZYppCommitPolicy.h"
16
17 ///////////////////////////////////////////////////////////////////
18 namespace zypp
19 { /////////////////////////////////////////////////////////////////
20
21   std::ostream & operator<<( std::ostream & str, const ZYppCommitPolicy & obj )
22   {
23     str << "CommitPolicy(";
24     if ( obj.restrictToMedia() )
25       str << " restrictToMedia:" << obj.restrictToMedia();
26     if ( obj.dryRun() )
27       str << " dryRun";
28     if ( obj.rpmNoSignature() )
29       str << " rpmNoSignature";
30     return str << " )";
31   }
32
33   /////////////////////////////////////////////////////////////////
34 } // namespace zypp
35 ///////////////////////////////////////////////////////////////////