view src/OutputDataWriter.h @ 43:b7ad807c9cde

Added annotation writing and the src for the result calculator
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Fri, 04 May 2012 15:33:36 +0100
parents
children e359b9bad811
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();
	std::string filepath;
	ofstream outputFile;
	
	void openFile();
	void closeFile();
	
	void writeOutput(const int& liveTime, const int& rehearsalTime, const int& playedRehearsalTime);
};
#endif