48 {
static zypp::shared_ptr<Impl> _nullimpl(
new Impl );
return _nullimpl; }
81 {
static zypp::shared_ptr<Impl> _nullimpl(
new Impl );
return _nullimpl; }
90 : _pimpl( new
Impl( label, verifyData, medianr ) )
152 return zypp::indeterminate;
162 inline std::ostream &
dumpOn( std::ostream &
str,
const ProvideFileSpec::Impl & obj )
163 {
return str << obj; }
167 : _pimpl( new
Impl() )
171 : _pimpl( new
Impl() )
ProvideFileSpec & setHeaderChecksum(const zypp::CheckSum &val_r)
Set the headerChecksum.
ProvideFileSpec & setOptional(bool val)
Set whether the resource is optional.
zypp::CheckSum _openChecksum
const zypp::ByteCount & openSize() const
The size of the resource once it has been uncompressed or unpacked.
HeaderValueMap _customHeaders
zypp::CheckSum _headerChecksum
Store and operate with byte count.
const zypp::CheckSum & openChecksum() const
The checksum of the resource once it has been uncompressed or unpacked.
std::ostream & dumpOn(std::ostream &str, const ProvideFileSpec &obj)
zypp::RWCOW_pointer< Impl > _pimpl
Implementation class.
String related utilities and Regular expression matching.
const zypp::Pathname & deltafile() const
The existing deltafile that can be used to reduce download size ( zchunk or metalink ) ...
zypp::Pathname _deltafile
zypp::ByteCount _openSize
ProvideFileSpec & setOpenChecksum(const zypp::CheckSum &val_r)
Set the openChecksum.
ProvideFileSpec & setDestFilenameHint(const zypp::Pathname &filename)
std::ostream & operator<<(std::ostream &str, const MediaDataVerifierRef &obj)
boost::logic::tribool TriBool
3-state boolean logic (true, false and indeterminate).
bool empty() const
Test for an empty path.
zypp::Pathname _destFilenameHint
const zypp::CheckSum & checksum() const
The checksum of the resource on the server.
ProvideFileSpec & setDeltafile(const zypp::Pathname &path)
Set the deltafile.
virtual ~ProvideSpecBasePrivate()
const zypp::CheckSum & headerChecksum() const
The checksum of the header prepending the resource (e.g.
zypp::ByteCount _headerSize
ProvideFileSpec & setHeaderSize(const zypp::ByteCount &val_r)
Set the headerSize.
zypp::Pathname _mediaSpecFile
ProvideFileSpec & addCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
const zypp::ByteCount & downloadSize() const
The size of the resource on the server.
const zypp::Pathname & destFilenameHint() const
ProvideFileSpec & setOpenSize(const zypp::ByteCount &val_r)
Set the openSize.
ProvideFileSpec & setChecksum(const zypp::CheckSum &val_r)
Set the checksum.
static zypp::shared_ptr< Impl > nullimpl()
Offer default Impl.
ProvideFileSpec & setDownloadSize(const zypp::ByteCount &val_r)
Set the downloadSize.
bool optional() const
Whether this is an optional resource.
zypp::ByteCount _downloadSize
ProvideFileSpec & setCheckExistsOnly(const bool set=true)
ProvideFileSpec & setCustomHeaderValue(const std::string &key, const HeaderValueMap::Value &val)
const zypp::ByteCount & headerSize() const
The size of the header prepending the resource (e.g.
HeaderValueMap & customHeaders()
bool checkExistsOnly() const