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
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 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 893 of file HalContext.cc.

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

Definition at line 906 of file HalContext.cc.

References zypp::target::hal::g_Mutex, and v_impl.

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

Definition at line 915 of file HalContext.cc.

References zypp::target::hal::g_Mutex, zypp::RW_pointer< _D, _Traits >::reset(), and v_impl.

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

Definition at line 897 of file HalContext.cc.

References zypp::target::hal::g_Mutex, zypp::RW_pointer< _D, _Traits >::reset(), and v_impl.


Member Function Documentation

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

Definition at line 924 of file HalContext.cc.

References zypp::target::hal::g_Mutex, and v_impl.

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

Definition at line 936 of file HalContext.cc.

References zypp::target::hal::g_Mutex, and v_impl.

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

Definition at line 945 of file HalContext.cc.

References zypp::target::hal::g_Mutex, 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 956 of file HalContext.cc.

References zypp::target::hal::g_Mutex, 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 966 of file HalContext.cc.

References zypp::target::hal::g_Mutex, 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 976 of file HalContext.cc.

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

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

Definition at line 986 of file HalContext.cc.

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

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

Definition at line 996 of file HalContext.cc.

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

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

Definition at line 1006 of file HalContext.cc.

References zypp::target::hal::g_Mutex, 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 1016 of file HalContext.cc.

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

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

Returns:
The filesystem usage purpose.

Definition at line 1026 of file HalContext.cc.

References zypp::target::hal::g_Mutex, 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 1056 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 Thu Jul 6 00:07:35 2006 for zypp by  doxygen 1.4.6