26 void SetScript(
string datasetName,
string name,
string script,
const vector<string> &inputVarNames,
const vector<string> &outputVarNames,
const vector<string> &outputVarMeshes,
bool coordFlag);
28 bool GetScript(
string datasetName,
string name,
string &script, vector<string> &inputVarNames, vector<string> &outputVarNames, vector<string> &outputVarMeshes,
bool &coordFlag)
const;
30 void RemoveDataset(
string datasetName) { _datasets->Remove(datasetName); }
41 static const string _datasetsTag;
61 void SetScript(
string name,
string script,
const vector<string> &inputVarNames,
const vector<string> &outputVarNames,
const vector<string> &outputVarMeshes,
bool coordFlag);
63 bool GetScript(
string name,
string &script, vector<string> &inputVarNames, vector<string> &outputVarNames, vector<string> &outputVarMeshes,
bool &coordFlag)
const;
81 void SetScript(
string script,
const vector<string> &inputVarNames,
const vector<string> &outputVarNames,
const vector<string> &outputVarMeshes,
bool coordFlag)
83 _ssave->BeginGroup(
"Set derived variable script");
85 SetValueString(_scriptTag,
"", script);
86 SetValueStringVec(_inputVarNamesTag,
"", inputVarNames);
87 SetValueStringVec(_outputVarNamesTag,
"", outputVarNames);
88 SetValueStringVec(_outputVarMeshesTag,
"", outputVarMeshes);
89 SetValueLong(_coordFlagTag,
"", 0);
94 void GetScript(
string &script, vector<string> &inputVarNames, vector<string> &outputVarNames, vector<string> &outputVarMeshes,
bool &coordFlag)
96 script = GetValueString(_scriptTag,
"");
97 inputVarNames = GetValueStringVec(_inputVarNamesTag);
98 outputVarNames = GetValueStringVec(_outputVarNamesTag);
99 outputVarMeshes = GetValueStringVec(_outputVarMeshesTag);
100 coordFlag = GetValueLong(_coordFlagTag, 0);
106 static const string _scriptTag;
107 static const string _inputVarNamesTag;
108 static const string _outputVarNamesTag;
109 static const string _outputVarMeshesTag;
110 static const string _coordFlagTag;
114 static const string _datasetTag;
115 static const string _scriptsTag;
static string GetClassType()
void SetScript(string script, const vector< string > &inputVarNames, const vector< string > &outputVarNames, const vector< string > &outputVarMeshes, bool coordFlag)
ScriptParams(ParamsBase::StateSave *ssave, XmlNode *node)
ScriptParams(ParamsBase::StateSave *ssave)
void GetScript(string &script, vector< string > &inputVarNames, vector< string > &outputVarNames, vector< string > &outputVarMeshes, bool &coordFlag)
static string GetClassType()
bool GetScript(string name, string &script, vector< string > &inputVarNames, vector< string > &outputVarNames, vector< string > &outputVarMeshes, bool &coordFlag) const
void SetScript(string name, string script, const vector< string > &inputVarNames, const vector< string > &outputVarNames, const vector< string > &outputVarMeshes, bool coordFlag)
DatasetParams(const DatasetParams &rhs)
vector< string > GetScriptNames() const
DatasetParams(ParamsBase::StateSave *ssave, XmlNode *node)
void RemoveScript(string name)
DatasetParams(ParamsBase::StateSave *ssave)
DatasetParams & operator=(const DatasetParams &rhs)
virtual ~DatasetsParams()
DatasetsParams(ParamsBase::StateSave *ssave)
DatasetsParams & operator=(const DatasetsParams &rhs)
static string GetClassType()
DatasetsParams(ParamsBase::StateSave *ssave, XmlNode *node)
void RemoveDataset(string datasetName)
vector< string > GetScriptNames(string datasetName) const
DatasetsParams(const DatasetsParams &rhs)
bool GetScript(string datasetName, string name, string &script, vector< string > &inputVarNames, vector< string > &outputVarNames, vector< string > &outputVarMeshes, bool &coordFlag) const
void RemoveScript(string datasetName, string scriptName)
void SetScript(string datasetName, string name, string script, const vector< string > &inputVarNames, const vector< string > &outputVarNames, const vector< string > &outputVarMeshes, bool coordFlag)
Nodes with state in Xml tree representation.