CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xslt_settings.h
1
2
3#pragma once
4
5#include <system/object.h>
6#include <cstdint>
7
8
9namespace System {
10
11namespace Xml {
12
13namespace Xsl {
14
19class ASPOSECPP_SHARED_CLASS XsltSettings final : public System::Object
20{
21 typedef XsltSettings ThisType;
23
24 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
25 ASPOSECPP_SHARED_RTTI_INFO_DECL();
26
27public:
28
31
32public:
33
38 static ASPOSECPP_SHARED_API SharedPtr<XsltSettings> get_Default();
42 static ASPOSECPP_SHARED_API SharedPtr<XsltSettings> get_TrustedXslt();
47 ASPOSECPP_SHARED_API bool get_EnableDocumentFunction();
50 ASPOSECPP_SHARED_API void set_EnableDocumentFunction(bool value);
55 ASPOSECPP_SHARED_API bool get_EnableScript();
58 ASPOSECPP_SHARED_API void set_EnableScript(bool value);
59
61 ASPOSECPP_SHARED_API XsltSettings();
66 ASPOSECPP_SHARED_API XsltSettings(bool enableDocumentFunction, bool enableScript);
67
68protected:
69
71 bool get_CheckOnly();
72 void set_CheckOnly(bool value);
73 bool get_IncludeDebugInformation();
74 void set_IncludeDebugInformation(bool value);
75 int32_t get_WarningLevel();
76 void set_WarningLevel(int32_t value);
77 bool get_TreatWarningsAsErrors();
78 void set_TreatWarningsAsErrors(bool value);
80
81private:
82
83 bool _enableDocumentFunction;
84 bool _enableScript;
85 bool _checkOnly;
86 bool _includeDebugInformation;
87 int32_t _warningLevel;
88 bool _treatWarningsAsErrors;
89
90};
91
92} // namespace Xsl
93} // namespace Xml
94} // namespace System
95
96
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Specifies the XSLT features to support during execution of the XSLT style sheet.
Definition: xslt_settings.h:20
static SharedPtr< XsltSettings > get_TrustedXslt()
Returns an XsltSettings object that enables support for the XSLT document() function and embedded scr...
bool get_EnableDocumentFunction()
Returns a value indicating whether to enable support for the XSLT document() function.
static SharedPtr< XsltSettings > get_Default()
Returns an XsltSettings object with default settings. Support for the XSLT document() function and em...
void set_EnableScript(bool value)
Sets a value indicating whether to enable support for embedded script blocks.
void set_EnableDocumentFunction(bool value)
Sets a value indicating whether to enable support for the XSLT document() function.
XsltSettings(bool enableDocumentFunction, bool enableScript)
Initializes a new instance of the XsltSettings class with the specified settings.
bool get_EnableScript()
Returns a value indicating whether to enable support for embedded script blocks.
XsltSettings()
Initializes a new instance of the XsltSettings class with default settings.
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9