Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6domnodeset.h
Go to the documentation of this file.
1 
10 #ifndef P6DOMNODESET_H__
11 #define P6DOMNODESET_H__ 1
12 
13 #include "p6xmlnode.h"
14 
15 
16 #ifdef __cplusplus
17 namespace P6R {
18 extern "C" {
19 #endif
20 
28 #undef INTERFACE
29 #define INTERFACE p6IDOMNodeset
31 {
43  P6DECLCOMMETHOD(next)(P6THIS_ p6IXMLNode** pChild ) P6PURE;
44 
55 
68  P6DECLCOMMETHOD(position)(P6THIS_ P6UINT32* pNumber ) P6PURE;
69 
82  P6DECLCOMMETHOD(last)(P6THIS_ P6UINT32* pNumber ) P6PURE;
83 
96  P6DECLCOMMETHOD(remove)(P6THIS_ P6UINT32 index ) P6PURE;
97 
110  P6DECLCOMMETHOD(getType)(P6THIS_ P6XPATH_TYPE* pType ) P6PURE;
111 
124  P6DECLCOMMETHOD(setType)(P6THIS_ P6XPATH_TYPE type ) P6PURE;
125 
138  P6DECLCOMMETHOD(containsNode)(P6THIS_ p6IXMLNode* pNode, P6BOOL* pbResult ) P6PURE;
139 
154  P6DECLCOMMETHOD(containsValue)(P6THIS_ p6IXMLNode* pNode, P6BOOL* pbResult ) P6PURE;
155 };
156 
157 // {C2F5AD78-C3B5-4934-B2B6-3F22581CAF7B}
158 #define IF_p6IDOMNodeset {0xc2f5ad78,0xc3b5,0x4934,{0xb2,0xb6,0x3f,0x22,0x58,0x1c,0xaf,0x7b}}
159 
160 
161 
169 #undef INTERFACE
170 #define INTERFACE p6IDOMNodesetInit
172 {
184  P6DECLCOMMETHOD(initialize)(P6THIS_ P6DOMXMLFLAGS flags ) P6PURE;
185 
197  P6DECLCOMMETHOD(addNode)(P6THIS_ p6IXMLNode* pNode ) P6PURE;
198 };
199 
200 // {42CDA56E-34C9-4e7d-AE51-7AE1A8E2A4D1}
201 #define IF_p6IDOMNodesetInit {0x42cda56e,0x34c9,0x4e7d,{0xae,0x51,0x7a,0xe1,0xa8,0xe2,0xa4,0xd1}}
202 
203 // {DFBAB835-9FBE-4938-8E89-A9536CDB3BF2}
204 #define COMP_p6DOMNodesetInit {0xdfbab835,0x9fbe,0x4938,{0x8e,0x89,0xa9,0x53,0x6c,0xdb,0x3b,0xf2}}
205 
206 #ifdef __cplusplus
207 }
208 } // namespace
209 #endif
210 
211 
212 
213 #endif
214 
215 
216 
217 
218 
219 
uint32_t P6UINT32
Definition: p6types.h:77
#define P6PURE
Definition: p6defs.h:192
unsigned char P6BOOL
Boolean type.
Definition: p6types.h:133
This component represents an element in an XML or JSON document.
P6XPATH_TYPE
Part of the XPath type system.
Definition: p6domxmltypes.h:46
P6UINT32 P6DOMXMLFLAGS
P6DOMXMLFLAGS.
Definition: p6domxmltypes.h:96
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
This interface is an enumerator over a set of nodes resulting from the evaluation of an XPath express...
Definition: p6domnodeset.h:30
This component represents an element in an XML or JSON document.
Definition: p6xmlnode.h:96
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
This interface is used to create and add XML nodes into a p6IDOMNodeset component.
Definition: p6domnodeset.h:171
#define P6THIS_
Definition: p6defs.h:193
#define P6THIS
Definition: p6defs.h:194
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188