Mercurial > hg > multitrack-audio-matcher
view src/OutputDataWriter.h @ 52:e359b9bad811
Added exporting of image and text data
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 17 Jul 2012 22:12:20 +0100 |
parents | b7ad807c9cde |
children |
line wrap: on
line source
/* * outputDataWriter.h * MultipleAudioMathcher * * Created by Andrew on 25/04/2012. * Copyright 2012 QMUL. All rights reserved. * */ #ifndef OUTPUT_DATA_WRITER_H #define OUTPUT_DATA_WRITER_H // basic file operations for text file stuff #include <iostream> #include <fstream> using namespace std; class OutputDataWriter{ public: OutputDataWriter(); ~OutputDataWriter(); std::string filepath; ofstream outputFile; void openFile(); void openFile(std::string pathname); void closeFile(); void writeValue(const double& valueOne, const double& valueTwo); void writeOutput(const int& liveTime, const int& rehearsalTime, const int& playedRehearsalTime); }; #endif