CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_schema_redefine.h
1
2
3#pragma once
4
5#include <xml/schema/xml_schema_external.h>
6#include <system/shared_ptr.h>
7
8
10namespace System
11{
12namespace Xml
13{
14namespace Schema
15{
16class XmlSchemaAnnotation;
17class XmlSchemaObjectCollection;
18class XmlSchemaObjectTable;
19} // namespace Schema
20} // namespace Xml
21} // namespace System
23
24namespace System {
25
26namespace Xml {
27
28namespace Schema {
29
36class ASPOSECPP_SHARED_CLASS XmlSchemaRedefine : public XmlSchemaExternal
37{
40
41 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
42 ASPOSECPP_SHARED_RTTI_INFO_DECL();
43
44public:
45
48
49public:
50
70
72 ASPOSECPP_SHARED_API XmlSchemaRedefine();
73
74protected:
75
77 ASPOSECPP_SHARED_API void AddAnnotation(SharedPtr<XmlSchemaAnnotation> annotation) override;
78
79 #ifdef ASPOSE_GET_SHARED_MEMBERS
80 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
81 #endif
83
84private:
85
87 SharedPtr<XmlSchemaObjectTable> _attributeGroups;
90
91 ThisType* CppMemberwiseClone() const override { return new ThisType(*this); }
92
93};
94
95} // namespace Schema
96} // namespace Xml
97} // namespace System
98
99
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Provides information about the included schema.
Definition: xml_schema_external.h:38
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
Represents the redefine element from XML Schema as specified by the World Wide Web Consortium (W3C)....
Definition: xml_schema_redefine.h:37
SharedPtr< XmlSchemaObjectTable > get_AttributeGroups()
Returns the XmlSchemaObjectTable , for all attributes in the schema, which holds the post-compilation...
SharedPtr< XmlSchemaObjectCollection > get_Items()
Returns the collection of the following classes: XmlSchemaAnnotation, XmlSchemaAttributeGroup,...
SharedPtr< XmlSchemaObjectTable > get_Groups()
Returns the XmlSchemaObjectTable, for all groups in the schema, which holds the post-compilation inte...
XmlSchemaRedefine()
Initializes a new instance of the XmlSchemaRedefine class.
SharedPtr< XmlSchemaObjectTable > get_SchemaTypes()
Returns the XmlSchemaObjectTable, for all simple and complex types in the schema, which holds the pos...
@ 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