CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_schema_import.h
1
2
3#pragma once
4
5#include <xml/schema/xml_schema_external.h>
6#include <system/string.h>
7
8
10namespace System
11{
12namespace Xml
13{
14namespace Schema
15{
16class XmlSchemaAnnotation;
17} // namespace Schema
18} // namespace Xml
19} // namespace System
21
22namespace System {
23
24namespace Xml {
25
26namespace Schema {
27
33class ASPOSECPP_SHARED_CLASS XmlSchemaImport : public XmlSchemaExternal
34{
37
38 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
39 ASPOSECPP_SHARED_RTTI_INFO_DECL();
40
41public:
42
45
46public:
47
50 ASPOSECPP_SHARED_API String get_Namespace();
53 ASPOSECPP_SHARED_API void set_Namespace(const String& value);
59 ASPOSECPP_SHARED_API void set_Annotation(const SharedPtr<XmlSchemaAnnotation>& value);
60
62 ASPOSECPP_SHARED_API XmlSchemaImport();
63
64protected:
65
67 ASPOSECPP_SHARED_API void AddAnnotation(SharedPtr<XmlSchemaAnnotation> annotation) override;
68
69 #ifdef ASPOSE_GET_SHARED_MEMBERS
70 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
71 #endif
73
74private:
75
76 String _ns;
78
79 ThisType* CppMemberwiseClone() const override { return new ThisType(*this); }
80
81};
82
83} // namespace Schema
84} // namespace Xml
85} // namespace System
86
87
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
Provides information about the included schema.
Definition: xml_schema_external.h:38
Represents the import element from XML Schema as specified by the World Wide Web Consortium (W3C)....
Definition: xml_schema_import.h:34
String get_Namespace()
Returns the target namespace for the imported schema as a Uniform Resource Identifier (URI) reference...
XmlSchemaImport()
Initializes a new instance of the XmlSchemaImport class.
SharedPtr< XmlSchemaAnnotation > get_Annotation()
Returns the annotation value.
void set_Annotation(const SharedPtr< XmlSchemaAnnotation > &value)
Sets the annotation value.
void set_Namespace(const String &value)
Sets the target namespace for the imported schema as a Uniform Resource Identifier (URI) reference.
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