*/
+/** @file src/data.cc
+ * @brief Data class.
+ */
+
#include "data.h"
#include "util.h"
#include "exceptions.h"
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");
*/
+/** @file src/data.h
+ * @brief Data class.
+ */
+
#include <boost/shared_array.hpp>
#include <boost/filesystem.hpp>
#include <stdint.h>
namespace dcp {
+/** A block of arbitrary data */
class Data
{
public:
*/
+/** @file src/gamma_transfer_function.cc
+ * @brief GammaTransferFunction class.
+ */
+
#include "gamma_transfer_function.h"
#include <cmath>
*/
+/** @file src/gamma_transfer_function.h
+ * @brief GammaTransferFunction class.
+ */
+
#include "transfer_function.h"
namespace dcp {
+/** A description of a gamma function of the f(x) = x^g where
+ * g is the gamma.
+ */
class GammaTransferFunction : public TransferFunction
{
public: