CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
namespace_handling.h
1
2
3#pragma once
4
5#include <system/object_ext.h>
6#include <system/enum_helpers.h>
7#include <system/enum.h>
8
9
10namespace System {
11
12namespace Xml {
13
16{
18 Default = 0x0,
21 OmitDuplicates = 0x1
22};
23
25DECLARE_ENUM_OPERATORS(System::Xml::NamespaceHandling);
26DECLARE_USING_GLOBAL_OPERATORS
28
29} // namespace Xml
30} // namespace System
31
33DECLARE_USING_ENUM_OPERATORS(System::Xml);
34
35template<>
36struct EnumMetaInfo<System::Xml::NamespaceHandling>
37{
38 typedef void Flags;
39 static const ASPOSECPP_SHARED_API std::array<std::pair<System::Xml::NamespaceHandling, const char_t*>, 2>& values();
40};
42
43
Definition: reference.h:9
NamespaceHandling
Specifies whether to remove duplicate namespace declarations in the XmlWriter.
Definition: namespace_handling.h:16
@ OmitDuplicates
Specifies that duplicate namespace declarations will be removed. For the duplicate namespace to be re...
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9
std::enable_if< IsExceptionWrapper< T >::value, constT & >::type Default()
Returns the default-constructed instance of the specified type.
Definition: default.h:16