libzypp  15.28.6
zypp::target::hal::HalVolume Class Reference

Hardware abstaction layer storage volume object. More...

#include <HalContext.h>

Public Types

typedef zypp::RW_pointer
< HalVolume_Impl >
::unspecified_bool_type 
bool_type
 

Public Member Functions

 HalVolume ()
 
 HalVolume (const HalVolume &volume)
 
 ~HalVolume ()
 
HalVolumeoperator= (const HalVolume &volume)
 
 operator bool_type () const
 
std::string getUDI () const
 
std::string getDeviceFile () const
 
unsigned int getDeviceMajor () const
 
unsigned int getDeviceMinor () const
 
bool isDisc () const
 
bool isPartition () const
 
bool isMounted () const
 
std::string getFSType () const
 
std::string getFSUsage () const
 
std::string getMountPoint () const
 

Private Member Functions

 HalVolume (HalVolume_Impl *impl)
 

Private Attributes

zypp::RW_pointer< HalVolume_Implv_impl
 

Friends

class HalContext
 
class HalDrive
 

Detailed Description

Hardware abstaction layer storage volume object.

Todo:
: wrap more functions.

Definition at line 260 of file HalContext.h.

Member Typedef Documentation

Definition at line 264 of file HalContext.h.

Constructor & Destructor Documentation

zypp::target::hal::HalVolume::HalVolume ( )

Definition at line 922 of file HalContext.cc.

zypp::target::hal::HalVolume::HalVolume ( const HalVolume volume)

Definition at line 935 of file HalContext.cc.

zypp::target::hal::HalVolume::~HalVolume ( )

Definition at line 944 of file HalContext.cc.

zypp::target::hal::HalVolume::HalVolume ( HalVolume_Impl impl)
private

Definition at line 926 of file HalContext.cc.

Member Function Documentation

HalVolume & zypp::target::hal::HalVolume::operator= ( const HalVolume volume)

Definition at line 953 of file HalContext.cc.

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

Definition at line 965 of file HalContext.cc.

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

Definition at line 974 of file HalContext.cc.

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

Definition at line 985 of file HalContext.cc.

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

Definition at line 995 of file HalContext.cc.

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

Definition at line 1005 of file HalContext.cc.

bool zypp::target::hal::HalVolume::isDisc ( ) const

Definition at line 1015 of file HalContext.cc.

bool zypp::target::hal::HalVolume::isPartition ( ) const

Definition at line 1025 of file HalContext.cc.

bool zypp::target::hal::HalVolume::isMounted ( ) const

Definition at line 1035 of file HalContext.cc.

std::string zypp::target::hal::HalVolume::getFSType ( ) const
Returns
The filesystem name on the volume.

Definition at line 1045 of file HalContext.cc.

std::string zypp::target::hal::HalVolume::getFSUsage ( ) const
Returns
The filesystem usage purpose.

Definition at line 1055 of file HalContext.cc.

std::string zypp::target::hal::HalVolume::getMountPoint ( ) const
Returns
The mount point of the volume.

Definition at line 1085 of file HalContext.cc.

Friends And Related Function Documentation

friend class HalContext
friend

Definition at line 324 of file HalContext.h.

friend class HalDrive
friend

Definition at line 325 of file HalContext.h.

Member Data Documentation

zypp::RW_pointer<HalVolume_Impl> zypp::target::hal::HalVolume::v_impl
private

Definition at line 328 of file HalContext.h.


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