00001 00014 #ifndef _cSoftwareSqlString_h 00015 #define _cSoftwareSqlString_h 00016 00017 #include "TypesDef.h" 00018 #include "cSoftware.h" 00019 00020 #include <string> 00021 #include <list> 00022 using std::string; 00023 using std::list; 00024 00025 class cSoftwareSqlString 00026 { 00027 public: 00029 cSoftwareSqlString(void); 00030 00032 ~cSoftwareSqlString(void); 00033 00035 const string GetTable(void); 00036 const string GetSoftware (void) const; 00037 00038 const string GetData(const string sMd4); 00039 00040 const string GetInsertEntry2Software(cSoftware* pSoftware); 00041 00042 const string GetUpdateSoftware(cSoftware* pSoftware); 00043 00044 const string GetDelete(const string sMd4); 00045 00047 const list<string> GetAllColNames(void); 00048 00049 protected: 00050 00051 private: 00052 //************************************ 00053 // Note: Get functions ONLY, 00054 // no Set functions. 00055 // These are constant fuctions. 00056 //************************************ 00057 00058 const string GetMd4 (void) const; 00059 const string GetDate (void) const; 00060 const string GetVersion (void) const; 00061 const string GetLanguage (void) const; 00062 const string GetCompany (void) const; 00063 const string GetUrl (void) const; 00064 const string GetDescription (void) const; 00065 }; 00066 00067 #endif // _cSoftwareSqlString_h