Stores information of a storage.
More...
#include <Imt.Base.OS.WinEC7/StorageInfo.h>
Stores information of a storage.
◆ StorageInfo() [1/2]
imt::base::os::winec7::StorageInfo::StorageInfo |
( |
void |
| ) |
|
|
explicit |
◆ ~StorageInfo()
virtual imt::base::os::winec7::StorageInfo::~StorageInfo |
( |
void |
| ) |
|
|
virtual |
◆ StorageInfo() [2/2]
imt::base::os::winec7::StorageInfo::StorageInfo |
( |
const StorageInfo & |
source | ) |
|
Copy constructor.
- Parameters
-
◆ getDeviceFlags()
uint32_t imt::base::os::winec7::StorageInfo::getDeviceFlags |
( |
void |
| ) |
const |
Gets the flags associated with the device.
- Returns
- The flags associated with the device
◆ getDeviceName()
const std::wstring& imt::base::os::winec7::StorageInfo::getDeviceName |
( |
void |
| ) |
const |
Gets the name of the device.
- Returns
- The name of the device
◆ getDeviceSize()
uint64_t imt::base::os::winec7::StorageInfo::getDeviceSize |
( |
void |
| ) |
const |
Gets the total number of bytes this storage can contain.
- Returns
- The number of bytes
◆ getDeviceType()
uint32_t imt::base::os::winec7::StorageInfo::getDeviceType |
( |
void |
| ) |
const |
Gets the type of the device.
- Returns
- The type of the device
◆ getFileSystemName()
const std::wstring& imt::base::os::winec7::StorageInfo::getFileSystemName |
( |
void |
| ) |
const |
Gets the file system name.
- Returns
- The file system name
◆ getIsMounted()
bool imt::base::os::winec7::StorageInfo::getIsMounted |
( |
void |
| ) |
const |
Gets whether the file system is mounted.
- Returns
- Whether the file system is mounted
◆ getStorageName()
const std::wstring& imt::base::os::winec7::StorageInfo::getStorageName |
( |
void |
| ) |
const |
Gets the name of the storage.
- Returns
- The name of the storage
◆ getVolumeName()
const std::wstring& imt::base::os::winec7::StorageInfo::getVolumeName |
( |
void |
| ) |
const |
Gets the path this storage is mounted to.
Valid only if the file system is valid
- Returns
- The path this storage is mounted to. Valid only if the file system is valid
◆ operator=()
Assignment operator.
- Parameters
-
source | The assignment source |
◆ setDeviceFlags()
void imt::base::os::winec7::StorageInfo::setDeviceFlags |
( |
const uint32_t |
deviceFlags | ) |
|
Sets the flags associated with the device.
- Parameters
-
deviceFlags | The flags associated with the device |
◆ setDeviceName()
void imt::base::os::winec7::StorageInfo::setDeviceName |
( |
const std::wstring & |
deviceName | ) |
|
Sets the name of the device.
- Parameters
-
deviceName | The name of the device |
◆ setDeviceSize()
void imt::base::os::winec7::StorageInfo::setDeviceSize |
( |
const uint64_t |
bytes | ) |
|
Sets the total number of bytes this storage can contain.
- Parameters
-
◆ setDeviceType()
void imt::base::os::winec7::StorageInfo::setDeviceType |
( |
const uint32_t |
deviceType | ) |
|
Sets the type of the device.
- Parameters
-
deviceType | The type of the device |
◆ setFileSystemName()
void imt::base::os::winec7::StorageInfo::setFileSystemName |
( |
const std::wstring & |
fileSystemName | ) |
|
Sets the file system name.
- Parameters
-
fileSystemName | The file system name |
◆ setIsMounted()
void imt::base::os::winec7::StorageInfo::setIsMounted |
( |
const bool |
isMounted | ) |
|
Sets whether the file system is mounted.
- Parameters
-
isMounted | Indicates whether the file system is mounted |
◆ setStorageName()
void imt::base::os::winec7::StorageInfo::setStorageName |
( |
const std::wstring & |
storageName | ) |
|
Sets the name of the storage.
- Parameters
-
storageName | The name of the storage |
◆ setVolumeName()
void imt::base::os::winec7::StorageInfo::setVolumeName |
( |
const std::wstring & |
volumeName | ) |
|
Sets the path this storage is mounted to.
Valid only if the file system is valid
- Parameters
-
volumeName | The path this storage is mounted to. Valid only if the file system is valid |
The documentation for this class was generated from the following file: