GATE
gate::sys::StorageDrive Class Reference

Public Types

enum  DriveTypeEnum {
  DriveType_All = GATE_STORAGEDRIVE_TYPE_ALL , DriveType_Standard = GATE_STORAGEDRIVE_TYPE_STANDARD , DriveType_ROM = GATE_STORAGEDRIVE_TYPE_ROM , DriveType_Floppy = GATE_STORAGEDRIVE_TYPE_REMOVABLE ,
  DriveType_Virtual = GATE_STORAGEDRIVE_TYPE_VIRTUAL
}
 

Public Member Functions

 StorageDrive (StorageDrive const &src)
 
StorageDriveoperator= (StorageDrive const &src)
 
String Path () const
 
String Name () const
 
String Uid () const
 
String DevicePath () const
 
String ProductName () const
 
String Vendor () const
 
uint64_t Size () const
 
uint64_t BlockCount () const
 
uint64_t BlockSize () const
 
uint32_t DeviceIndex () const
 
DriveTypeEnum DriveType () const
 
enumint_t Flags () const
 
gate_storagedrive_t const * c_impl () const
 
ControlStream openStream (enumint_t openflags)
 

Static Public Member Functions

static Array< StorageDrivefindAll (DriveTypeEnum driveType=DriveType_All)
 
static StorageDrive findByPath (String const &path)
 
static StorageDrive findByUid (String const &path)
 
static StorageDrive findByName (String const &path)
 
static StorageDrive findByDevicePath (String const &path)
 

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