RequestNewOp.h 830 Bytes
#ifndef REQUESTNEWOP_H
#define REQUESTNEWOP_H

#include <string>

#include "RequestAbstract.h"

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

				//get 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:
				bool fileRetrieved;

				bool isTestDir;

				string type;

				string location;

				string errorMsg;
		}; 

	}
}

#endif