CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_schema_documentation.h
1
2
3#pragma once
4
5#include <xml/schema/xml_schema_object.h>
6#include <system/array.h>
7
8
10namespace System
11{
12namespace Xml
13{
14namespace Schema
15{
16class XmlSchemaSimpleType;
17} // namespace Schema
18class XmlNode;
19} // namespace Xml
20} // namespace System
22
23namespace System {
24
25namespace Xml {
26
27namespace Schema {
28
34class ASPOSECPP_SHARED_CLASS XmlSchemaDocumentation : public XmlSchemaObject
35{
38
39 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
40 ASPOSECPP_SHARED_RTTI_INFO_DECL();
41
42public:
43
46
47public:
48
51 ASPOSECPP_SHARED_API String get_Source();
54 ASPOSECPP_SHARED_API void set_Source(const String& value);
57 ASPOSECPP_SHARED_API String get_Language();
60 ASPOSECPP_SHARED_API void set_Language(const String& value);
63 ASPOSECPP_SHARED_API ArrayPtr<SharedPtr<XmlNode>> get_Markup();
66 ASPOSECPP_SHARED_API void set_Markup(const ArrayPtr<SharedPtr<XmlNode>>& value);
67
68protected:
69
71 #ifdef ASPOSE_GET_SHARED_MEMBERS
72 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
73 #endif
75
76private:
77
78 String _source;
79 String _language;
81 static SharedPtr<XmlSchemaSimpleType> s_languageType;
82
83 static struct __StaticConstructor__ { __StaticConstructor__(); } s_constructor__;
84
85 ThisType* CppMemberwiseClone() const override { return new ThisType(*this); }
86
87};
88
89} // namespace Schema
90} // namespace Xml
91} // namespace System
92
93
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Represents the documentation element from XML Schema as specified by the World Wide Web Consortium (W...
Definition: xml_schema_documentation.h:35
void set_Source(const String &value)
Sets the Uniform Resource Identifier (URI) source of the information.
ArrayPtr< SharedPtr< XmlNode > > get_Markup()
Returns an array of XmlNode objects that represents the documentation child nodes.
void set_Language(const String &value)
Sets the xml:lang attribute. This serves as an indicator of the language used in the contents.
String get_Language()
Returns the xml:lang attribute. This serves as an indicator of the language used in the contents.
void set_Markup(const ArrayPtr< SharedPtr< XmlNode > > &value)
Sets an array of XmlNode objects that represents the documentation child nodes.
String get_Source()
Returns the Uniform Resource Identifier (URI) source of the information.
Represents the root class for the Xml schema object model hierarchy and serves as a base class for cl...
Definition: xml_schema_object.h:47
@ Schema
Validate according to XML Schema definition language (XSD) schemas, including inline XML Schemas....
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9