summaryrefslogtreecommitdiffstats
path: root/src/dal
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2009-12-06 21:10:17 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2009-12-06 21:10:17 +0100
commitacdadcf88986fad08406994330fc6e95db76a6e9 (patch)
tree62e9d4f28039365157f1894b8b7b8da4991f6831 /src/dal
parent6c342f8fc39fe788a32c99d345cf41b32809ef51 (diff)
downloadmanaserv-acdadcf88986fad08406994330fc6e95db76a6e9.tar.gz
manaserv-acdadcf88986fad08406994330fc6e95db76a6e9.tar.xz
manaserv-acdadcf88986fad08406994330fc6e95db76a6e9.zip
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.
Diffstat (limited to 'src/dal')
-rw-r--r--src/dal/dataprovider.cpp10
-rw-r--r--src/dal/dataprovider.h17
2 files changed, 6 insertions, 21 deletions
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;
/**