RequestExportOp.h 927 Bytes
#ifndef REQUESTEXPORTOP_H
#define REQUESTEXPORTOP_H

#include "RequestAbstract.h"

namespace TREPS
{
	namespace RequestManager
	{
		class RequestExportOpClass : public RequestAbstractClass
		{
			public:
				RequestExportOpClass(void);
				
				~RequestExportOpClass(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 a path to a result xml file
				string getXMLFilePath(void);

				//get string result
				string getStringResult(void);

			private:
				string format;

				string structure;

				t_TimeFormat timeFormat;

				string timePattern;

				bool success;
		};
	}
}

#endif