00001 00018 #ifndef __CCACHE_H__ 00019 #define __CCACHE_H__ 00020 00021 #include <string> 00022 #include <vector> 00023 00024 using namespace std; 00025 using std::vector; 00026 class CCache { 00027 00028 public: 00029 00033 CCache(); 00034 00035 00039 CCache(time_t iStartDate, vector <string> vList); 00040 00041 00045 ~CCache(); 00046 00054 vector <string> getCacheIds(); 00055 00062 time_t getCacheStartDate(); 00063 00064 00071 void setCacheStartDate(time_t startDate); 00072 00079 void setCacheIds(vector <string> vList); 00080 00085 string getCommaSeperatedIdString(); 00086 00087 private: 00088 00089 time_t iStartDate; 00090 vector <string> vListId; 00091 00092 }; 00093 00094 #endif