GATE
gate::sys::StorageVolume Class Reference

Public Types

enum  TypeEnum {
  Type_FixedDrive = GATE_STORAGEVOLUME_TYPE_FIXEDDRIVE , Type_RemovableDrive = GATE_STORAGEVOLUME_TYPE_REMOVABLEDRIVE , Type_RemovableROM = GATE_STORAGEVOLUME_TYPE_REMOVABLEROM , Type_NetworkDrive = GATE_STORAGEVOLUME_TYPE_NETWORKDRIVE ,
  Type_RAMDrive = GATE_STORAGEVOLUME_TYPE_RAMDRIVE , Type_System = GATE_STORAGEVOLUME_TYPE_SYSTEM , Type_SystemPrivte = GATE_STORAGEVOLUME_TYPE_SYSTEMPRIVATE , Type_Unknown = GATE_STORAGEVOLUME_TYPE_UNKNOWN
}
 

Public Member Functions

 StorageVolume (StorageVolume const &src)
 
StorageVolumeoperator= (StorageVolume const &src)
 
String Path () const
 
String Name () const
 
String Uid () const
 
String DevicePath () const
 
String Serial () const
 
String DeviceName () const
 
String FileSystemName () const
 
uint64_t Size () const
 
uint64_t SizeUsed () const
 
uint64_t SizeFree () const
 
TypeEnum VolumeType () const
 
enumint_t Flags () const
 
gate_storagevolume_t const * c_impl () const
 
ControlStream openStream (enumint_t openFlags=Stream::Open_Read)
 

Static Public Member Functions

static Array< StorageVolumefindAll ()
 
static StorageVolume findByPath (String const &path)
 
static StorageVolume findByUid (String const &path)
 
static StorageVolume findByName (String const &path)
 

Static Public Attributes

static enumint_t const Flag_Online = GATE_STORAGEVOLUME_FLAG_ONLINE
 
static enumint_t const Flag_ReadOnly = GATE_STORAGEVOLUME_FLAG_READONLY
 

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