summaryrefslogtreecommitdiff
path: root/src/data.cc
diff options
context:
space:
mode:
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");