CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_schema_group_ref.h
1
2
3#pragma once
4
5#include <xml/schema/xml_schema_particle.h>
6#include <system/shared_ptr.h>
7
8
10namespace System
11{
12namespace Xml
13{
14namespace Schema
15{
16class Compiler;
17class Preprocessor;
18class SchemaCollectionCompiler;
19class XmlSchemaGroup;
20class XmlSchemaGroupBase;
21} // namespace Schema
22class XmlQualifiedName;
23} // namespace Xml
24} // namespace System
26
27namespace System {
28
29namespace Xml {
30
31namespace Schema {
32
38class ASPOSECPP_SHARED_CLASS XmlSchemaGroupRef : public XmlSchemaParticle
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 Compiler;
57
58public:
59
65 ASPOSECPP_SHARED_API void set_RefName(const SharedPtr<XmlQualifiedName>& value);
71
73 ASPOSECPP_SHARED_API XmlSchemaGroupRef();
74
75protected:
76
78 SharedPtr<XmlSchemaGroup> get_Redefined();
79 void set_Redefined(const SharedPtr<XmlSchemaGroup>& value);
80
81 void SetParticle(const SharedPtr<XmlSchemaGroupBase>& value);
82
83 #ifdef ASPOSE_GET_SHARED_MEMBERS
84 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
85 #endif
87
88private:
89
93
94 ThisType* CppMemberwiseClone() const override { return new ThisType(*this); }
95
96};
97
98} // namespace Schema
99} // namespace Xml
100} // namespace System
101
102
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
The base class for any element that can contain annotation elements.
Definition: xml_schema_annotated.h:35
Represents the group element with ref attribute from the XML Schema as specified by the World Wide We...
Definition: xml_schema_group_ref.h:39
SharedPtr< XmlSchemaGroupBase > get_Particle()
Returns one of the XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes, which holds the post-...
XmlSchemaGroupRef()
Initializes a new instance of the XmlSchemaGroupRef class.
void set_RefName(const SharedPtr< XmlQualifiedName > &value)
Sets the name of a group defined in this schema (or another schema indicated by the specified namespa...
SharedPtr< XmlQualifiedName > get_RefName()
Returns the name of a group defined in this schema (or another schema indicated by the specified name...
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
A base class for that is the base class for all particle types (e.g. XmlSchemaAny).
Definition: xml_schema_particle.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