Skip to content
Snippets Groups Projects
Commit 0a35ee1b authored by Steven Murray's avatar Steven Murray
Browse files

Added override clauses to rdbms::Rset subclasses

parent 3c9e7547
No related branches found
No related tags found
No related merge requests found
......@@ -54,14 +54,14 @@ public:
/**
* Destructor.
*/
virtual ~OcciRset() throw();
virtual ~OcciRset() throw() override;
/**
* Returns the SQL statement.
*
* @return The SQL statement.
*/
virtual const std::string &getSql() const;
virtual const std::string &getSql() const override;
/**
* Attempts to get the next row of the result set.
......@@ -69,7 +69,7 @@ public:
* @return True if a row has been retrieved else false if there are no more
* rows in the result set.
*/
virtual bool next();
virtual bool next() override;
/**
* Returns true if the specified column contains a null value.
......@@ -77,7 +77,7 @@ public:
* @param colName The name of the column.
* @return True if the specified column contains a null value.
*/
virtual bool columnIsNull(const std::string &colName) const;
virtual bool columnIsNull(const std::string &colName) const override;
/**
* Returns the value of the specified column as a string.
......@@ -87,7 +87,7 @@ public:
* @param colName The name of the column.
* @return The string value of the specified column.
*/
virtual optional<std::string> columnOptionalText(const std::string &colName) const;
virtual optional<std::string> columnOptionalText(const std::string &colName) const override;
/**
* Returns the value of the specified column as an integer.
......@@ -97,7 +97,7 @@ public:
* @param colName The name of the column.
* @return The value of the specified column.
*/
virtual optional<uint64_t> columnOptionalUint64(const std::string &colName) const;
virtual optional<uint64_t> columnOptionalUint64(const std::string &colName) const override;
/**
* Idempotent close() method. The destructor calls this method.
......
......@@ -49,14 +49,14 @@ public:
/**
* Destructor.
*/
~SqliteRset() throw();
~SqliteRset() throw() override;
/**
* Returns the SQL statement.
*
* @return The SQL statement.
*/
virtual const std::string &getSql() const;
virtual const std::string &getSql() const override;
/**
* Attempts to get the next row of the result set.
......@@ -64,7 +64,7 @@ public:
* @return True if a row has been retrieved else false if there are no more
* rows in the result set.
*/
virtual bool next();
virtual bool next() override;
/**
* Returns true if the specified column contains a null value.
......@@ -72,7 +72,7 @@ public:
* @param colName The name of the column.
* @return True if the specified column contains a null value.
*/
virtual bool columnIsNull(const std::string &colName) const;
virtual bool columnIsNull(const std::string &colName) const override;
/**
* Returns the value of the specified column as a string.
......@@ -82,7 +82,7 @@ public:
* @param colName The name of the column.
* @return The string value of the specified column.
*/
virtual optional<std::string> columnOptionalText(const std::string &colName) const;
virtual optional<std::string> columnOptionalText(const std::string &colName) const override;
/**
* Returns the value of the specified column as an integer.
......@@ -92,7 +92,7 @@ public:
* @param colName The name of the column.
* @return The value of the specified column.
*/
virtual optional<uint64_t> columnOptionalUint64(const std::string &colName) const;
virtual optional<uint64_t> columnOptionalUint64(const std::string &colName) const override;
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment