CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
file_access.h
1
2#pragma once
3
4#include <system/enum_helpers.h>
5#include <system/details/enum_meta_info.h>
6
7namespace System { namespace IO {
8
10enum class FileAccess
11{
13 Read = 0x00000001,
15 Write = 0x00000002,
17 ReadWrite = Read | Write
18};
19
22DECLARE_ENUM_OPERATORS(System::IO::FileAccess);
24DECLARE_USING_GLOBAL_OPERATORS
26}} // namespace System::IO
27
29DECLARE_USING_ENUM_OPERATORS(System::IO);
30
31template<>
32struct EnumMetaInfo<System::IO::FileAccess>
33{
34 typedef void Flags;
35 static ASPOSECPP_SHARED_API const std::array<std::pair<System::IO::FileAccess, const char16_t*>, 3>& values();
36};
Definition: fwd.h:38
FileAccess
Specifies the type of access when opening the file.
Definition: file_access.h:11
Definition: db_command.h:9