RequestExportResult.h 883 Bytes
#ifndef REQUESTEXPORTRESULT_H
#define REQUESTEXPORTRESULT_H

#include "RequestAbstract.h"

namespace TREPS
{
	namespace RequestManager
	{
		class RequestExportResultClass : public RequestAbstractClass
		{
			public:
				RequestExportResultClass(void);
				
				~RequestExportResultClass(void);

				//return request id
				string getRequestId(void);

				//load request inputs
				bool load(RequestLoaderClass *loader);

				//run request
				bool run(void);

				//write request result
				void writeResult(ResultWriterClass *writer);

				//get suffix used for result file
				string getResultFileSuffix(void);

				//get path to result XML file
				string getXMLFilePath(void);

				//get string result
				string getStringResult(void);

			private:
				string filePath;

				string fileFormat;

				bool success;
		};
	}
}

#endif