28 _dataStatus = dataStatus;
29 _paramsMgr = paramsMgr;
34 int AddFunction(
string scriptType,
string dataSetName,
string scriptName,
string script,
const vector<string> &inputVarNames,
const vector<string> &outputVarNames,
35 const vector<string> &outputVarMeshes,
bool coordFlag =
false);
37 void RemoveFunction(
string scriptType,
string dataSetName,
string scriptName);
39 bool GetFunctionScript(
string scriptType,
string datasetName,
string scriptName,
string &script, vector<string> &inputVarNames, vector<string> &outputVarNames, vector<string> &outputVarMeshes,
66 std::map<string, PyEngine *> _pyScripts;
A class for managing CalcEngine class instances.
std::vector< string > GetFunctionNames(string scriptType, string datasetName)
CalcEngineMgr(DataStatus *dataStatus, ParamsMgr *paramsMgr)
int AddFunction(string scriptType, string dataSetName, string scriptName, string script, const vector< string > &inputVarNames, const vector< string > &outputVarNames, const vector< string > &outputVarMeshes, bool coordFlag=false)
bool GetFunctionScript(string scriptType, string datasetName, string scriptName, string &script, vector< string > &inputVarNames, vector< string > &outputVarNames, vector< string > &outputVarMeshes, bool &coordFlag)
string GetFunctionStdout(string scriptType, string dataSetName, string scriptName)
void RemoveFunction(string scriptType, string dataSetName, string scriptName)
A class for describing the currently loaded dataset.
A singleton class for managing Params instances.