From acdadcf88986fad08406994330fc6e95db76a6e9 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 6 Dec 2009 21:10:17 +0100 Subject: Moved DALStorage documentation into source file Some methods were documented twice. Stuff moved to source file since this keeps the header more readable, and makes it easier to keep the documentation up to date with the implementation. Also, my IDE jumps to the definition when navigating. Removed two methods that were without an implementation. --- src/dal/dataprovider.cpp | 10 +++++----- src/dal/dataprovider.h | 17 +---------------- 2 files changed, 6 insertions(+), 21 deletions(-) (limited to 'src/dal') diff --git a/src/dal/dataprovider.cpp b/src/dal/dataprovider.cpp index febdc58..c4fd0db 100644 --- a/src/dal/dataprovider.cpp +++ b/src/dal/dataprovider.cpp @@ -19,12 +19,12 @@ */ #include "dataprovider.h" -#include "../utils/logger.h" + +#include "utils/logger.h" namespace dal { - /** * Constructor. */ @@ -35,7 +35,6 @@ DataProvider::DataProvider() { } - /** * Destructor. */ @@ -44,9 +43,10 @@ DataProvider::~DataProvider() { } - /** * Get the connection status. + * + * @return true if connected. */ bool DataProvider::isConnected() const throw() @@ -55,7 +55,7 @@ bool DataProvider::isConnected() const } /** - * Get the DataBase Name + * Get the database name. */ std::string DataProvider::getDbName() const { diff --git a/src/dal/dataprovider.h b/src/dal/dataprovider.h index c6dc2a7..5ab21cc 100644 --- a/src/dal/dataprovider.h +++ b/src/dal/dataprovider.h @@ -56,24 +56,12 @@ typedef enum { class DataProvider { public: - /** - * Constructor. - */ DataProvider() throw(); - /** - * Destructor. - */ - virtual - ~DataProvider() + virtual ~DataProvider() throw(); - /** - * Get the connection status. - * - * @return true if connected. - */ bool isConnected() const throw(); @@ -119,9 +107,6 @@ class DataProvider */ virtual void disconnect() = 0; - /** - * Get the Database Name. - */ std::string getDbName() const; /** -- cgit