Mercurial > code
diff C++/Driver.h @ 172:a61cddaf7547
Rename Driver postgres
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 11 Sep 2013 15:27:00 +0200 |
parents | e47c4e9e3f9d |
children | f0cca031bcce |
line wrap: on
line diff
--- a/C++/Driver.h Tue Sep 10 17:28:32 2013 +0200 +++ b/C++/Driver.h Wed Sep 11 15:27:00 2013 +0200 @@ -106,7 +106,7 @@ * @param row the row number * @param column the column name * @param check the result - * @throw Query::ErrorException on erro + * @throw QueryError on erro */ void checkValidRequest(int row, const std::string &column, QueryCheck check); @@ -177,7 +177,7 @@ * @param row the row number * @param column the column * @return a boolean - * @throw Query::ErrorException on error + * @throw QueryError on error */ bool getBool(int row, const std::string &column); @@ -187,7 +187,7 @@ * @param row the row number * @param column the column * @return a Date - * @throw Query::ErrorException on error + * @throw QueryError on error */ Date getDate(int row, const std::string &column); @@ -197,7 +197,7 @@ * @param row the row number * @param column the column * @return a double - * @throw Query::ErrorException on error + * @throw QueryError on error */ double getDouble(int row, const std::string &column); @@ -207,7 +207,7 @@ * @param row the row number * @param column the column * @return an integer - * @throw Query::ErrorException on error + * @throw QueryError on error */ int getInt(int row, const std::string &column); @@ -217,7 +217,7 @@ * @param row the row number * @param column the column * @return a string - * @throw Query::ErrorException on error + * @throw QueryError on error */ std::string getString(int row, const std::string &column); @@ -258,7 +258,14 @@ public: typedef std::map<std::string, std::string> Params; + /** + * Default constructor. + */ Driver(); + + /** + * Virtual destructor. + */ virtual ~Driver(); /**