XQuilla/include/xqilla/operators/GreaterThan.hpp
2020-02-17 22:05:20 +01:00

39 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: GreaterThan.hpp,v 1.9 2006/11/01 16:37:14 jpcs Exp $
*/
/*
GreaterThan operator function
*/
#ifndef _GREATERTHAN_HPP
#define _GREATERTHAN_HPP
#include <xqilla/framework/XQillaExport.hpp>
#include <xqilla/operators/ComparisonOperator.hpp>
class Collation;
/** OpGreaterThan operator function*/
class XQILLA_API GreaterThan : public ComparisonOperator
{
public:
static const XMLCh name[];
GreaterThan(const VectorOfASTNodes &args, XPath2MemoryManager* memMgr);
static bool greater_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