libzypp: zypp::media::MediaHandlerFactory Class Reference

libzypp 17.36.6

Public Types | Public Member Functions | Static Public Member Functions | List of all members
zypp::media::MediaHandlerFactory Class Reference

`#include <zypp/media/MediaHandlerFactory.h>`

## Public Types
enum | MediaHandlerType { MediaCDType , MediaNFSType , MediaISOType , MediaFileType , MediaDISKType , MediaCIFSType , MediaCURLType , MediaPluginType }

## Public Member Functions
| MediaHandlerFactory ()

## Static Public Member Functions
static std::unique_ptr< MediaHandler > | createHandler (const Url &o_url, const Pathname &preferred_attach_point)
static std::optional< MediaHandlerType > | handlerType (const Url &url)

## Detailed Description

Definition at line 14 of file MediaHandlerFactory.h.

## Member Enumeration Documentation

## ◆ MediaHandlerType

enum zypp::media::MediaHandlerFactory::MediaHandlerType

Enumerator
MediaCDType |
MediaNFSType |
MediaISOType |
MediaFileType |
MediaDISKType |
MediaCIFSType |
MediaCURLType |
MediaPluginType |

Definition at line 18 of file MediaHandlerFactory.h.

## Constructor & Destructor Documentation

## ◆ MediaHandlerFactory()

zypp::media::MediaHandlerFactory::MediaHandlerFactory | ( |  | ) |

Definition at line 23 of file MediaHandlerFactory.cc.

## Member Function Documentation

## ◆ createHandler()

std::unique_ptr< MediaHandler > zypp::media::MediaHandlerFactory::createHandler | ( | const Url & | o_url,
|  | const Pathname & | preferred_attach_point )
| static

Definition at line 50 of file MediaHandlerFactory.cc.

## ◆ handlerType()

std::optional< MediaHandlerFactory::MediaHandlerType > zypp::media::MediaHandlerFactory::handlerType | ( | const Url & | url | ) |
| static

Definition at line 28 of file MediaHandlerFactory.cc.

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

- zypp/media/MediaHandlerFactory.h
- zypp/media/MediaHandlerFactory.cc