Developer's Guide
Guide
Modules
Index
Files
v2016.3.18329
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
cxpathextend.h
#ifndef CXPATHEXTEND_H__
#define CXPATHEXTEND_H__ 1
#include "p6xjr.h"
//
class
CXpathExtend :
public
P6R::p6IXpathVariables
{
public
:
P6COMMETHOD
queryInterface
(
const
P6REFIID
iid,
P6R::P6VOID
**ppIface );
P6COMMETHOD_
(
P6R::P6INT32
) addref()
{
return
m_cRef++;
}
P6COMMETHOD_
(
P6R::P6INT32
) release()
{
P6R::P6INT32
tmp = 0;
if
(0 == (tmp = (--m_cRef))) {
delete
this
; }
return
tmp;
}
P6COMMETHOD
lookupVariable
(
P6R::P6WCHAR
* pVarName,
P6R::P6XPATH_VAR
* pVarValue );
P6COMMETHOD
externFunction
(
P6R::P6WCHAR
* pFuncName,
P6R::P6UINT32
funcLength,
P6R::P6XPATH_RESULT
* pParams,
P6R::P6UINT32
numParams,
P6R::P6XPATH_VAR
* pVarValue );
CXpathExtend();
virtual
~CXpathExtend();
P6R::P6ERR
initialize(
P6R::p6ISafeString
* pStr );
protected
:
P6R::P6ERR
matchFunction(
P6R::P6WCHAR
* pFunctionName,
P6R::P6UINT32
* pFunctionCode );
P6R::P6INT32
m_cRef;
P6R::P6BOOL
m_bInitialized;
// -> don't allow any operation until properly initialized
P6R::p6ISafeString
* m_pStr;
// ->
};
#endif
© 2004 - 2014 P6R Inc. - All Rights Reserved.