1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __gnu_xml_xpath_ArithmeticExpr__ 5 #define __gnu_xml_xpath_ArithmeticExpr__ 6 7 #pragma interface 8 9 #include <gnu/xml/xpath/Expr.h> 10 extern "Java" 11 { 12 namespace gnu 13 { 14 namespace xml 15 { 16 namespace xpath 17 { 18 class ArithmeticExpr; 19 class Expr; 20 } 21 } 22 } 23 namespace javax 24 { 25 namespace xml 26 { 27 namespace namespace$ 28 { 29 class QName; 30 } 31 } 32 } 33 namespace org 34 { 35 namespace w3c 36 { 37 namespace dom 38 { 39 class Node; 40 } 41 } 42 } 43 } 44 45 class gnu::xml::xpath::ArithmeticExpr : public ::gnu::xml::xpath::Expr 46 { 47 48 public: // actually package-private 49 ArithmeticExpr(::gnu::xml::xpath::Expr *, ::gnu::xml::xpath::Expr *, jint); 50 public: 51 ::java::lang::Object * evaluate(::org::w3c::dom::Node *, jint, jint); 52 ::gnu::xml::xpath::Expr * clone(::java::lang::Object *); 53 jboolean references(::javax::xml::namespace$::QName *); 54 ::java::lang::String * toString(); 55 public: // actually package-private 56 static const jint ADD = 0; 57 static const jint SUBTRACT = 1; 58 static const jint MULTIPLY = 2; 59 static const jint DIVIDE = 3; 60 static const jint MODULO = 4; 61 ::gnu::xml::xpath::Expr * __attribute__((aligned(__alignof__( ::gnu::xml::xpath::Expr)))) lhs; 62 ::gnu::xml::xpath::Expr * rhs; 63 jint op; 64 public: 65 static ::java::lang::Class class$; 66 }; 67 68 #endif // __gnu_xml_xpath_ArithmeticExpr__ 69