CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_implementation.h
1
2
3#pragma once
4
5#include <system/object.h>
6
7
9namespace System
10{
11class String;
12namespace Xml
13{
14class XmlDocument;
15class XmlNameTable;
16} // namespace Xml
17} // namespace System
19
20namespace System {
21
22namespace Xml {
23
28class ASPOSECPP_SHARED_CLASS XmlImplementation : public System::Object
29{
32
33 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
34 ASPOSECPP_SHARED_RTTI_INFO_DECL();
35
36public:
37
40
41private:
43 friend class XmlDocument;
45
46public:
47
49 ASPOSECPP_SHARED_API XmlImplementation();
52 ASPOSECPP_SHARED_API XmlImplementation(const SharedPtr<XmlNameTable>& nt);
53
68 ASPOSECPP_SHARED_API bool HasFeature(const String& strFeature, const String& strVersion);
71 virtual ASPOSECPP_SHARED_API SharedPtr<XmlDocument> CreateDocument();
72
73protected:
74
76 SharedPtr<XmlNameTable> get_NameTable();
78
79 virtual ASPOSECPP_SHARED_API ~XmlImplementation();
80
82 #ifdef ASPOSE_GET_SHARED_MEMBERS
83 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
84 #endif
86
87private:
88
89 SharedPtr<XmlNameTable> _nameTable;
90
91};
92
93} // namespace Xml
94} // namespace System
95
96
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
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
Represents an XML document. You can use this class to load, validate, edit, add, and position XML in ...
Definition: xml_document.h:100
Defines the context for a set of XmlDocument objects.
Definition: xml_implementation.h:29
virtual SharedPtr< XmlDocument > CreateDocument()
Creates a new XmlDocument.
bool HasFeature(const String &strFeature, const String &strVersion)
Tests if the Document Object Model (DOM) implementation implements a specific feature.
XmlImplementation()
Initializes a new instance of the XmlImplementation class.
XmlImplementation(const SharedPtr< XmlNameTable > &nt)
Initializes a new instance of the XmlImplementation class with the XmlNameTable specified.
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9