~thopiekar/zypper/libzypp-manual-import

« back to all changes in this revision

Viewing changes to zypp/Signature.h

  • Committer: Thomas-Karl Pietrowski
  • Date: 2014-01-29 22:44:28 UTC
  • Revision ID: thopiekar@googlemail.com-20140129224428-gpcqnsdakby362n8
firstĀ import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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