16 #include <zypp-core/OnMediaLocation> 59 {
static shared_ptr<Impl> _nullimpl(
new Impl );
return _nullimpl; }
61 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
72 {
return str << obj; }
79 : _pimpl(
Impl::nullimpl() )
83 : _pimpl( new
Impl(
std::move(filename_r), medianr_r ) )
91 {
return _pimpl->_filename; }
94 {
return _pimpl->_medianr; }
97 {
_pimpl->_filename = std::move(filename_r);
_pimpl->_medianr = medianr_r;
return *
this; }
103 {
_pimpl->_filename = std::move(filename_r);
return *
this; }
106 {
_pimpl->_medianr = medianr_r;
return *
this; }
112 {
return _pimpl->_optional; }
115 {
_pimpl->_optional = val_r;
return *
this; }
118 {
return _pimpl->_downloadSize; }
121 {
_pimpl->_downloadSize = val_r;
return *
this; }
124 {
return _pimpl->_checksum; }
127 {
_pimpl->_checksum = std::move(val_r);
return *
this; }
130 {
return _pimpl->_openSize; }
133 {
_pimpl->_openSize = val_r;
return *
this; }
136 {
return _pimpl->_openChecksum; }
139 {
_pimpl->_openChecksum = std::move(val_r);
return *
this; }
142 {
return _pimpl->_headerSize; }
145 {
_pimpl->_headerSize = val_r;
return *
this; }
148 {
return _pimpl->_headerChecksum; }
151 {
_pimpl->_headerChecksum = std::move(val_r);
return *
this; }
154 {
return _pimpl->_deltafile; }
157 {
_pimpl->_deltafile = std::move(path);
return *
this; }
160 {
return _pimpl->_mirrorsAllowed; }
163 {
_pimpl->_mirrorsAllowed =
set;
return *
this; }
Store and operate with byte count.
String related utilities and Regular expression matching.
bool emptyOrRoot() const
Test for "" or "/".
std::ostream & dumpOn(std::ostream &str, const OnMediaLocation &obj)
std::ostream & operator<<(std::ostream &str, const Exception &obj)