CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_schema_complex_content.h
1
2
3#pragma once
4
5#include <xml/schema/xml_schema_content_model.h>
6#include <system/shared_ptr.h>
7
8
10namespace System
11{
12namespace Xml
13{
14namespace Schema
15{
16class Preprocessor;
17class SchemaCollectionPreprocessor;
18class XmlSchemaContent;
19} // namespace Schema
20} // namespace Xml
21} // namespace System
23
24namespace System {
25
26namespace Xml {
27
28namespace Schema {
29
36class ASPOSECPP_SHARED_CLASS XmlSchemaComplexContent : public XmlSchemaContentModel
37{
40
41 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
42 ASPOSECPP_SHARED_RTTI_INFO_DECL();
43
44public:
45
48
49private:
51 friend class Preprocessor;
52 friend class SchemaCollectionPreprocessor;
54
55public:
56
61 ASPOSECPP_SHARED_API bool get_IsMixed();
64 ASPOSECPP_SHARED_API void set_IsMixed(bool value);
67 ASPOSECPP_SHARED_API SharedPtr<XmlSchemaContent> get_Content() override;
70 ASPOSECPP_SHARED_API void set_Content(SharedPtr<XmlSchemaContent> value) override;
71
73 ASPOSECPP_SHARED_API XmlSchemaComplexContent();
74
75protected:
76
78 bool get_HasMixedAttribute();
79
80 #ifdef ASPOSE_GET_SHARED_MEMBERS
81 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
82 #endif
84
85private:
86
88 bool _isMixed;
89 bool _hasMixedAttribute;
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
The base class for any element that can contain annotation elements.
Definition: xml_schema_annotated.h:35
Represents the complexContent element from XML Schema as specified by the World Wide Web Consortium (...
Definition: xml_schema_complex_content.h:37
void set_Content(SharedPtr< XmlSchemaContent > value) override
Sets the content.
XmlSchemaComplexContent()
Initializes a new instance of the XmlSchemaComplexContent class.
void set_IsMixed(bool value)
Sets information that determines if the type has a mixed content model.
SharedPtr< XmlSchemaContent > get_Content() override
Returns the content.
bool get_IsMixed()
Returns information that determines if the type has a mixed content model.
Specifies the order and structure of the child elements of a type.
Definition: xml_schema_content_model.h:29
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