libzypp  17.10.1
zypp::target::hal::HalDrive Class Reference

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 ()
HalDriveoperator= (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. More...

Private Member Functions

 HalDrive (HalDrive_Impl *impl)

Private Attributes

zypp::RW_pointer< HalDrive_Impld_impl


class HalContext

Detailed Description

Hardware abstaction layer storage drive object.

: wrap more functions.

Definition at line 177 of file HalContext.h.

Member Typedef Documentation

◆ bool_type

Definition at line 181 of file HalContext.h.

Constructor & Destructor Documentation

◆ HalDrive() [1/3]

zypp::target::hal::HalDrive::HalDrive ( )

Definition at line 710 of file

◆ HalDrive() [2/3]

zypp::target::hal::HalDrive::HalDrive ( const HalDrive drive)

Definition at line 725 of file

◆ ~HalDrive()

zypp::target::hal::HalDrive::~HalDrive ( )

Definition at line 734 of file

◆ HalDrive() [3/3]

zypp::target::hal::HalDrive::HalDrive ( HalDrive_Impl impl)

Definition at line 716 of file

Member Function Documentation

◆ operator=()

HalDrive & zypp::target::hal::HalDrive::operator= ( const HalDrive drive)

Definition at line 743 of file

◆ operator bool_type()

zypp::target::hal::HalDrive::operator HalDrive::bool_type ( ) const

Definition at line 755 of file

◆ getUDI()

std::string zypp::target::hal::HalDrive::getUDI ( ) const

Definition at line 764 of file

◆ getTypeName()

std::string zypp::target::hal::HalDrive::getTypeName ( ) const

Definition at line 775 of file

◆ getDeviceFile()

std::string zypp::target::hal::HalDrive::getDeviceFile ( ) const
The drive's device file name.

Definition at line 786 of file

◆ getDeviceMajor()

unsigned int zypp::target::hal::HalDrive::getDeviceMajor ( ) const
The drive's device file major number.

Definition at line 796 of file

◆ getDeviceMinor()

unsigned int zypp::target::hal::HalDrive::getDeviceMinor ( ) const
The drive's device minor number.

Definition at line 806 of file

◆ usesRemovableMedia()

bool zypp::target::hal::HalDrive::usesRemovableMedia ( ) const
True, if drive uses removable media.

Definition at line 816 of file

◆ getCdromCapabilityNames()

std::vector< std::string > zypp::target::hal::HalDrive::getCdromCapabilityNames ( ) const

Definition at line 826 of file

◆ findAllVolumes()

std::vector< std::string > zypp::target::hal::HalDrive::findAllVolumes ( ) const

Retrieve UDI's of all volumes of this drive.

Vector with volume UDI's.

Definition at line 916 of file

Friends And Related Function Documentation

◆ HalContext

friend class HalContext

Definition at line 244 of file HalContext.h.

Member Data Documentation

◆ d_impl

zypp::RW_pointer<HalDrive_Impl> zypp::target::hal::HalDrive::d_impl

Definition at line 248 of file HalContext.h.

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