|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CValueCompare { public: enum { equal, notEqual, less, greater, lessOrEqual, greaterOrEqual }; public: CValueCompare(const XContext &pContext); ~CValueCompare(); public: bool Compare( int nOp, const XValue &pValue1, const XValue &pValue2); };
The XPath value comparison engine.
CValue, CContext
Constructor/Destructor Summary | |
CValueCompare
(const XContext &pContext);
����������Constructs the value comparison handler. |
|
~CValueCompare
();
����������Destroys the value comparison handler. |
Function Summary | |
bool
|
Compare
(int nOp, const XValue &pValue1, const XValue &pValue2);
����������Applies the given comparison operation to the pair of values. |
Constructor/Destructor Detail |
CValueCompare(const XContext &pContext);
Constructs the value comparison handler.
pContext
- the evaluation context to
be used by value comparison procedures~CValueCompare();
Destroys the value comparison handler.
Function Detail |
bool Compare( int nOp, const XValue &pValue1, const XValue &pValue2);
Applies the given comparison operation to the pair of values.
The comparison operation code must be supplied. Operation codes are defined by the anonymous enumeration in this class declaration.
nOp
- the comparison operation codepValue1
- the first operandpValue2
- the second operandtrue
if the result of comparison is true;
false
otherwise
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |