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 namespace P6R {
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
46 // ->
47 typedef struct
48 {
49  P6R::P6XPATH_TYPE type; // -> which type is used?
57  P6R::P6UINT32 strLength; // -> the length of characters in pString
61 } P6XPATH_VAR;
62 
63 
88 interface p6IXpathVariables : public p6ICom
89 {
104  P6XPATH_VAR* pVarValue
105  ) = 0;
106 
128  P6COMMETHOD externFunction( P6WCHAR* pFuncName,
129  P6UINT32 funcLength,
130  P6XPATH_RESULT* pParams,
131  P6UINT32 numParams,
132  P6XPATH_VAR* pVarValue
133  ) = 0;
134 };
135 
136 // {8E994BE3-41C9-4a22-8EED-17DBD907C824}
137 #define IF_p6IXpathVariables {0x8e994be3,0x41c9,0x4a22,{0x8e,0xed,0x17,0xdb,0xd9,0x7,0xc8,0x24}}
138 
139 #ifdef __cplusplus
140 }
141 #endif
142 
143 } // namespace
144 
145 
146 #endif
147 
148 
149 
150 
151 
152 
P6LONGLONG P6INT64
Definition: p6types.h:50
unsigned int P6UINT32
Definition: p6types.h:40
P6R::p6IDOMNodeset * pNodeSet
The return value form an XPath 2.0 expression evaluation.
Definition: p6domxml.h:50
bool P6BOOL
Boolean type.
Definition: p6types.h:101
P6R::P6FLOAT fResult
This interface is an implementation of the following XPath 2.0 time types: xs:date, xs:dateTime, xs:time.
Definition: p6xpathtime.h:27
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:76
int P6INT32
Definition: p6types.h:41
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:96
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:154
P6R::P6UINT32 uResult
virtual P6R::P6ERR lookupVariable(P6WCHAR *pVarName, P6XPATH_VAR *pVarValue)=0
Look up the value of a variable, which is of the form $name, in a registered component.
P6R::P6BSTR encodedBinary
This interface is implemented by the application making use of the p6xpathexpression component...
P6R::P6INT64 lResult
P6R::P6XPATH_TYPE type
This interface is an enumerator over a set of nodes resulting from the evaluation of an XPath express...
Definition: p6domnodeset.h:28
P6R::p6IXpathTime * ptResult
P6R::P6UINT32 strLength
#define P6COMMETHOD
Definition: p6types.h:872
const P6R::P6WCHAR * pString
virtual P6R::P6ERR externFunction(P6WCHAR *pFuncName, P6UINT32 funcLength, P6XPATH_RESULT *pParams, P6UINT32 numParams, P6XPATH_VAR *pVarValue)=0
Invoke a function defined in an external component (e.g., an XSLT function).
double P6FLOAT
Definition: p6types.h:63
P6R::P6BSTR binaryResult
P6R::P6INT32 iResult
P6R::P6BOOL bResult