My Project
|
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 #pragma once 00029 #include "Define.h" 00030 #include "DateHelper.h" 00031 #include "StringHelper.h" 00032 #include <string> 00033 #include <vector> 00034 #include <map> 00035 #include <sys/stat.h> 00036 #include <sys/types.h> 00037 00038 namespace SallyAPI 00039 { 00040 namespace String 00041 { 00050 00051 class DLL_API_SALLY CStringCompareWithArray 00052 : public std::binary_function<int,int,bool> 00053 { 00054 private: 00055 std::map<std::string, std::string>* m_pmFoldersFilesDate; 00056 public: 00057 CStringCompareWithArray(std::map<std::string, std::string>* foldersFilesDate); 00058 ~CStringCompareWithArray(); 00059 00060 bool operator()(const std::string &left, const std::string &right); 00061 }; 00062 } 00063 }