/* * Copyright (c) 2001, DecisionSoft Limited All rights reserved. * Please see LICENSE.TXT for more information. */ /* Compare function */ #ifndef _FUNCTIONCOMPARE_HPP #define _FUNCTIONCOMPARE_HPP #include #include /** Contains function. */ class PATHAN_EXPORT FunctionCompare : public ConstantFoldingFunction { public: static const XMLCh name[]; FunctionCompare(const VectorOfDataItems &args, XPath2MemoryManager* memMgr); /** XPath function. returns true if string1 conatins string2 **/ Sequence collapseTreeInternal(DynamicContext* context, int flags=0) const; }; #endif // _FUNCTIONCOMPARE_HPP