From f9862aff32f7ea5aa10f9362d7598480b1c9cf28 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 5 Feb 2014 12:59:12 +0000 Subject: Comments / tweaks. --- src/file.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/file.cc') diff --git a/src/file.cc b/src/file.cc index d39f93e0..aabda166 100644 --- a/src/file.cc +++ b/src/file.cc @@ -17,11 +17,18 @@ */ +/** @file src/file.cc + * @brief File class. + */ + #include "file.h" #include "util.h" using namespace dcp; +/** Read a file into memory. + * @param file to read. + */ File::File (boost::filesystem::path file) { _size = boost::filesystem::file_size (file); @@ -32,6 +39,7 @@ File::File (boost::filesystem::path file) fclose (f); } +/** File destructor */ File::~File () { delete[] _data; -- cgit v1.2.3