zypp::target::hal::HalVolume Class Reference

Hardware abstaction layer storage volume object. More...

#include <HalContext.h>

List of all members.

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
 
Returns:
The Volume drive's device file name.

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

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

bool isDisc () const
bool isPartition () const
bool isMounted () const
std::string getFSType () const
 
Returns:
The filesystem name on the volume.

std::string getFSUsage () const
 
Returns:
The filesystem usage purpose.

std::string getMountPoint () const
 
Returns:
The mount point of the volume.


Private Member Functions

 HalVolume (HalVolume_Impl *impl)

Private Attributes

zypp::RW_pointer
< HalVolume_Impl
v_impl

Friends

class HalContext
class HalDrive


Detailed Description

Hardware abstaction layer storage volume object.

Todo:
: wrap more functions.

Definition at line 262 of file HalContext.h.


Member Typedef Documentation

typedef zypp::RW_pointer<HalVolume_Impl>::unspecified_bool_type zypp::target::hal::HalVolume::bool_type

Definition at line 266 of file HalContext.h.


Constructor & Destructor Documentation

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

Definition at line 914 of file HalContext.cc.

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

Definition at line 927 of file HalContext.cc.

References v_impl.

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

Definition at line 936 of file HalContext.cc.

References v_impl.

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

Definition at line 918 of file HalContext.cc.

References v_impl.


Member Function Documentation

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

Definition at line 945 of file HalContext.cc.

References v_impl.

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

Definition at line 957 of file HalContext.cc.

References v_impl.

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

Definition at line 966 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

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

Returns:
The Volume drive's device file name.

Definition at line 977 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

unsigned int zypp::target::hal::HalVolume::getDeviceMajor (  )  const

Returns:
The Volume drive's device major number.

Definition at line 987 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

unsigned int zypp::target::hal::HalVolume::getDeviceMinor (  )  const

Returns:
The Volume drive's device minor number.

Definition at line 997 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

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

Definition at line 1007 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

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

Definition at line 1017 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

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

Definition at line 1027 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

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

Returns:
The filesystem name on the volume.

Definition at line 1037 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

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

Returns:
The filesystem usage purpose.

Definition at line 1047 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().

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

Returns:
The mount point of the volume.

Definition at line 1077 of file HalContext.cc.

References v_impl, and zypp::target::hal::VERIFY_VOLUME().


Friends And Related Function Documentation

friend class HalContext [friend]

Definition at line 326 of file HalContext.h.

friend class HalDrive [friend]

Definition at line 327 of file HalContext.h.


Member Data Documentation

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

Definition at line 330 of file HalContext.h.

Referenced by getDeviceFile(), getDeviceMajor(), getDeviceMinor(), getFSType(), getFSUsage(), getMountPoint(), getUDI(), HalVolume(), isDisc(), isMounted(), isPartition(), operator bool_type(), operator=(), and ~HalVolume().


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:28 2007 for libzypp by  doxygen 1.5.3