Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

xpath_operator.h

Go to the documentation of this file.
00001 //  -*- c++ -*-
00002 
00003 /*
00004  *  This file is part of the KDE libraries
00005  *  Copyright (C) 2004 Richard Moore, rich@kde.org
00006  *
00007  *  This library is free software; you can redistribute it and/or
00008  *  modify it under the terms of the GNU Lesser General Public
00009  *  License as published by the Free Software Foundation; either
00010  *  version 2 of the License, or (at your option) any later version.
00011  *
00012  *  This library is distributed in the hope that it will be useful,
00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  *  Lesser General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU Lesser General Public
00018  *  License along with this library; if not, write to the Free Software
00019  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  */
00022 
00023 #ifndef XPATH_OPERATOR_H
00024 #define XPATH_OPERATOR_H
00025 
00026 #include <qvaluelist.h>
00027 
00028 #include "xpath_value.h"
00029 
00030 namespace XPath {
00031 
00032 class Operator : public ExprNode
00033 {
00034 public:
00035     enum OperatorId {
00036         OperatorOr, OperatorAnd, OperatorEqual, OperatorNotEqual,
00037         OperatorLessThan, OperatorGreaterThan,
00038         OperatorLessThanEquals, OperatorGreaterThanEquals,
00039         OperatorUnaryMinus,
00040         OperatorDiv, OperatorMod,
00041         OperatorPlus, OperatorMinus, OperatorMultiply
00042     };
00043 
00044     Operator( OperatorId id );
00045     virtual ~Operator();
00046 
00047 private:
00048     OperatorId id;
00049 };
00050 
00051 } // namespace XPath
00052 
00053 #endif // XPATH_OPERATOR_H
00054 
00055 // Local Variables:
00056 // c-basic-offset: 4
00057 // End:

Generated on Sat Jan 31 23:28:24 2004 for XPath by doxygen1.2.18