Imported Upstream version 17.23.0
[platform/upstream/libzypp.git] / zypp / Signature.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9
10
11 #ifndef ZYPP_Signature_H
12 #define ZYPP_Signature_H
13
14 ///////////////////////////////////////////////////////////////////
15 namespace zypp
16 { /////////////////////////////////////////////////////////////////
17   
18   class Signature
19   {
20     public:
21     Signature();
22     ~Signature();
23     
24     /** Overload to realize stream output. */
25     std::ostream & dumpOn( std::ostream & str ) const;
26     
27     private:
28   };  
29   
30   /** \relates Signature Stream output */
31   inline std::ostream & operator<<( std::ostream & str, const Signature & obj )
32   { return obj.dumpOn( str ); }  
33   
34   /////////////////////////////////////////////////////////////////
35 } // namespace zypp
36 ///////////////////////////////////////////////////////////////////
37 #endif // ZYPP_Signature_H