summaryrefslogtreecommitdiff
path: root/src/data.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-03 17:12:12 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-03 17:12:12 +0100
commitfaa03caeb082459e0283be39198464f50bef780a (patch)
treedc8114e6d06e79958d2a5374bba8157ec27c5b5f /src/data.cc
parent94245f8ccec610d9d7f9a1a7dae0e4d53f917ee8 (diff)
A few bits of documentation.
Diffstat (limited to 'src/data.cc')
-rw-r--r--src/data.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/data.cc b/src/data.cc
index 7f390ead..a326ed3b 100644
--- a/src/data.cc
+++ b/src/data.cc
@@ -17,6 +17,10 @@
*/
+/** @file src/data.cc
+ * @brief Data class.
+ */
+
#include "data.h"
#include "util.h"
#include "exceptions.h"
@@ -24,6 +28,9 @@
using namespace dcp;
+/** Construct a Data object from the contents of a file.
+ * @param file File to read.
+ */
Data::Data (boost::filesystem::path file)
{
FILE* f = fopen_boost (file, "rb");