Mercurial > hg > multitrack-audio-matcher
view src/OutputDataWriter.h @ 56:4394c9490716 tip
minor changes
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Mon, 24 Dec 2012 18:58:39 +0000 |
parents | e359b9bad811 |
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