COMPASSi/trunk/code/inc/DataManager/Logic/Logic.DataManagement/Interpreters/HullObjInterpreter.h

43 lines
1.0 KiB
C++

#ifndef HULL_OBJECT_INTERPRETER_H
#define HULL_OBJECT_INTERPRETER_H
#include "ObjectInterpreter.h"
#include <vector>
#include <string>
#include <memory>
#include "DataManager.h"
class DATAMANAGER_DLL_API_EXPORTS HullObjectInterpreter : public ObjectInterpreter {
public:
HullObjectInterpreter();
void ExecuteCommand(std::vector<std::string> &commandLines, IModel &o, DataManager* pdata);
double convertSpecToDigital(const std::string &strSpec, int flag = 0);
std::string convertDigitalToSpec(double dSpec, int flag = 0);
private:
};
class DATAMANAGER_DLL_API_EXPORTS PropertyInterpreter : public ObjectInterpreter {
public:
PropertyInterpreter();
void ExecuteCommand(std::vector<std::string> commandLines, std::vector<int>& ids,int& iValue);
private:
};
class DATAMANAGER_DLL_API_EXPORTS RegenCommandInterpreter : public ObjectInterpreter {
public:
RegenCommandInterpreter();
void ExecuteCommand(std::vector<std::string> commandLines,QString& strLog);
private:
};
#endif // HULL_OBJECT_INTERPRETER_H