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

Hardware abstaction layer storage drive object. More...

#include <HalContext.h>

List of all members.

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.

Private Member Functions

 HalDrive (HalDrive_Impl *impl)

Private Attributes

zypp::RW_pointer< HalDrive_Impld_impl

Friends

class HalContext

Detailed Description

Hardware abstaction layer storage drive object.

Todo:
: wrap more functions.

Definition at line 177 of file HalContext.h.


Member Typedef Documentation

Definition at line 181 of file HalContext.h.


Constructor & Destructor Documentation

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

Definition at line 696 of file HalContext.cc.

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

Definition at line 711 of file HalContext.cc.

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

Definition at line 720 of file HalContext.cc.

zypp::target::hal::HalDrive::HalDrive ( HalDrive_Impl impl) [private]

Definition at line 702 of file HalContext.cc.


Member Function Documentation

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

Definition at line 729 of file HalContext.cc.

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.

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

Definition at line 761 of file HalContext.cc.

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

Definition at line 772 of file HalContext.cc.

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

Definition at line 782 of file HalContext.cc.

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

Definition at line 792 of file HalContext.cc.

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

Definition at line 802 of file HalContext.cc.

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

Definition at line 812 of file HalContext.cc.

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

Retrieve UDI's of all volumes of this drive.

Returns:
Vector with volume UDI's.

Definition at line 902 of file HalContext.cc.


Friends And Related Function Documentation

friend class HalContext [friend]

Definition at line 244 of file HalContext.h.


Member Data Documentation


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