#include <MediaSetAccess.h>
Inheritance diagram for zypp::MediaSetAccess:

Public Member Functions | |
| MediaSetAccess (const Url &url, const Pathname &path) | |
| creates a callback enabled media access for | |
| ~MediaSetAccess () | |
| void | setVerifiers (const std::vector< media::MediaVerifierRef > &verifiers) |
| the media change callbacks depend on the verifiers given for each media. | |
| Pathname | provideFile (const Pathname &file, unsigned media_nr=1) |
| Pathname | provideFile (const Pathname &file, unsigned media_nr, const FileChecker checker) |
| void | providePossiblyCachedMetadataFile (const Pathname &file_to_download, unsigned medianr, const Pathname &destination, const Pathname &cached_file, const CheckSum &checksum) |
Protected Member Functions | |
| Pathname | provideFileInternal (const Pathname &file, unsigned media_nr, bool checkonly, bool cached) |
| Url | rewriteUrl (const Url &url_r, const media::MediaNr medianr) |
| media::MediaAccessId | getMediaAccessId (media::MediaNr medianr) |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
| Overload to realize std::ostream & operator<<. | |
Private Types | |
| typedef std::map< media::MediaNr, media::MediaAccessId > | MediaMap |
Private Attributes | |
| Url | _url |
| Pathname | _path |
| std::vector< media::MediaVerifierRef > | _verifiers |
| MediaMap | medias |
| Mapping between each CD and Media Access ID. | |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const MediaSetAccess &obj) |
Definition at line 78 of file MediaSetAccess.h.
|
|
Definition at line 105 of file MediaSetAccess.h. |
|
||||||||||||
|
creates a callback enabled media access for
Definition at line 51 of file MediaSetAccess.cc. References MIL. |
|
|
Definition at line 61 of file MediaSetAccess.cc. |
|
|
the media change callbacks depend on the verifiers given for each media.
Definition at line 65 of file MediaSetAccess.cc. References _verifiers. |
|
||||||||||||
|
Definition at line 103 of file MediaSetAccess.cc. References provideFileInternal(). |
|
||||||||||||||||
|
Definition at line 108 of file MediaSetAccess.cc. References provideFileInternal(), and ZYPP_THROW. |
|
||||||||||||||||||||||||
|
Definition at line 81 of file MediaSetAccess.cc. References _url, zypp::filesystem::Pathname::asString(), zypp::Url::asString(), zypp::filesystem::checksum(), zypp::filesystem::copy(), zypp::filesystem::is_checksum(), MIL, and ZYPP_THROW. |
|
||||||||||||||||||||
|
||||||||||||
|
Definition at line 270 of file MediaSetAccess.cc. References DBG, zypp::Url::getPathName(), zypp::Url::getQueryParam(), zypp::Url::getScheme(), zypp::str::numstring(), zypp::Url::setPathName(), zypp::Url::setQueryParam(), and url. |
|
|
Definition at line 238 of file MediaSetAccess.cc. References zypp::media_mgr, and medias. Referenced by provideFileInternal(). |
|
|
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::base::ReferenceCounted. Definition at line 309 of file MediaSetAccess.cc. |
|
||||||||||||
|
Stream output Definition at line 112 of file MediaSetAccess.h. |
|
|
Definition at line 102 of file MediaSetAccess.h. Referenced by providePossiblyCachedMetadataFile(). |
|
|
Definition at line 103 of file MediaSetAccess.h. |
|
|
Definition at line 104 of file MediaSetAccess.h. Referenced by setVerifiers(). |
|
|
Mapping between each CD and Media Access ID.
Definition at line 107 of file MediaSetAccess.h. Referenced by getMediaAccessId(). |
1.4.6