Index: src/libchcore/TSQLiteStatement.h =================================================================== diff -u -N -rb1ecc12ba4c1f2a7b4acd6e82fc4193535e55ff0 -r1875711000138ff9d4185c2e3e74d455533de8a8 --- src/libchcore/TSQLiteStatement.h (.../TSQLiteStatement.h) (revision b1ecc12ba4c1f2a7b4acd6e82fc4193535e55ff0) +++ src/libchcore/TSQLiteStatement.h (.../TSQLiteStatement.h) (revision 1875711000138ff9d4185c2e3e74d455533de8a8) @@ -48,25 +48,49 @@ void Prepare(PCTSTR pszQuery); - void BindValue(int iColumn, double dValue); + void BindValue(int iColumn, bool bValue); + void BindValue(int iColumn, short siValue); + void BindValue(int iColumn, unsigned short usiValue); void BindValue(int iColumn, int iValue); void BindValue(int iColumn, unsigned int uiValue); + void BindValue(int iColumn, long lValue); + void BindValue(int iColumn, unsigned long ulValue); void BindValue(int iColumn, long long llValue); void BindValue(int iColumn, unsigned long long ullValue); + void BindValue(int iColumn, double dValue); void BindValue(int iColumn, PCTSTR pszText); + void BindValue(int iColumn, const TString& strText); + void BindValue(int iColumn, const TSmartPath& path); void ClearBindings(); EStepResult Step(); void Reset(); - double GetDouble(int iCol); + bool GetBool(int iCol); + short GetShort(int iCol); + unsigned short GetUShort(int iCol); int GetInt(int iCol); unsigned int GetUInt(int iCol); + long GetLong(int iCol); + unsigned long GetULong(int iCol); long long GetInt64(int iCol); unsigned long long GetUInt64(int iCol); + double GetDouble(int iCol); TString GetText(int iCol); + TSmartPath GetPath(int iCol); + void GetValue(int iCol, bool& bValue); + void GetValue(int iCol, short& iValue); + void GetValue(int iCol, unsigned short& uiValue); + void GetValue(int iCol, int& iValue); + void GetValue(int iCol, unsigned int& uiValue); + void GetValue(int iCol, long long& llValue); + void GetValue(int iCol, unsigned long long& ullValue); + void GetValue(int iCol, double& dValue); + void GetValue(int iCol, TString& strValue); + void GetValue(int iCol, TSmartPath& pathValue); + private: sqlite3_stmt* m_pStatement; TSQLiteDatabasePtr m_spDatabase;