Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6xpathvariables.h
Go to the documentation of this file.
1 
12 #ifndef P6XPATHVARIABLES_H__
13 #define P6XPATHVARIABLES_H__ 1
14 
15 #include "p6domxml.h"
16 
17 
18 #ifdef __cplusplus
19 namespace P6R {
20 extern "C" {
21 #endif
22 
46 // ->
47 typedef struct
48 {
49  P6XPATH_TYPE type; // -> which type is used?
56  const P6WCHAR* pString;
57  P6UINT32 strLength; // -> the length of characters in pString
61 } P6XPATH_VAR;
62 
63 
88 #undef INTERFACE
89 #define INTERFACE p6IXpathVariables
91 {
105  P6DECLCOMMETHOD(lookupVariable)(P6THIS_ P6WCHAR* pVarName,
106  P6XPATH_VAR* pVarValue
107  ) P6PURE;
108 
130  P6DECLCOMMETHOD(externFunction)(P6THIS_ P6WCHAR* pFuncName,
131  P6UINT32 funcLength,
132  P6XPATH_RESULT* pParams,
133  P6UINT32 numParams,
134  P6XPATH_VAR* pVarValue
135  ) P6PURE;
136 };
137 
138 // {8E994BE3-41C9-4a22-8EED-17DBD907C824}
139 #define IF_p6IXpathVariables {0x8e994be3,0x41c9,0x4a22,{0x8e,0xed,0x17,0xdb,0xd9,0x7,0xc8,0x24}}
140 
141 #ifdef __cplusplus
142 }
143 } // namespace
144 #endif
145 
146 
147 #endif
148 
149 
150 
151 
152 
153 
p6IXpathTime * ptResult
uint32_t P6UINT32
Definition: p6types.h:77
P6XPATH_TYPE type
#define P6PURE
Definition: p6defs.h:192
The return value form an XPath 2.0 expression evaluation.
Definition: p6domxml.h:50
unsigned char P6BOOL
Boolean type.
Definition: p6types.h:133
This interface is an implementation of the following XPath 2.0 time types: xs:date, xs:dateTime, xs:time.
Definition: p6xpathtime.h:29
P6R's interface of the DOM parser.
P6XPATH_TYPE
Part of the XPath type system.
Definition: p6domxmltypes.h:46
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition: p6types.h:111
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
int64_t P6INT64
Definition: p6types.h:78
When XPath 2.0 does not recognize a function name it tries to call out to a registered application (v...
Binary string.
Definition: p6types.h:185
p6IDOMNodeset * pNodeSet
const P6WCHAR * pString
This interface is implemented by the application making use of the p6xpathexpression component...
This interface is an enumerator over a set of nodes resulting from the evaluation of an XPath express...
Definition: p6domnodeset.h:30
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
double P6FLOAT
Definition: p6types.h:93
int32_t P6INT32
Definition: p6types.h:76
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188