00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __EXPHELP_H__
00022 #define __EXPHELP_H__
00023
00024 #include <map>
00025
00026 class Exp;
00027 class Assign;
00028 class Assignment;
00029
00030
00031
00032
00033
00034 class lessExpStar : public std::binary_function<Exp*, Exp*, bool> {
00035 public:
00036 bool operator()(const Exp* x, const Exp* y) const;
00037 };
00038
00039
00040
00041
00042
00043
00044 class lessTI : public std::binary_function<Exp*, Exp*, bool> {
00045 public:
00046 bool operator()(const Exp* x, const Exp* y) const;
00047 };
00048
00049
00050 class lessAssignment : public std::binary_function<Assignment*, Assignment*, bool> {
00051 public:
00052 bool operator()(const Assignment* x, const Assignment* y) const;
00053 };
00054
00055
00056
00057 class lessAssign : public std::binary_function<Assign*, Assign*, bool> {
00058 public:
00059 bool operator()(const Assign* x, const Assign* y) const;
00060 };
00061
00062 #endif // __EXPHELP_H__