CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_linked_node.h
1
2
3#pragma once
4
5#include <xml/xml_node.h>
6#include <system/shared_ptr.h>
7
8
10namespace System
11{
12namespace Xml
13{
14class XmlAttribute;
15class XmlCharacterData;
16class XmlDeclaration;
17class XmlDocument;
18class XmlDocumentType;
19class XmlElement;
20class XmlEntityReference;
21class XmlProcessingInstruction;
22} // namespace Xml
23} // namespace System
25
26namespace System {
27
28namespace Xml {
29
31class ASPOSECPP_SHARED_CLASS XmlLinkedNode : public XmlNode
32{
33 typedef XmlLinkedNode ThisType;
34 typedef XmlNode BaseType;
35
36 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
37 ASPOSECPP_SHARED_RTTI_INFO_DECL();
38
39public:
40
43
44private:
46 friend class XmlAttribute;
47 friend class XmlNode;
48 friend class XmlCharacterData;
49 friend class XmlDeclaration;
50 friend class XmlDocument;
51 friend class XmlDocumentType;
52 friend class XmlElement;
53 friend class XmlEntityReference;
54 friend class XmlProcessingInstruction;
56
57protected:
58
60 XmlLinkedNode* _prev;
62
63 const SharedPtr<XmlLinkedNode>& get_next()
64 {
65 return _next;
66 }
67
68 void set_next(const SharedPtr<XmlLinkedNode>& value);
69 ASPOSECPP_SHARED_API SharedPtr<XmlNode> get_PreviousSiblingInternal() override;
70 ASPOSECPP_SHARED_API SharedPtr<XmlNode> get_NextSiblingInternal() override;
71
75
76 virtual ASPOSECPP_SHARED_API ~XmlLinkedNode();
77
79 #ifdef ASPOSE_GET_SHARED_MEMBERS
80 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
81 #endif
83
84};
85
86} // namespace Xml
87} // namespace System
88
89
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Represents an attribute. Valid and default values for the attribute are defined in a document type de...
Definition: xml_attribute.h:50
Provides text manipulation methods that are used by several classes.
Definition: xml_character_data.h:36
Represents the XML declaration node <?xml version='1.0'...?>.
Definition: xml_declaration.h:32
Represents an XML document. You can use this class to load, validate, edit, add, and position XML in ...
Definition: xml_document.h:100
Represents the document type declaration.
Definition: xml_document_type.h:37
Represents an element.
Definition: xml_element.h:51
Represents an entity reference node.
Definition: xml_entity_reference.h:32
Returns the node immediately preceding or following this node.
Definition: xml_linked_node.h:32
Represents a single node in the XML document.
Definition: xml_node.h:75
Represents a processing instruction, which XML defines to keep processor-specific information in the ...
Definition: xml_processing_instruction.h:36
@ Xml
Serialize according to the XML 1.0 rules.
@ XmlDeclaration
The XML declaration (for example, <?xml version='1.0'?>). The XmlNodeType::XmlDeclaration node must b...
Definition: db_command.h:9