fintp_base
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FinTP::FunctionRegex Class Reference

#include <ExtensionRegex.h>

Inheritance diagram for FinTP::FunctionRegex:

Public Member Functions

virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const LocatorType *locator) const
 Execute an XPath function object. More...
 
virtual FunctionRegex * clone () const
 Implement clone() so Xalan can copy the function into its own function table. More...
 

Protected Member Functions

const XalanDOMString getError () const
 

Private Member Functions

FunctionRegex & operator= (const FunctionRegex &)
 
bool operator== (const FunctionRegex &) const
 

Static Private Member Functions

static void buildNodeNames (const string &regex)
 

Static Private Attributes

static map< string, vector
< string > > 
m_GroupNames
 
static map< string, string > m_Cache
 

Member Function Documentation

void FunctionRegex::buildNodeNames ( const string &  regex)
staticprivate
FunctionRegex * FunctionRegex::clone ( ) const
virtual

Implement clone() so Xalan can copy the function into its own function table.

Returns
pointer to the new object
XObjectPtr FunctionRegex::execute ( XPathExecutionContext &  executionContext,
XalanNode *  context,
const XObjectArgVectorType &  args,
const LocatorType *  locator 
) const
virtual

Execute an XPath function object.

The function must return a valid XObject.

Parameters
executionContextexecuting context
contextcurrent context node
opPoscurrent op position
argsvector of pointers to XObject arguments
Returns
pointer to the result XObject
const XalanDOMString FunctionRegex::getError ( ) const
protected
FunctionRegex& FinTP::FunctionRegex::operator= ( const FunctionRegex &  )
private
bool FinTP::FunctionRegex::operator== ( const FunctionRegex &  ) const
private

Member Data Documentation

map< string, string > FunctionRegex::m_Cache
staticprivate
XALAN_CPP_NAMESPACE_USE map< string, vector< string > > FunctionRegex::m_GroupNames
staticprivate

The documentation for this class was generated from the following files: