47 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::io::drive_type> {{
xtd::io::drive_type::unknown,
"unknown"}, {
xtd::io::drive_type::no_root_directory,
"no_root_directory"}, {
xtd::io::drive_type::removable,
"removable"}, {
xtd::io::drive_type::fixed,
"fixed"}, {
xtd::io::drive_type::network,
"network"}, {
xtd::io::drive_type::cd_rom,
"cd_rom"}, {
xtd::io::drive_type::ram,
"ram"}};}
drive_type
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory,...
Definition drive_type.hpp:26
@ ram
The drive is a RAM disk.
@ no_root_directory
The drive does not have a root directory.
@ network
The drive is a network drive.
@ removable
The drive is a removable storage device, such as a floppy disk drive or a USB flash drive.
@ unknown
The type of drive is unknown.
@ cd_rom
The drive is an optical disc device, such as a CD or DVD-ROM.
@ fixed
The drive is a fixed disk.
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38