Unicorn XML Toolkit
Version 1.00.00

Namespace Xpath
Class CPredicate

class CPredicate: public CInterface {
public:
    CPredicate(const XExpr &pExpr);
    ~CPredicate();
public:
    bool Evaluate(const XContext &pContext);
    };

The XPath predicate.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CContext, CExpr
Constructor/Destructor Summary
CPredicate (const XExpr &pExpr);
����������Constructs the predicate.
~CPredicate ();
����������Destroys the predicate.

Function Summary
bool Evaluate (const XContext &pContext);
����������Evaluates this predicate in the given context.

Constructor/Destructor Detail

CPredicate

CPredicate(const XExpr &pExpr);

Constructs the predicate.

Parameters:
pExpr - the expression to be associated with this predicate

~CPredicate

~CPredicate();

Destroys the predicate.

Function Detail

Evaluate

bool Evaluate(const XContext &pContext);

Evaluates this predicate in the given context.

Parameters:
pContext - the evaluation context
Returns:
true if this predicate evaluates to true; false otherwise

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.