CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_schema_notation.h
1
2
3#pragma once
4
5#include <xml/schema/xml_schema_annotated.h>
6#include <system/string.h>
7
8
10namespace System
11{
12namespace Xml
13{
14namespace Schema
15{
16class Compiler;
17class Preprocessor;
18class SchemaCollectionCompiler;
19class SchemaCollectionPreprocessor;
20} // namespace Schema
21class XmlQualifiedName;
22} // namespace Xml
23} // namespace System
25
26namespace System {
27
28namespace Xml {
29
30namespace Schema {
31
38class ASPOSECPP_SHARED_CLASS XmlSchemaNotation : public XmlSchemaAnnotated
39{
42
43 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44 ASPOSECPP_SHARED_RTTI_INFO_DECL();
45
46public:
47
50
51private:
53 friend class Preprocessor;
54 friend class SchemaCollectionCompiler;
55 friend class SchemaCollectionPreprocessor;
56 friend class Compiler;
58
59public:
60
63 ASPOSECPP_SHARED_API String get_Name();
66 ASPOSECPP_SHARED_API void set_Name(const String& value);
69 ASPOSECPP_SHARED_API String get_Public();
72 ASPOSECPP_SHARED_API void set_Public(const String& value);
75 ASPOSECPP_SHARED_API String get_System();
78 ASPOSECPP_SHARED_API void set_System(const String& value);
79
81 ASPOSECPP_SHARED_API XmlSchemaNotation();
82
83protected:
84
86 SharedPtr<XmlQualifiedName> get_QualifiedName();
87 void set_QualifiedName(const SharedPtr<XmlQualifiedName>& value);
88 ASPOSECPP_SHARED_API String get_NameAttribute() override;
89 ASPOSECPP_SHARED_API void set_NameAttribute(String value) override;
90
91 #ifdef ASPOSE_GET_SHARED_MEMBERS
92 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
93 #endif
95
96private:
97
98 String _name;
99 String _publicId;
100 String _systemId;
102
103 ThisType* CppMemberwiseClone() const override { return new ThisType(*this); }
104
105};
106
107} // namespace Schema
108} // namespace Xml
109} // namespace System
110
111
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
The base class for any element that can contain annotation elements.
Definition: xml_schema_annotated.h:35
Represents the notation element from XML Schema as specified by the World Wide Web Consortium (W3C)....
Definition: xml_schema_notation.h:39
void set_System(const String &value)
Sets the system identifier.
String get_System()
Returns the system identifier.
void set_Public(const String &value)
Sets the public identifier.
String get_Name()
Returns the name of the notation.
String get_Public()
Returns the public identifier.
XmlSchemaNotation()
Initializes a new instance of the XmlSchemaNotation class.
void set_Name(const String &value)
Sets the name of the notation.
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