|
libzypp 17.37.8
|
Public Member Functions | |
| bool | valid () const override |
| Data considered to be valid if we have vendor and ident. | |
| bool | matches (const MediaDataVerifierRef &rhs) const override |
| Whether rhs belongs to the same media set. | |
| const std::string & | mediaVendor () const override |
| const std::string & | mediaIdent () const override |
| uint | totalMedia () const override |
| std::ostream & | toStream (std::ostream &str) const override |
| bool | load (const zypp::Pathname &data) override |
| bool | loadFromMedium (const zypp::filesystem::Pathname &data, uint expectedMediaNr) override |
| zypp::filesystem::Pathname | mediaFilePath (uint mediaNr) const override |
| MediaDataVerifierRef | clone () const override |
| std::string | expectedAsUserString (uint mediaNr) const override |
| Public Member Functions inherited from zyppng::MediaDataVerifier | |
| MediaDataVerifier () noexcept | |
| virtual | ~MediaDataVerifier () |
Private Attributes | |
| std::string | _mediaVendor |
| std::string | _mediaIdent |
| uint | _totalMedia = 0 |
Additional Inherited Members | |
| Static Public Member Functions inherited from zyppng::MediaDataVerifier | |
| static MediaDataVerifierRef | createVerifier (const std::string &verifierType) |
Definition at line 22 of file mediaverifier.cc.
|
overridevirtual |
Data considered to be valid if we have vendor and ident.
Implements zyppng::MediaDataVerifier.
Definition at line 55 of file mediaverifier.cc.
|
overridevirtual |
Whether rhs belongs to the same media set.
Implements zyppng::MediaDataVerifier.
Definition at line 58 of file mediaverifier.cc.
|
overridevirtual |
Returns the media vendor string
Implements zyppng::MediaDataVerifier.
Definition at line 96 of file mediaverifier.cc.
|
overridevirtual |
Returns the media ident string
Implements zyppng::MediaDataVerifier.
Definition at line 91 of file mediaverifier.cc.
|
overridevirtual |
Returns the total number of mediums in this set
Implements zyppng::MediaDataVerifier.
Definition at line 64 of file mediaverifier.cc.
|
overridevirtual |
Writes the mediaverifier data to stream
Implements zyppng::MediaDataVerifier.
Definition at line 69 of file mediaverifier.cc.
|
overridevirtual |
Load verification information from a given file, all media data must be storeable in a file so that the controller can store a copy of it somewhere.
Implements zyppng::MediaDataVerifier.
Definition at line 74 of file mediaverifier.cc.
|
overridevirtual |
Generates the file information from a mounted medium, the path given in data is the mountpoint of the device.
Implements zyppng::MediaDataVerifier.
Definition at line 50 of file mediaverifier.cc.
|
overridevirtual |
Returns the path of the media identifier file on the medium
Implements zyppng::MediaDataVerifier.
Definition at line 44 of file mediaverifier.cc.
|
overridevirtual |
Clones this and returns a reference to the clone
Implements zyppng::MediaDataVerifier.
Definition at line 101 of file mediaverifier.cc.
|
overridevirtual |
Returns a error string describing the expected medium.
Implements zyppng::MediaDataVerifier.
Definition at line 106 of file mediaverifier.cc.
|
private |
Definition at line 39 of file mediaverifier.cc.
|
private |
Definition at line 40 of file mediaverifier.cc.
|
private |
Definition at line 41 of file mediaverifier.cc.