libzypp 17.31.1
zypp::repo::SUSEMediaVerifier::Impl Class Reference

SUSEMediaVerifier::Impl. More...

Public Member Functions

 Impl (const Pathname &path_r, media::MediaNr mediaNr_r)
 Impl (const Impl &rhs, media::MediaNr mediaNr_r)
const SMVDatasmvData () const
media::MediaNr mediaNr () const
Pathname mediaFilePath (media::MediaNr mediaNr_r=0) const
std::string expectedAsUserString () const

Private Attributes

shared_ptr< SMVData_smvData
media::MediaNr _mediaNr = 1

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const SUSEMediaVerifier::Impl &obj)
 Stream output

Detailed Description


Data parsed from the media.1/media file can be shared among different verifiers for this media.

This type of verifier however is convenience to tell in advance if the wrong media is inserted. Errors when retrieving the data are logged, but won't let any verification fail. If the medium happens to be right, everything is fine. If it's wrong, download time will tell.

Definition at line 75 of file

Constructor & Destructor Documentation

◆ Impl() [1/2]

zypp::repo::SUSEMediaVerifier::Impl::Impl ( const Pathname path_r,
media::MediaNr  mediaNr_r 

Definition at line 78 of file

◆ Impl() [2/2]

zypp::repo::SUSEMediaVerifier::Impl::Impl ( const Impl rhs,
media::MediaNr  mediaNr_r 

Definition at line 83 of file

Member Function Documentation

◆ smvData()

const SMVData & zypp::repo::SUSEMediaVerifier::Impl::smvData ( ) const

Definition at line 88 of file

◆ mediaNr()

media::MediaNr zypp::repo::SUSEMediaVerifier::Impl::mediaNr ( ) const

Definition at line 91 of file

◆ mediaFilePath()

Pathname zypp::repo::SUSEMediaVerifier::Impl::mediaFilePath ( media::MediaNr  mediaNr_r = 0) const

Definition at line 94 of file

◆ expectedAsUserString()

std::string zypp::repo::SUSEMediaVerifier::Impl::expectedAsUserString ( ) const

Definition at line 101 of file

Friends And Related Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  str,
const SUSEMediaVerifier::Impl obj 

Stream output

Definition at line 117 of file

Member Data Documentation

◆ _smvData

shared_ptr<SMVData> zypp::repo::SUSEMediaVerifier::Impl::_smvData

Definition at line 112 of file

◆ _mediaNr

media::MediaNr zypp::repo::SUSEMediaVerifier::Impl::_mediaNr = 1

Definition at line 113 of file

The documentation for this class was generated from the following file: