61 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::io::file_attributes> {{
xtd::io::file_attributes::read_only,
"read_only"}, {
xtd::io::file_attributes::hidden,
"hidden"}, {
xtd::io::file_attributes::system,
"system"}, {
xtd::io::file_attributes::directory,
"directory"}, {
xtd::io::file_attributes::archive,
"archive"}, {
xtd::io::file_attributes::device,
"device"}, {
xtd::io::file_attributes::normal,
"normal"}, {
xtd::io::file_attributes::temporary,
"temporary"}, {
xtd::io::file_attributes::sparse_file,
"sparse_file"}, {
xtd::io::file_attributes::reparse_point,
"reparse_point"}, {
xtd::io::file_attributes::compressed,
"compressed"}, {
xtd::io::file_attributes::offline,
"offline"}, {
xtd::io::file_attributes::not_content_indexed,
"not_content_indexed"}, {
xtd::io::file_attributes::encrypted,
"encrypted"}};}
Exposes static methods for creating, moving, and enumerating through directories and subdirectories....
Definition directory.h:101
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
file_attributes
Provides attributes for files and directories.
Definition file_attributes.h:24
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.h:22
@ offline
The file is offline. The data of the file is not immediately available.
@ compressed
The file is compressed.
@ encrypted
The file or directory is encrypted. For a file, this means that all data in the file is encrypted....
@ system
The file is a system file. The file is part of the operating system or is used exclusively by the ope...
@ directory
The file is a directory.
@ hidden
The file is hidden, and thus is not included in an ordinary directory listing.
@ sparse_file
The file is a sparse file. Sparse files are typically large files whose data are mostly zeros.
@ reparse_point
The file contains a reparse point, which is a block of user-defined data associated with a file or a ...
@ archive
The file's archive status. Applications use this attribute to mark files for backup or removal.
@ device
Reserved for future use.
@ not_content_indexed
The file will not be indexed by the operating system's content indexing service.
@ read_only
The file is read-only.
@ temporary
The file is temporary. File systems attempt to keep all of the data in memory for quicker access rath...
@ normal
The file is normal and has no other attributes set. This attribute is valid only if used alone.
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.h:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38