libzypp  11.13.5
WebpinResult.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #ifndef ZYPP_WEBPINRESULT_H
13 #define ZYPP_WEBPINRESULT_H
14 
15 #include <iosfwd>
16 #include <list>
17 #include <set>
18 #include "zypp/base/PtrTypes.h"
19 #include "zypp/base/Iterator.h"
20 #include "zypp/APIConfig.h"
21 
22 #include "zypp/CheckSum.h"
23 #include "zypp/Edition.h"
24 #include "zypp/Pathname.h"
25 #include "zypp/Url.h"
26 #include "zypp/repo/RepoType.h"
28 
29 namespace zypp
30 {
31 namespace ws
32 {
40  {
41  friend std::ostream & operator<<( std::ostream & str, const WebpinResult & obj );
42 
43  public:
44  WebpinResult();
45  ~WebpinResult();
46 
50  std::string name() const;
51 
56  WebpinResult & setName( const std::string &name );
57 
61  zypp::Edition edition() const;
62 
67  WebpinResult & setEdition( const zypp::Edition &name );
68 
74  zypp::Url repositoryUrl() const;
75 
82 
86  int priority() const;
87 
92  WebpinResult & setPriority( int priority );
93 
94 
98  std::string summary() const;
99 
104  WebpinResult & setSummary( const std::string &summary );
105 
110  std::string distribution() const;
111 
116  WebpinResult & setDistribution( const std::string &distribution );
117 
122  zypp::CheckSum checksum() const;
123 
128  WebpinResult & setChecksum( const zypp::CheckSum &checksum );
129 
130 
131  std::ostream & dumpOn( std::ostream & str ) const;
132 
133  class Impl;
134  private:
137  };
139 
141  std::ostream & operator<<( std::ostream & str, const WebpinResult & obj );
142 
143 } // namespace ws
144 } // namespace zypp
145 
146 
147 #endif // ZYPP_WEBPINRESULT_H