zypp::media Namespace Reference


Classes

class  MediaAccess
 Handle access to a medium. More...
class  MediaCD
 Implementation class for CD/DVD MediaHandler. More...
class  MediaCIFS
 Implementation class for CIFS MediaHandler. More...
class  MediaCurl
 Implementation class for FTP, HTTP and HTTPS MediaHandler. More...
class  MediaDIR
 Implementation class for DIR MediaHandler. More...
class  MediaDISK
 Implementation class for DISK MediaHandler. More...
class  MediaException
 Just inherits Exception to separate media exceptions. More...
class  MediaMountException
class  MediaUnmountException
class  MediaBadFilenameException
class  MediaNotOpenException
class  MediaFileNotFoundException
class  MediaWriteException
class  MediaNotAttachedException
class  MediaBadAttachPointException
class  MediaCurlInitException
class  MediaSystemException
class  MediaNotAFileException
class  MediaNotADirException
class  MediaBadUrlException
class  MediaBadUrlEmptyHostException
class  MediaBadUrlEmptyFilesystemException
class  MediaBadUrlEmptyDestinationException
class  MediaUnsupportedUrlSchemeException
class  MediaNotSupportedException
class  MediaCurlException
class  MediaCurlSetOptException
class  MediaNotDesiredException
class  MediaIsSharedException
class  MediaNotEjectedException
class  MediaHandler
 Abstract base class for 'physical' MediaHandler like MediaCD, etc. More...
class  MediaISO
 Implementation class for ISO MediaHandler. More...
class  MediaManager_Impl
class  MediaVerifierBase
 Interface to implement a media verifier. More...
class  NoVerifier
 Dummy default media verifier, which is always happy. More...
class  MediaManager
 Manages access to the 'physical' media, e.g CDROM drives, Disk volumes, directory trees, etc, using Media Access Url's. More...
class  MediaNFS
 Implementation class for NFS MediaHandler. More...
class  MediaSMB
 Implementation class for SMB MediaHandler. More...
class  MediaSource
 Media source internally used by MediaManager and MediaHandler. More...
class  AttachPoint
 Attach point of a media source. More...
struct  AttachedMedia
 A simple structure containing references to a media source and its attach point. More...
struct  MountEntry
 A "struct mntent" like mount entry structure, but using std::strings. More...
class  Mount
 Interface to the mount program. More...
class  ProxyInfoSysconfig
class  ProxyInfo
struct  SilentMediaChange
struct  MediaChangeReport
struct  DownloadProgressReport

Typedefs

typedef std::map< MediaAccessId,
ManagedMedia > 
ManagedMediaMap
typedef zypp::RW_pointer<
MediaAccess
MediaAccessRef
typedef MediaAccessId MediaId
typedef unsigned int MediaNr
typedef zypp::RW_pointer<
MediaVerifierBase
MediaVerifierRef
 A shared reference to the MediaVerifier implementation.
typedef unsigned int MediaAccessId
 Media manager access Id type.
typedef zypp::RW_pointer<
MediaSource
MediaSourceRef
typedef zypp::RW_pointer<
AttachPoint
AttachPointRef
typedef std::vector< MountEntryMountEntries
 A vector of mount entries.

Functions

std::ostream & operator<< (std::ostream &str, const MediaAccess &obj)
bool isNewDevice (const std::list< MediaSource > &devices, const MediaSource &media)
Pathname get_sysfs_path ()
static void escape (string &str_r, const char char_r, const string &escaped_r)
static string escapedPath (string path_r)
static string unEscape (string text_r)
std::string getRealPath (const std::string &path)
ostream & operator<< (ostream &str, const MediaHandler &obj)
AutoMounterCleanUp disableAutoMounter ()
void restoreAutoMounter (AutoMounterCleanUp cleanup)
string getShare (Pathname spath_r)
Pathname stripShare (Pathname spath_r)

Variables

static Mutex g_Mutex


Typedef Documentation

typedef std::map<MediaAccessId, ManagedMedia> zypp::media::ManagedMediaMap [static]
 

Definition at line 125 of file MediaManager.cc.

typedef zypp::RW_pointer<MediaAccess> zypp::media::MediaAccessRef
 

Definition at line 36 of file MediaManager.h.

typedef MediaAccessId zypp::media::MediaId
 

Definition at line 39 of file MediaManager.h.

typedef unsigned int zypp::media::MediaNr
 

Definition at line 40 of file MediaManager.h.

typedef zypp::RW_pointer<MediaVerifierBase> zypp::media::MediaVerifierRef
 

A shared reference to the MediaVerifier implementation.

Definition at line 124 of file MediaManager.h.

typedef unsigned int zypp::media::MediaAccessId
 

Media manager access Id type.

Definition at line 27 of file MediaSource.h.

typedef zypp::RW_pointer<MediaSource> zypp::media::MediaSourceRef
 

Definition at line 115 of file MediaSource.h.

typedef zypp::RW_pointer<AttachPoint> zypp::media::AttachPointRef
 

Definition at line 116 of file MediaSource.h.

typedef std::vector<MountEntry> zypp::media::MountEntries
 

A vector of mount entries.

Definition at line 59 of file Mount.h.


Function Documentation

std::ostream & zypp::media::operator<< std::ostream &  str,
const MediaAccess &  obj
 

Definition at line 408 of file MediaAccess.cc.

References zypp::media::MediaAccess::dumpOn().

bool zypp::media::@0::isNewDevice const std::list< MediaSource > &  devices,
const MediaSource &  media
[static]
 

Definition at line 59 of file MediaCD.cc.

References zypp::media::MediaSource::equals().

Pathname zypp::media::@0::get_sysfs_path  )  [inline, static]
 

Definition at line 71 of file MediaCD.cc.

static void zypp::media::escape string &  str_r,
const char  char_r,
const string &  escaped_r
[inline, static]
 

Definition at line 113 of file MediaCurl.cc.

Referenced by escapedPath(), and zypp::storage::xml_tag_enclose().

static string zypp::media::escapedPath string  path_r  )  [inline, static]
 

Definition at line 121 of file MediaCurl.cc.

References escape().

static string zypp::media::unEscape string  text_r  )  [inline, static]
 

Definition at line 126 of file MediaCurl.cc.

std::string zypp::media::@0::getRealPath const std::string &  path  )  [static]
 

Definition at line 34 of file MediaHandler.cc.

Referenced by zypp::media::MediaHandler::MediaHandler().

ostream& zypp::media::operator<< ostream &  str,
const MediaHandler &  obj
 

Definition at line 1170 of file MediaHandler.cc.

References zypp::media::MediaHandler::isAttached(), zypp::media::MediaHandler::localRoot(), and zypp::media::MediaHandler::url().

AutoMounterCleanUp zypp::media::@0::disableAutoMounter  )  [static]
 

Definition at line 139 of file MediaManager.cc.

References ENABLE, HAL_AUTOMOUNTER_KEY, HAL_AUTOMOUNTER_UDI, MIL, NONE, REMOVE, WAR, XXX, and ZYPP_CAUGHT.

Referenced by zypp::media::MediaManager_Impl::MediaManager_Impl().

void zypp::media::@0::restoreAutoMounter AutoMounterCleanUp  cleanup  )  [static]
 

Definition at line 215 of file MediaManager.cc.

References ENABLE, HAL_AUTOMOUNTER_KEY, HAL_AUTOMOUNTER_UDI, MIL, NONE, REMOVE, WAR, XXX, and ZYPP_CAUGHT.

string zypp::media::getShare Pathname  spath_r  )  [inline]
 

Definition at line 40 of file MediaSMB.cc.

References zypp::filesystem::Pathname::absolutename(), zypp::filesystem::Pathname::asString(), and zypp::filesystem::Pathname::empty().

Pathname zypp::media::stripShare Pathname  spath_r  )  [inline]
 

Definition at line 68 of file MediaSMB.cc.

References zypp::filesystem::Pathname::absolutename(), zypp::filesystem::Pathname::asString(), and zypp::filesystem::Pathname::empty().


Variable Documentation

Mutex zypp::media::g_Mutex [static]
 

Definition at line 49 of file MediaManager.cc.

Referenced by zypp::media::MediaManager::addVerifier(), zypp::media::MediaManager::attach(), zypp::media::MediaManager::close(), zypp::media::MediaManager::delVerifier(), zypp::media::MediaManager::dirInfo(), zypp::media::MediaManager::disconnect(), zypp::media::MediaManager::downloads(), zypp::media::MediaManager::findAttachedMedia(), zypp::media::MediaManager::forceReleaseShared(), zypp::media::MediaManager::getAttachedMedia(), zypp::media::MediaManager::getMountEntries(), zypp::media::MediaManager::getMountTableMTime(), zypp::media::MediaManager::isAttached(), zypp::media::MediaManager::isDesiredMedia(), zypp::media::MediaManager::isOpen(), zypp::media::MediaManager::isSharedMedia(), zypp::media::MediaManager::isUseableAttachPoint(), zypp::media::MediaManager::localPath(), zypp::media::MediaManager::localRoot(), zypp::media::MediaManager::MediaManager(), zypp::media::MediaManager::open(), zypp::media::MediaManager::protocol(), zypp::media::MediaManager::provideDir(), zypp::media::MediaManager::provideDirTree(), zypp::media::MediaManager::provideFile(), zypp::media::MediaManager::release(), zypp::media::MediaManager::releaseDir(), zypp::media::MediaManager::releaseFile(), zypp::media::MediaManager::releasePath(), zypp::media::MediaManager::setAttachPrefix(), zypp::media::MediaManager::url(), and zypp::media::MediaManager_Impl::~MediaManager_Impl().


Generated on Thu Jul 6 00:07:32 2006 for zypp by  doxygen 1.4.6