libzypp 17.31.23
zyppng::ProvideMediaHandle Class Reference

#include </home/abuild/rpmbuild/BUILD/libzypp-17.31.23/zypp-media/ng/provide.h>

Classes

struct  Data
 

Public Member Functions

 ProvideMediaHandle ()=default
 
 ProvideMediaHandle (Provide &parent, const std::string &hdl)
 
std::shared_ptr< Provideparent () const
 
bool isValid () const
 
std::string handle () const
 

Private Attributes

std::shared_ptr< Data_ref
 

Detailed Description

RAII helper for media handles

Definition at line 46 of file provide.h.

Constructor & Destructor Documentation

◆ ProvideMediaHandle() [1/2]

zyppng::ProvideMediaHandle::ProvideMediaHandle ( )
default

◆ ProvideMediaHandle() [2/2]

zyppng::ProvideMediaHandle::ProvideMediaHandle ( Provide parent,
const std::string &  hdl 
)

Definition at line 937 of file provide.cc.

Member Function Documentation

◆ parent()

std::shared_ptr< Provide > zyppng::ProvideMediaHandle::parent ( ) const

Definition at line 941 of file provide.cc.

◆ isValid()

bool zyppng::ProvideMediaHandle::isValid ( ) const

Definition at line 946 of file provide.cc.

◆ handle()

std::string zyppng::ProvideMediaHandle::handle ( ) const

Definition at line 951 of file provide.cc.

Member Data Documentation

◆ _ref

std::shared_ptr<Data> zyppng::ProvideMediaHandle::_ref
private

Definition at line 56 of file provide.h.


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