libzypp  17.8.0
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

◆ bool_type

Definition at line 264 of file HalContext.h.

Constructor & Destructor Documentation

◆ HalVolume() [1/3]

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

Definition at line 936 of file HalContext.cc.

◆ HalVolume() [2/3]

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

Definition at line 949 of file HalContext.cc.

◆ ~HalVolume()

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

Definition at line 958 of file HalContext.cc.

◆ HalVolume() [3/3]

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

Definition at line 940 of file HalContext.cc.

Member Function Documentation

◆ operator=()

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

Definition at line 967 of file HalContext.cc.

◆ operator bool_type()

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

Definition at line 979 of file HalContext.cc.

◆ getUDI()

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

Definition at line 988 of file HalContext.cc.

◆ getDeviceFile()

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

Definition at line 999 of file HalContext.cc.

◆ getDeviceMajor()

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

Definition at line 1009 of file HalContext.cc.

◆ getDeviceMinor()

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

Definition at line 1019 of file HalContext.cc.

◆ isDisc()

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

Definition at line 1029 of file HalContext.cc.

◆ isPartition()

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

Definition at line 1039 of file HalContext.cc.

◆ isMounted()

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

Definition at line 1049 of file HalContext.cc.

◆ getFSType()

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

Definition at line 1059 of file HalContext.cc.

◆ getFSUsage()

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

Definition at line 1069 of file HalContext.cc.

◆ getMountPoint()

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

Definition at line 1099 of file HalContext.cc.

Friends And Related Function Documentation

◆ HalContext

friend class HalContext
friend

Definition at line 324 of file HalContext.h.

◆ HalDrive

friend class HalDrive
friend

Definition at line 325 of file HalContext.h.

Member Data Documentation

◆ v_impl

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: