Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

XpathDBValuer Class Reference

#include <xpathdbvaluer.hpp>

Inheritance diagram for XpathDBValuer:

Inheritance graph
[legend]
Collaboration diagram for XpathDBValuer:

Collaboration graph
[legend]
List of all members.

Detailed Description

(Pseudo) Xpath valuer class.

Definition at line 53 of file xpathdbvaluer.hpp.

Public Methods

 XpathDBValuer ()
void setRoot (DBObjectNode *p_pSAXDBNodeRoot)
 Sets root object node.

char * calculateExpression (const char *p_pszExpression)
 Returns result of provided expression.


Constructor & Destructor Documentation

BEGIN_XDFLENGINE_NS XpathDBValuer::XpathDBValuer  
 

Definition at line 51 of file xpathdbvaluer.cpp.


Member Function Documentation

char * XpathDBValuer::calculateExpression const char *    p_pszExpression [virtual]
 

Returns result of provided expression.

Parameters:
p_strExpression (string) a XPATH: expression
Returns:
(string) expression result.

Implements XMLValuer.

Definition at line 68 of file xpathdbvaluer.cpp.

References copyCharBuffer(), DBOBJECTTYPE_FIELD, DBOBJECTTYPE_NODE, DEBUG_FUNC, DBObject::getType(), and DBObjectNode::selectSingleNode().

void XpathDBValuer::setRoot DBObjectNode   p_pSAXDBNodeRoot
 

Sets root object node.

Parameters:
p_pSAXDBNodeRoot (DBObjectNode*) Request root object node.

Definition at line 59 of file xpathdbvaluer.cpp.

References DEBUG_FUNC.

Referenced by DBObjectNode::calculateRelValue().


The documentation for this class was generated from the following files:
Generated on Sat Oct 4 13:25:08 2003 for XDFLengine by doxygen1.3-rc2