VHISTlib
1.84.0.3018
|
00001 /* $HEADERS 00002 $Id: checkoperatortypes.h 2168 2011-05-30 09:09:54Z ahuesgen $ 00003 */ 00004 00005 #ifndef CHECKOPERATORTYPES_H 00006 #define CHECKOPERATORTYPES_H 00007 00008 #include "expressiontreenode.h" 00009 #include "queryerror.h" 00010 #include "../shared/misc_defines.h" 00011 00012 #include <QString> 00013 00014 namespace vhist 00015 { 00016 00017 void checkLogicalOperators(SPExpressionTreeNode node, 00018 const QString& type0, const QString& type1, QueryErrors& errors); 00019 void checkComparissonOperators(SPExpressionTreeNode node, 00020 const QString& type0, const QString& type1, QueryErrors& errors); 00021 void checkStringOperators(SPExpressionTreeNode node, 00022 const QString& type0, const QString& type1, QueryErrors& errors); 00023 void checkNumberOperators(SPExpressionTreeNode node, 00024 const QString& type0, const QString& type1, QueryErrors& errors); 00025 void checkUnaryLogicalOperators(SPExpressionTreeNode node, 00026 const QString& type0, QueryErrors& errors); 00027 } 00028 00029 #endif // CHECKOPERATORTYPES_H