-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxml.h
More file actions
166 lines (141 loc) · 6.27 KB
/
xml.h
File metadata and controls
166 lines (141 loc) · 6.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/*
* @author Mário Soares
* @contributors Jefferson González
*
* @license
* This file is part of wxPHP check the LICENSE file for information.
*
* @note
* This file was auto-generated by the wxPHP source maker
*/
#ifndef WXPHP_XML_H_GUARD
#define WXPHP_XML_H_GUARD
#include "references.h"
ZEND_BEGIN_ARG_INFO_EX(wxphp_xml_get_args, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
extern int le_wxXmlNode;
extern zend_class_entry *php_wxXmlNode_entry;
void php_wxXmlNode_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxXmlNode_php: public wxXmlNode{
public:
wxXmlNode_php(wxXmlNode* parent, wxXmlNodeType type, const wxString& name, const wxString& content=wxEmptyString, wxXmlAttribute* attrs=NULL, wxXmlNode* next=NULL, int lineNo=-1):wxXmlNode(parent, type, name, content, attrs, next, lineNo){}
wxXmlNode_php(wxXmlNodeType type, const wxString& name, const wxString& content=wxEmptyString, int lineNo=-1):wxXmlNode(type, name, content, lineNo){}
wxXmlNode_php(const wxXmlNode& node):wxXmlNode(node){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxXmlNode_functions[] = {
PHP_ME(php_wxXmlNode, AddAttribute, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, AddChild, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, DeleteAttribute, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetAttribute, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetAttributes, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetChildren, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetContent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetDepth, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetLineNumber, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetName, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetNext, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetNoConversion, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetNodeContent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetParent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, GetType, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, HasAttribute, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, InsertChild, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, InsertChildAfter, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, IsWhitespaceOnly, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, RemoveChild, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, SetAttributes, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, SetChildren, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, SetContent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, SetName, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, SetNext, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, SetNoConversion, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, SetParent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, SetType, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlNode, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
extern int le_wxXmlAttribute;
extern zend_class_entry *php_wxXmlAttribute_entry;
void php_wxXmlAttribute_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxXmlAttribute_php: public wxXmlAttribute{
public:
wxXmlAttribute_php():wxXmlAttribute(){}
wxXmlAttribute_php(const wxString& name, const wxString& value, wxXmlAttribute* next=NULL):wxXmlAttribute(name, value, next){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxXmlAttribute_functions[] = {
PHP_ME(php_wxXmlAttribute, GetName, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlAttribute, GetNext, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlAttribute, GetValue, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlAttribute, SetName, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlAttribute, SetNext, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlAttribute, SetValue, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlAttribute, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
extern int le_wxXmlDocument;
extern zend_class_entry *php_wxXmlDocument_entry;
void php_wxXmlDocument_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxXmlDocument_php: public wxXmlDocument{
public:
wxXmlDocument_php():wxXmlDocument(){}
wxXmlDocument_php(const wxXmlDocument& doc):wxXmlDocument(doc){}
wxXmlDocument_php(const wxString& filename, const wxString& encoding="UTF-8"):wxXmlDocument(filename, encoding){}
wxXmlDocument_php(wxInputStream& stream, const wxString& encoding="UTF-8"):wxXmlDocument(stream, encoding){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxXmlDocument_functions[] = {
PHP_ME(php_wxObject, UnShare, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, UnRef, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsSameAs, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, Ref, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, GetClassInfo, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsKindOf, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, AppendToProlog, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, DetachDocumentNode, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, DetachRoot, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, GetDocumentNode, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, GetFileEncoding, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, GetLibraryVersionInfo, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, GetRoot, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, GetVersion, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, IsOk, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, Load, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, Save, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, SetDocumentNode, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, SetFileEncoding, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, SetRoot, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, SetVersion, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxXmlDocument, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
#endif //WXPHP_XML_H_GUARD