CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_schema_choice.h
1
2
3#pragma once
4
5#include <xml/schema/xml_schema_group_base.h>
6#include <system/shared_ptr.h>
7
8
10namespace System
11{
12namespace Xml
13{
14namespace Schema
15{
16class XmlSchemaObjectCollection;
17} // namespace Schema
18} // namespace Xml
19} // namespace System
21
22namespace System {
23
24namespace Xml {
25
26namespace Schema {
27
33class ASPOSECPP_SHARED_CLASS XmlSchemaChoice : public XmlSchemaGroupBase
34{
37
38 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
39 ASPOSECPP_SHARED_RTTI_INFO_DECL();
40
41public:
42
45
46public:
47
51 ASPOSECPP_SHARED_API SharedPtr<XmlSchemaObjectCollection> get_Items() override;
52
54 ASPOSECPP_SHARED_API XmlSchemaChoice();
55
56protected:
57
59 ASPOSECPP_SHARED_API bool get_IsEmpty() override;
60
61 ASPOSECPP_SHARED_API void SetItems(SharedPtr<XmlSchemaObjectCollection> newItems) override;
62
63 #ifdef ASPOSE_GET_SHARED_MEMBERS
64 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
65 #endif
67
68private:
69
71
72 ThisType* CppMemberwiseClone() const override { return new ThisType(*this); }
73
74};
75
76} // namespace Schema
77} // namespace Xml
78} // namespace System
79
80
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 choice element (compositor) from the XML Schema as specified by the World Wide Web Con...
Definition: xml_schema_choice.h:34
XmlSchemaChoice()
Initializes a new instance of the XmlSchemaChoice class.
SharedPtr< XmlSchemaObjectCollection > get_Items() override
Returns the collection of the elements contained with the compositor (choice): XmlSchemaElement,...
An abstract class for XmlSchemaAll, XmlSchemaChoice, or XmlSchemaSequence.
Definition: xml_schema_group_base.h:30
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