41 lines
1 KiB
C++
41 lines
1 KiB
C++
/*
|
|
* Copyright (c) 2001-2006
|
|
* DecisionSoft Limited. All rights reserved.
|
|
* Copyright (c) 2004-2006
|
|
* Progress Software Corporation. All rights reserved.
|
|
* Copyright (c) 2004-2006
|
|
* Oracle. All rights reserved.
|
|
*
|
|
* See the file LICENSE for redistribution information.
|
|
*
|
|
* $Id: LessThan.hpp,v 1.9 2006/11/01 16:37:14 jpcs Exp $
|
|
*/
|
|
|
|
/*
|
|
LessThan operator function
|
|
*/
|
|
|
|
#ifndef _LESSTHAN_HPP
|
|
#define _LESSTHAN_HPP
|
|
|
|
#include <xqilla/framework/XQillaExport.hpp>
|
|
|
|
#include <xqilla/operators/ComparisonOperator.hpp>
|
|
|
|
class Collation;
|
|
|
|
/** OpLessThan operator function*/
|
|
class XQILLA_API LessThan : public ComparisonOperator
|
|
{
|
|
public:
|
|
static const XMLCh name[];
|
|
|
|
LessThan(const VectorOfASTNodes &args, XPath2MemoryManager* memMgr);
|
|
|
|
static bool less_than(const AnyAtomicType::Ptr &arg1, const AnyAtomicType::Ptr &arg2, Collation* collation, DynamicContext* context, const LocationInfo *info);
|
|
|
|
bool execute(const AnyAtomicType::Ptr &atom1, const AnyAtomicType::Ptr &atom2, DynamicContext *context) const;
|
|
};
|
|
|
|
#endif // _LESSTHAN_HPP
|
|
|