|
libzypp
9.1.2
|
Hardware abstaction layer storage drive object. More...
#include <HalContext.h>
Public Types | |
| typedef zypp::RW_pointer < HalDrive_Impl > ::unspecified_bool_type | bool_type |
Public Member Functions | |
| HalDrive () | |
| HalDrive (const HalDrive &drive) | |
| ~HalDrive () | |
| HalDrive & | operator= (const HalDrive &drive) |
| operator bool_type () const | |
| std::string | getUDI () const |
| std::string | getTypeName () const |
| std::string | getDeviceFile () const |
| unsigned int | getDeviceMajor () const |
| unsigned int | getDeviceMinor () const |
| bool | usesRemovableMedia () const |
| std::vector< std::string > | getCdromCapabilityNames () const |
| std::vector< std::string > | findAllVolumes () const |
| Retrieve UDI's of all volumes of this drive. | |
Private Member Functions | |
| HalDrive (HalDrive_Impl *impl) | |
Private Attributes | |
| zypp::RW_pointer< HalDrive_Impl > | d_impl |
Friends | |
| class | HalContext |
Hardware abstaction layer storage drive object.
Definition at line 177 of file HalContext.h.
| typedef zypp::RW_pointer<HalDrive_Impl>::unspecified_bool_type zypp::target::hal::HalDrive::bool_type |
Definition at line 181 of file HalContext.h.
Definition at line 696 of file HalContext.cc.
| zypp::target::hal::HalDrive::HalDrive | ( | const HalDrive & | drive | ) |
Definition at line 711 of file HalContext.cc.
References d_impl.
Definition at line 720 of file HalContext.cc.
References d_impl, and zypp::RW_pointer< _D, _Traits >::reset().
| zypp::target::hal::HalDrive::HalDrive | ( | HalDrive_Impl * | impl | ) | [private] |
Definition at line 702 of file HalContext.cc.
References d_impl, and zypp::RW_pointer< _D, _Traits >::reset().
Definition at line 729 of file HalContext.cc.
References d_impl.
| zypp::target::hal::HalDrive::operator HalDrive::bool_type | ( | ) | const |
Definition at line 741 of file HalContext.cc.
| std::string zypp::target::hal::HalDrive::getUDI | ( | ) | const |
Definition at line 750 of file HalContext.cc.
References d_impl.
Referenced by getCdromCapabilityNames().
| std::string zypp::target::hal::HalDrive::getTypeName | ( | ) | const |
Definition at line 761 of file HalContext.cc.
References d_impl.
Referenced by getCdromCapabilityNames().
| std::string zypp::target::hal::HalDrive::getDeviceFile | ( | ) | const |
Definition at line 772 of file HalContext.cc.
References d_impl.
| unsigned int zypp::target::hal::HalDrive::getDeviceMajor | ( | ) | const |
Definition at line 782 of file HalContext.cc.
References d_impl.
| unsigned int zypp::target::hal::HalDrive::getDeviceMinor | ( | ) | const |
Definition at line 792 of file HalContext.cc.
References d_impl.
| bool zypp::target::hal::HalDrive::usesRemovableMedia | ( | ) | const |
Definition at line 802 of file HalContext.cc.
References d_impl.
| std::vector< std::string > zypp::target::hal::HalDrive::getCdromCapabilityNames | ( | ) | const |
Definition at line 812 of file HalContext.cc.
References _, d_impl, getTypeName(), getUDI(), and ZYPP_THROW.
Referenced by zypp::media::MediaCD::detectDevices().
| std::vector< std::string > zypp::target::hal::HalDrive::findAllVolumes | ( | ) | const |
Retrieve UDI's of all volumes of this drive.
Definition at line 902 of file HalContext.cc.
References d_impl.
friend class HalContext [friend] |
Definition at line 244 of file HalContext.h.
Definition at line 248 of file HalContext.h.
Referenced by findAllVolumes(), getCdromCapabilityNames(), getDeviceFile(), getDeviceMajor(), getDeviceMinor(), getTypeName(), getUDI(), HalDrive(), operator=(), usesRemovableMedia(), and ~HalDrive().
1.7.6.1