00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __COMMON_H__
00022 #define __COMMON_H__
00023
00024 #include <algorithm>
00025 #include <boost/filesystem/path.hpp>
00026
00031 bool equalEndOfLine (char c);
00032
00037 bool equalComma (char c);
00038
00043 bool equalBlank (char c);
00044
00049 bool equalDot (char c);
00050
00055 bool equalDollar (char c);
00056
00061 bool equalPathSeparator (char c);
00062
00067 struct equalPath : public std::binary_function<boost::filesystem::path,
00068 boost::filesystem::path,
00069 bool>
00070 {
00071 bool operator() (boost::filesystem::path path1,
00072 const boost::filesystem::path & path2) const;
00073 };
00074
00079 struct equivalentPath : public std::binary_function<boost::filesystem::path,
00080 boost::filesystem::path,
00081 bool>
00082 {
00083 bool operator() (boost::filesystem::path path1,
00084 const boost::filesystem::path & path2) const;
00085 };
00086 #endif