xtd 0.2.0
Loading...
Searching...
No Matches
file_attributes.h
Go to the documentation of this file.
1
4#pragma once
5#include "../enum.h"
6
8namespace xtd {
10 namespace io {
24 enum class file_attributes {
26 read_only = 0x0001,
28 hidden = 0x0002,
30 system = 0x0004,
32 directory = 0x0010,
34 archive = 0x0020,
36 device = 0x0040,
38 normal = 0x0080,
40 temporary = 0x0100,
42 sparse_file = 0x0200,
44 reparse_point = 0x0400,
46 compressed = 0x0800,
48 offline = 0x1000,
50 not_content_indexed = 0x2000,
52 encrypted = 0x4000
53 };
54 }
55}
56
58flags_attribute_(xtd::io, file_attributes);
59
60template<> struct xtd::enum_register<xtd::io::file_attributes> {
62};
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