1
//============================================================================
5
// SS tttttt eeee ll ll aaaa
6
// SSSS tt ee ee ll ll aa
7
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emulator"
8
// SS SS tt ee ll ll aa aa
9
// SSSS ttt eeeee llll llll aaaaa
11
// Copyright (c) 1995-2005 by Bradford W. Mott and the Stella team
13
// See the file "license" for information on usage and redistribution of
14
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
16
// $Id: GreaterExpression.hxx,v 1.2 2005/07/27 01:36:50 urchlay Exp $
17
//============================================================================
19
#ifndef GREATER_EXPRESSION_HXX
20
#define GREATER_EXPRESSION_HXX
23
#include "Expression.hxx"
27
@version $Id: GreaterExpression.hxx,v 1.2 2005/07/27 01:36:50 urchlay Exp $
29
class GreaterExpression : public Expression
32
GreaterExpression(Expression *left, Expression *right);
33
uInt16 evaluate() { return myLHS->evaluate() > myRHS->evaluate(); }