libzypp 17.37.10

providespec.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12
13#include <iostream>
14#include <utility>
15#include "providespec.h"
16
17 using std::endl;
18
19 namespace zyppng
20{
21 class ProvideSpecBasePrivate
22 {
23 public:
24 ProvideSpecBasePrivate() {}
25 ProvideSpecBasePrivate(const ProvideSpecBasePrivate &) = default;
26 ProvideSpecBasePrivate(ProvideSpecBasePrivate &&) = delete;
27 ProvideSpecBasePrivate &operator=(const ProvideSpecBasePrivate &) = delete;
28 ProvideSpecBasePrivate &operator=(ProvideSpecBasePrivate &&) = delete;
29 virtual ~ProvideSpecBasePrivate() {}
30 HeaderValueMap _customHeaders;
31 };
32
33
34 class ProvideMediaSpec::Impl : public ProvideSpecBasePrivate
35 {
36 public:
37 Impl()
38 {}
39
40 Impl( std::string &&label, zypp::Pathname &&vPath, unsigned medianr )
41 : _label(std::move( label ))
42 , _medianr( medianr )
43 , _verifyDataPath(std::move(vPath))
44 {}
45
46 std::string _label;
47 unsigned _medianr = 0U;
48 zypp::Pathname _verifyDataPath;
49
50 public:
52 static zypp::shared_ptr<Impl> nullimpl()
53 { static zypp::shared_ptr<Impl> _nullimpl( new Impl ); return _nullimpl; }
54
55 private:
56 friend ProvideMediaSpec::Impl * zypp::rwcowClone<ProvideMediaSpec::Impl>( const ProvideMediaSpec::Impl * rhs );
57 Impl * clone() const { return new Impl( *this ); }
58 };
59
60 class ProvideFileSpec::Impl : public ProvideSpecBasePrivate
61 {
62 public:
63 Impl()
64 {}
65
66 zypp::Pathname _destFilenameHint;
67 zypp::Pathname _mediaSpecFile;
68 bool _checkExistsOnly = false;
69
70 bool _optional = false;
71 zypp::ByteCount _downloadSize;
72 zypp::CheckSum _checksum;
73
74 zypp::ByteCount _openSize;
75 zypp::CheckSum _openChecksum;
76
77 zypp::ByteCount _headerSize;
78 zypp::CheckSum _headerChecksum;
79
80 zypp::Pathname _deltafile;
81
82 bool _mirrorsAllowed = true;
83
84 public:
86 static zypp::shared_ptr<Impl> nullimpl()
87 { static zypp::shared_ptr<Impl> _nullimpl( new Impl ); return _nullimpl; }
88
89 private:
90 friend ProvideFileSpec::Impl * zypp::rwcowClone<ProvideFileSpec::Impl>( const ProvideFileSpec::Impl * rhs );
91 Impl * clone() const { return new Impl( *this ); }
92 };
93
94
95 ProvideMediaSpec::ProvideMediaSpec( std::string label, zypp::filesystem::Pathname verifyData, unsigned medianr )
96 : _pimpl( new Impl( std::move(label), std::move(verifyData), medianr ) )
97 {
98
99 }
100
101 const std::string &ProvideMediaSpec::label() const
102 { return _pimpl->_label; }
103
104 ProvideMediaSpec &ProvideMediaSpec::setLabel(const std::string &label)
105 {
106 _pimpl->_label = label;
107 return *this;
108 }
109
110 unsigned ProvideMediaSpec::medianr() const
111 { return _pimpl->_medianr; }
112
113 ProvideMediaSpec &ProvideMediaSpec::setMedianr(unsigned medianr)
114 {
115 _pimpl->_medianr = medianr;
116 return *this;
117 }
118
119 zypp::filesystem::Pathname ProvideMediaSpec::mediaFile() const
120 { return _pimpl->_verifyDataPath; }
121
122 ProvideMediaSpec &ProvideMediaSpec::setMediaFile(const zypp::filesystem::Pathname &pName)
123 {
124 _pimpl->_verifyDataPath = pName;
125 return *this;
126 }
127
128 HeaderValueMap &ProvideMediaSpec::customHeaders()
129 { return _pimpl->_customHeaders; }
130
131 const HeaderValueMap &ProvideMediaSpec::customHeaders() const
132 { return _pimpl->_customHeaders; }
133
134 ProvideMediaSpec &ProvideMediaSpec::setCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
135 {
136 _pimpl->_customHeaders.set( key,val );
137 return *this;
138 }
139
140 ProvideMediaSpec &ProvideMediaSpec::addCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
141 {
142 _pimpl->_customHeaders.add( key,val );
143 return *this;
144 }
145
146 zypp::TriBool ProvideMediaSpec::isSameMedium( const ProvideMediaSpec &other ) const
147 {
148 // first check if we have the same media data
149 if ( _pimpl->_verifyDataPath != other._pimpl->_verifyDataPath )
150 return false;
151
152 // if the verify file is not empty check the medianr
153 if ( !_pimpl->_verifyDataPath.empty() ) {
154 return _pimpl->_medianr == other._pimpl->_medianr;
155 }
156
157 // can't tell without the URL
158 return zypp::indeterminate;
159 }
160
162 inline std::ostream & operator<<( std::ostream & str, const ProvideFileSpec::Impl & obj )
163 {
164 return str << "{" << obj._destFilenameHint << "{" << obj._downloadSize << "|" << obj._checksum << "|" << obj._deltafile << "}" << "}";
165 }
166
168 inline std::ostream & dumpOn( std::ostream & str, const ProvideFileSpec::Impl & obj )
169 { return str << obj; }
170
171
172 ProvideFileSpec::ProvideFileSpec()
173 : _pimpl( new Impl() )
174 {}
175
176 ProvideFileSpec::ProvideFileSpec( const zypp::OnMediaLocation &loc )
177 : _pimpl( new Impl() )
178 {
179 setDownloadSize( loc.downloadSize() );
180 setOptional( loc.optional() );
181 setChecksum( loc.checksum() );
182 setOpenSize( loc.openSize() );
183 setOpenChecksum( loc.openChecksum() );
184 setHeaderSize( loc.headerSize() );
185 setHeaderChecksum( loc.headerChecksum() );
186 setDeltafile( loc.deltafile() );
187 }
188
189 ProvideFileSpec::~ProvideFileSpec()
190 {}
191
192 const zypp::filesystem::Pathname &ProvideFileSpec::destFilenameHint() const
193 { return _pimpl->_destFilenameHint; }
194
195 ProvideFileSpec &ProvideFileSpec::setDestFilenameHint(const zypp::filesystem::Pathname &filename)
196 { _pimpl->_destFilenameHint = filename; return *this; }
197
198 bool ProvideFileSpec::checkExistsOnly() const
199 { return _pimpl->_checkExistsOnly; }
200
201 ProvideFileSpec &ProvideFileSpec::setCheckExistsOnly(const bool set)
202 { _pimpl->_checkExistsOnly = set; return *this; }
203
204 bool ProvideFileSpec::optional() const
205 { return _pimpl->_optional; }
206
207 ProvideFileSpec & ProvideFileSpec::setOptional( bool val_r )
208 { _pimpl->_optional = (val_r); return *this; }
209
210 const zypp::ByteCount & ProvideFileSpec::downloadSize() const
211 { return _pimpl->_downloadSize; }
212
213 ProvideFileSpec & ProvideFileSpec::setDownloadSize( const zypp::ByteCount &val_r )
214 { _pimpl->_downloadSize = (val_r); return *this; }
215
216 const zypp::CheckSum & ProvideFileSpec::checksum() const
217 { return _pimpl->_checksum; }
218
219 ProvideFileSpec & ProvideFileSpec::setChecksum( const zypp::CheckSum &val_r )
220 { _pimpl->_checksum = (val_r); return *this; }
221
222 const zypp::ByteCount & ProvideFileSpec::openSize() const
223 { return _pimpl->_openSize; }
224
225 ProvideFileSpec & ProvideFileSpec::setOpenSize( const zypp::ByteCount &val_r )
226 { _pimpl->_openSize = (val_r); return *this; }
227
228 const zypp::CheckSum & ProvideFileSpec::openChecksum() const
229 { return _pimpl->_openChecksum; }
230
231 ProvideFileSpec & ProvideFileSpec::setOpenChecksum( const zypp::CheckSum &val_r )
232 { _pimpl->_openChecksum = (val_r); return *this; }
233
234 const zypp::ByteCount & ProvideFileSpec::headerSize() const
235 { return _pimpl->_headerSize; }
236
237 ProvideFileSpec & ProvideFileSpec::setHeaderSize( const zypp::ByteCount &val_r )
238 { _pimpl->_headerSize = (val_r); return *this; }
239
240 const zypp::CheckSum & ProvideFileSpec::headerChecksum() const
241 { return _pimpl->_headerChecksum; }
242
243 ProvideFileSpec & ProvideFileSpec::setHeaderChecksum( const zypp::CheckSum &val_r )
244 { _pimpl->_headerChecksum = (val_r); return *this; }
245
246 const zypp::Pathname &ProvideFileSpec::deltafile() const
247 { return _pimpl->_deltafile; }
248
249 ProvideFileSpec &ProvideFileSpec::setDeltafile( const zypp::Pathname &path )
250 { _pimpl->_deltafile = (path); return *this; }
251
252 bool ProvideFileSpec::mirrorsAllowed() const
253 { return _pimpl->_mirrorsAllowed; }
254
255 ProvideFileSpec &ProvideFileSpec::setMirrorsAllowed(bool set)
256 { _pimpl->_mirrorsAllowed = std::move(set); return *this; }
257
258 HeaderValueMap &ProvideFileSpec::customHeaders()
259 { return _pimpl->_customHeaders; }
260
261 const HeaderValueMap &ProvideFileSpec::customHeaders() const
262 { return _pimpl->_customHeaders; }
263
264 ProvideFileSpec &ProvideFileSpec::setCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
265 {
266 _pimpl->_customHeaders.set( key,val );
267 return *this;
268 }
269
270 ProvideFileSpec &ProvideFileSpec::addCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
271 {
272 _pimpl->_customHeaders.add( key,val );
273 return *this;
274 }
275
276 zypp::OnMediaLocation ProvideFileSpec::asOnMediaLocation( const zypp::Pathname &path, unsigned int mediaNr ) const
277 {
278 return zypp::OnMediaLocation( path, mediaNr )
279 .setDownloadSize( downloadSize() )
280 .setOptional( optional() )
281 .setChecksum( checksum() )
282 .setOpenSize( openSize() )
283 .setOpenChecksum( openChecksum() )
284 .setHeaderSize( headerSize() )
285 .setHeaderChecksum( headerChecksum() )
286 .setDeltafile( deltafile() )
287 .setMirrorsAllowed( mirrorsAllowed () );
288 }
289
290 std::ostream & operator<<( std::ostream & str, const ProvideFileSpec & obj )
291 { return str << *obj._pimpl; }
292
293 std::ostream & dumpOn( std::ostream & str, const ProvideFileSpec & obj )
294 { return dumpOn( str, *obj._pimpl ); }
295
296} // namespace zypp
zypp::ByteCount
Store and operate with byte count.
Definition ByteCount.h:32
zypp::CheckSum
Definition CheckSum.h:34
zypp::OnMediaLocation
Describes a resource file located on a medium.
Definition onmedialocation.h:37
zypp::OnMediaLocation::optional
bool optional() const
Whether this is an optional resource.
Definition onmedialocation.cc:111
zypp::OnMediaLocation::downloadSize
const ByteCount & downloadSize() const
The size of the resource on the server.
Definition onmedialocation.cc:117
zypp::OnMediaLocation::setDownloadSize
OnMediaLocation & setDownloadSize(ByteCount val_r)
Set the downloadSize.
Definition onmedialocation.cc:120
zypp::OnMediaLocation::setMirrorsAllowed
OnMediaLocation & setMirrorsAllowed(bool set=true)
Enables or disables the use of mirrors when fetching this file.
Definition onmedialocation.cc:162
zypp::OnMediaLocation::setOpenSize
OnMediaLocation & setOpenSize(ByteCount val_r)
Set the openSize.
Definition onmedialocation.cc:132
zypp::OnMediaLocation::openSize
const ByteCount & openSize() const
The size of the resource once it has been uncompressed or unpacked.
Definition onmedialocation.cc:129
zypp::OnMediaLocation::deltafile
const Pathname & deltafile() const
The existing deltafile that can be used to reduce download size ( zchunk or metalink )
Definition onmedialocation.cc:153
zypp::OnMediaLocation::headerSize
const ByteCount & headerSize() const
The size of the header prepending the resource (e.g.
Definition onmedialocation.cc:141
zypp::OnMediaLocation::setChecksum
OnMediaLocation & setChecksum(CheckSum val_r)
Set the checksum.
Definition onmedialocation.cc:126
zypp::OnMediaLocation::headerChecksum
const CheckSum & headerChecksum() const
The checksum of the header prepending the resource (e.g.
Definition onmedialocation.cc:147
zypp::OnMediaLocation::setHeaderSize
OnMediaLocation & setHeaderSize(ByteCount val_r)
Set the headerSize.
Definition onmedialocation.cc:144
zypp::OnMediaLocation::checksum
const CheckSum & checksum() const
The checksum of the resource on the server.
Definition onmedialocation.cc:123
zypp::OnMediaLocation::openChecksum
const CheckSum & openChecksum() const
The checksum of the resource once it has been uncompressed or unpacked.
Definition onmedialocation.cc:135
zypp::OnMediaLocation::setOpenChecksum
OnMediaLocation & setOpenChecksum(CheckSum val_r)
Set the openChecksum.
Definition onmedialocation.cc:138
zypp::OnMediaLocation::setHeaderChecksum
OnMediaLocation & setHeaderChecksum(CheckSum val_r)
Set the headerChecksum.
Definition onmedialocation.cc:150
zypp::OnMediaLocation::setOptional
OnMediaLocation & setOptional(bool val)
Set whether the resource is optional.
Definition onmedialocation.cc:114
zypp::OnMediaLocation::setDeltafile
OnMediaLocation & setDeltafile(Pathname path)
Set the deltafile.
Definition onmedialocation.cc:156
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:47
zyppng::HeaderValueMap
Definition headervaluemap.h:67
zyppng::HeaderValueMap::Value
HeaderValue Value
Definition headervaluemap.h:69
zyppng::ProvideFileSpec::Impl
Definition providespec.cc:61
zyppng::ProvideFileSpec::Impl::clone
Impl * clone() const
Definition providespec.cc:91
zyppng::ProvideFileSpec::Impl::_checksum
zypp::CheckSum _checksum
Definition providespec.cc:72
zyppng::ProvideFileSpec::Impl::Impl
Impl()
Definition providespec.cc:63
zyppng::ProvideFileSpec::Impl::_downloadSize
zypp::ByteCount _downloadSize
Definition providespec.cc:71
zyppng::ProvideFileSpec::Impl::_checkExistsOnly
bool _checkExistsOnly
Definition providespec.cc:68
zyppng::ProvideFileSpec::Impl::_openSize
zypp::ByteCount _openSize
Definition providespec.cc:74
zyppng::ProvideFileSpec::Impl::_openChecksum
zypp::CheckSum _openChecksum
Definition providespec.cc:75
zyppng::ProvideFileSpec::Impl::_headerChecksum
zypp::CheckSum _headerChecksum
Definition providespec.cc:78
zyppng::ProvideFileSpec::Impl::nullimpl
static zypp::shared_ptr< Impl > nullimpl()
Offer default Impl.
Definition providespec.cc:86
zyppng::ProvideFileSpec::Impl::_mirrorsAllowed
bool _mirrorsAllowed
Definition providespec.cc:82
zyppng::ProvideFileSpec::Impl::_optional
bool _optional
Definition providespec.cc:70
zyppng::ProvideFileSpec::Impl::_mediaSpecFile
zypp::Pathname _mediaSpecFile
Definition providespec.cc:67
zyppng::ProvideFileSpec::Impl::_deltafile
zypp::Pathname _deltafile
Definition providespec.cc:80
zyppng::ProvideFileSpec::Impl::_headerSize
zypp::ByteCount _headerSize
Definition providespec.cc:77
zyppng::ProvideFileSpec::Impl::_destFilenameHint
zypp::Pathname _destFilenameHint
Definition providespec.cc:66
zyppng::ProvideFileSpec::ProvideFileSpec
ProvideFileSpec()
Definition providespec.cc:172
zyppng::ProvideFileSpec::optional
bool optional() const
Whether this is an optional resource.
Definition providespec.cc:204
zyppng::ProvideFileSpec::setHeaderChecksum
ProvideFileSpec & setHeaderChecksum(const zypp::CheckSum &val_r)
Set the headerChecksum.
Definition providespec.cc:243
zyppng::ProvideFileSpec::openChecksum
const zypp::CheckSum & openChecksum() const
The checksum of the resource once it has been uncompressed or unpacked.
Definition providespec.cc:228
zyppng::ProvideFileSpec::setCustomHeaderValue
ProvideFileSpec & setCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
Definition providespec.cc:264
zyppng::ProvideFileSpec::setDeltafile
ProvideFileSpec & setDeltafile(const zypp::Pathname &path)
Set the deltafile.
Definition providespec.cc:249
zyppng::ProvideFileSpec::setCheckExistsOnly
ProvideFileSpec & setCheckExistsOnly(const bool set=true)
Definition providespec.cc:201
zyppng::ProvideFileSpec::~ProvideFileSpec
~ProvideFileSpec()
Dtor.
Definition providespec.cc:189
zyppng::ProvideFileSpec::customHeaders
HeaderValueMap & customHeaders()
Definition providespec.cc:258
zyppng::ProvideFileSpec::destFilenameHint
const zypp::Pathname & destFilenameHint() const
Definition providespec.cc:192
zyppng::ProvideFileSpec::setOptional
ProvideFileSpec & setOptional(bool val)
Set whether the resource is optional.
Definition providespec.cc:207
zyppng::ProvideFileSpec::downloadSize
const zypp::ByteCount & downloadSize() const
The size of the resource on the server.
Definition providespec.cc:210
zyppng::ProvideFileSpec::asOnMediaLocation
zypp::OnMediaLocation asOnMediaLocation(const zypp::Pathname &path, unsigned int mediaNr) const
Definition providespec.cc:276
zyppng::ProvideFileSpec::setOpenSize
ProvideFileSpec & setOpenSize(const zypp::ByteCount &val_r)
Set the openSize.
Definition providespec.cc:225
zyppng::ProvideFileSpec::setMirrorsAllowed
ProvideFileSpec & setMirrorsAllowed(bool set=true)
Enables or disables the use of mirrors when fetching this file.
Definition providespec.cc:255
zyppng::ProvideFileSpec::setChecksum
ProvideFileSpec & setChecksum(const zypp::CheckSum &val_r)
Set the checksum.
Definition providespec.cc:219
zyppng::ProvideFileSpec::mirrorsAllowed
bool mirrorsAllowed() const
The requested file is allowed to be fetched via mirrors ( defaults to true )
Definition providespec.cc:252
zyppng::ProvideFileSpec::openSize
const zypp::ByteCount & openSize() const
The size of the resource once it has been uncompressed or unpacked.
Definition providespec.cc:222
zyppng::ProvideFileSpec::setOpenChecksum
ProvideFileSpec & setOpenChecksum(const zypp::CheckSum &val_r)
Set the openChecksum.
Definition providespec.cc:231
zyppng::ProvideFileSpec::deltafile
const zypp::Pathname & deltafile() const
The existing deltafile that can be used to reduce download size ( zchunk or metalink )
Definition providespec.cc:246
zyppng::ProvideFileSpec::setDestFilenameHint
ProvideFileSpec & setDestFilenameHint(const zypp::Pathname &filename)
Definition providespec.cc:195
zyppng::ProvideFileSpec::_pimpl
zypp::RWCOW_pointer< Impl > _pimpl
Implementation class.
Definition providespec.h:201
zyppng::ProvideFileSpec::checksum
const zypp::CheckSum & checksum() const
The checksum of the resource on the server.
Definition providespec.cc:216
zyppng::ProvideFileSpec::setDownloadSize
ProvideFileSpec & setDownloadSize(const zypp::ByteCount &val_r)
Set the downloadSize.
Definition providespec.cc:213
zyppng::ProvideFileSpec::headerChecksum
const zypp::CheckSum & headerChecksum() const
The checksum of the header prepending the resource (e.g.
Definition providespec.cc:240
zyppng::ProvideFileSpec::setHeaderSize
ProvideFileSpec & setHeaderSize(const zypp::ByteCount &val_r)
Set the headerSize.
Definition providespec.cc:237
zyppng::ProvideFileSpec::addCustomHeaderValue
ProvideFileSpec & addCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
Definition providespec.cc:270
zyppng::ProvideFileSpec::headerSize
const zypp::ByteCount & headerSize() const
The size of the header prepending the resource (e.g.
Definition providespec.cc:234
zyppng::ProvideFileSpec::checkExistsOnly
bool checkExistsOnly() const
Definition providespec.cc:198
zyppng::ProvideMediaSpec::Impl
Definition providespec.cc:35
zyppng::ProvideMediaSpec::Impl::_label
std::string _label
Definition providespec.cc:46
zyppng::ProvideMediaSpec::Impl::nullimpl
static zypp::shared_ptr< Impl > nullimpl()
Offer default Impl.
Definition providespec.cc:52
zyppng::ProvideMediaSpec::Impl::_medianr
unsigned _medianr
Definition providespec.cc:47
zyppng::ProvideMediaSpec::Impl::Impl
Impl()
Definition providespec.cc:37
zyppng::ProvideMediaSpec::Impl::clone
Impl * clone() const
Definition providespec.cc:57
zyppng::ProvideMediaSpec::Impl::Impl
Impl(std::string &&label, zypp::Pathname &&vPath, unsigned medianr)
Definition providespec.cc:40
zyppng::ProvideMediaSpec::Impl::_verifyDataPath
zypp::Pathname _verifyDataPath
Definition providespec.cc:48
zyppng::ProvideMediaSpec::setMedianr
ProvideMediaSpec & setMedianr(unsigned medianr)
Definition providespec.cc:113
zyppng::ProvideMediaSpec::setLabel
ProvideMediaSpec & setLabel(const std::string &label)
Definition providespec.cc:104
zyppng::ProvideMediaSpec::ProvideMediaSpec
ProvideMediaSpec(std::string label="", zypp::Pathname verifyData=zypp::Pathname(), unsigned medianr=1)
Definition providespec.cc:95
zyppng::ProvideMediaSpec::customHeaders
HeaderValueMap & customHeaders()
Definition providespec.cc:128
zyppng::ProvideMediaSpec::isSameMedium
zypp::TriBool isSameMedium(const ProvideMediaSpec &other) const
Definition providespec.cc:146
zyppng::ProvideMediaSpec::medianr
unsigned medianr() const
Definition providespec.cc:110
zyppng::ProvideMediaSpec::setCustomHeaderValue
ProvideMediaSpec & setCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
Definition providespec.cc:134
zyppng::ProvideMediaSpec::mediaFile
zypp::Pathname mediaFile() const
Definition providespec.cc:119
zyppng::ProvideMediaSpec::setMediaFile
ProvideMediaSpec & setMediaFile(const zypp::Pathname &pName)
Definition providespec.cc:122
zyppng::ProvideMediaSpec::label
const std::string & label() const
Definition providespec.cc:101
zyppng::ProvideMediaSpec::_pimpl
zypp::RWCOW_pointer< Impl > _pimpl
Implementation class.
Definition providespec.h:87
zyppng::ProvideMediaSpec::addCustomHeaderValue
ProvideMediaSpec & addCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
Definition providespec.cc:140
zyppng::ProvideSpecBasePrivate::ProvideSpecBasePrivate
ProvideSpecBasePrivate()
Definition providespec.cc:24
zyppng::ProvideSpecBasePrivate::_customHeaders
HeaderValueMap _customHeaders
Definition providespec.cc:30
zyppng::ProvideSpecBasePrivate::operator=
ProvideSpecBasePrivate & operator=(const ProvideSpecBasePrivate &)=delete
zyppng::ProvideSpecBasePrivate::~ProvideSpecBasePrivate
virtual ~ProvideSpecBasePrivate()
Definition providespec.cc:29
zyppng::ProvideSpecBasePrivate::ProvideSpecBasePrivate
ProvideSpecBasePrivate(const ProvideSpecBasePrivate &)=default
zyppng::ProvideSpecBasePrivate::ProvideSpecBasePrivate
ProvideSpecBasePrivate(ProvideSpecBasePrivate &&)=delete
zyppng::ProvideSpecBasePrivate::operator=
ProvideSpecBasePrivate & operator=(ProvideSpecBasePrivate &&)=delete
std
Definition Arch.h:364
str
String related utilities and Regular expression matching.
zypp::dumpOn
std::ostream & dumpOn(std::ostream &str, const Capability &obj)
Definition Capability.cc:580
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Definition SerialNumber.cc:52
zypp::TriBool
boost::logic::tribool TriBool
3-state boolean logic (true, false and indeterminate).
Definition String.h:31
zyppng
Definition MediaNetworkRequestExecutor.h:16
providespec.h
zypp::RWCOW_pointer::rwcowClone
D * rwcowClone(const D *rhs)
Clone the underlying object.
Definition PtrTypes.h:453