CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
json_comment_handling.h
1
#pragma once
2
3
#include <cstdint>
4
#include <array>
5
#include <system/enum.h>
6
7
namespace
System
{
8
9
namespace
Text
{
10
11
namespace
Json {
12
13
enum class
JsonCommentHandling
14
{
15
Disallow
= 0,
16
Skip
= 1,
17
Allow = 2
18
};
19
20
}
// namespace Json
21
}
// namespace Text
22
}
// namespace System
23
26
template
<>
27
struct
EnumMetaInfo<
System
::Text::Json::JsonCommentHandling>
28
{
31
static
const
std::array<std::pair<System::Text::Json::JsonCommentHandling, const char_t*>, 3>& values()
32
{
33
static
std::array<std::pair<System::Text::Json::JsonCommentHandling, const char_t*>, 3> enum_values = {{
34
{
System::Text::Json::JsonCommentHandling::Disallow
, u
"Disallow"
},
35
{
System::Text::Json::JsonCommentHandling::Skip
, u
"Skip"
},
36
{
System::Text::Json::JsonCommentHandling::Allow
, u
"Allow"
},
37
}};
38
return
enum_values;
39
}
40
};
System::Drawing::Imaging::ColorAdjustType::Text
@ Text
Defines color adjustment information for text.
System::Text::Json::JsonCommentHandling
JsonCommentHandling
Definition:
json_comment_handling.h:14
System::Text::Json::JsonCommentHandling::Disallow
@ Disallow
System::Text::Json::JsonCommentHandling::Allow
@ Allow
System::Text::Json::JsonCommentHandling::Skip
@ Skip
System
Definition:
db_command.h:9
include
system
text
json
json_comment_handling.h
Generated by
1.9.4