| libzypp 17.36.7
    | 
#include <zypp-media/ng/providespec.h>
| Classes | |
| class | Impl | 
| Public Member Functions | |
| ProvideMediaSpec (std::string label="", zypp::Pathname verifyData=zypp::Pathname(), unsigned medianr=1) | |
| const std::string & | label () const | 
| ProvideMediaSpec & | setLabel (const std::string &label) | 
| unsigned | medianr () const | 
| ProvideMediaSpec & | setMedianr (unsigned medianr) | 
| zypp::Pathname | mediaFile () const | 
| ProvideMediaSpec & | setMediaFile (const zypp::Pathname &pName) | 
| HeaderValueMap & | customHeaders () | 
| const HeaderValueMap & | customHeaders () const | 
| ProvideMediaSpec & | setCustomHeaderValue (const std::string &key, const HeaderValueMap::Value &val) | 
| ProvideMediaSpec & | addCustomHeaderValue (const std::string &key, const HeaderValueMap::Value &val) | 
| zypp::TriBool | isSameMedium (const ProvideMediaSpec &other) | 
| Private Attributes | |
| zypp::RWCOW_pointer< Impl > | _pimpl | 
| Implementation class. | |
Definition at line 28 of file providespec.h.
| zyppng::ProvideMediaSpec::ProvideMediaSpec | ( | std::string | label = "", | 
| zypp::Pathname | verifyData = zypp::Pathname(), | ||
| unsigned | medianr = 1 ) | 
Definition at line 94 of file providespec.cc.
| const std::string & zyppng::ProvideMediaSpec::label | ( | ) | const | 
The label of the medium, this will be shown in case a media change is required
Definition at line 100 of file providespec.cc.
| ProvideMediaSpec & zyppng::ProvideMediaSpec::setLabel | ( | const std::string & | label | ) | 
Changes the label of the medium
Definition at line 103 of file providespec.cc.
| unsigned zyppng::ProvideMediaSpec::medianr | ( | ) | const | 
The media number the resource is located on.
Definition at line 109 of file providespec.cc.
| ProvideMediaSpec & zyppng::ProvideMediaSpec::setMedianr | ( | unsigned | medianr | ) | 
Individual manipulation of medianr (prefer setLocation). 
Definition at line 112 of file providespec.cc.
| zypp::filesystem::Pathname zyppng::ProvideMediaSpec::mediaFile | ( | ) | const | 
Returns the media validation file path. This can be empty if there is no file to validate.
Definition at line 118 of file providespec.cc.
| ProvideMediaSpec & zyppng::ProvideMediaSpec::setMediaFile | ( | const zypp::Pathname & | pName | ) | 
Changes the media file to the name path pName.
Definition at line 121 of file providespec.cc.
| HeaderValueMap & zyppng::ProvideMediaSpec::customHeaders | ( | ) | 
Returns a map of custom key->value pairs that can control special aspects of how all files are provided by the medium after it was attached
Definition at line 127 of file providespec.cc.
| const HeaderValueMap & zyppng::ProvideMediaSpec::customHeaders | ( | ) | const | 
Definition at line 130 of file providespec.cc.
| ProvideMediaSpec & zyppng::ProvideMediaSpec::setCustomHeaderValue | ( | const std::string & | key, | 
| const HeaderValueMap::Value & | val ) | 
Set the custom header value identified by key to val
Definition at line 133 of file providespec.cc.
| ProvideMediaSpec & zyppng::ProvideMediaSpec::addCustomHeaderValue | ( | const std::string & | key, | 
| const HeaderValueMap::Value & | val ) | 
Adds the custom header value val to the list of values identified by key
Definition at line 139 of file providespec.cc.
| zypp::TriBool zyppng::ProvideMediaSpec::isSameMedium | ( | const ProvideMediaSpec & | other | ) | 
Definition at line 145 of file providespec.cc.
| 
 | private |