#ifdef _DEBUG_
static int MYDEBUG = 0;
-static int VARIABLE_DEBUG = 1;
+static int VARIABLE_DEBUG = 0;
#else
static int MYDEBUG = 0;
-static int VARIABLE_DEBUG = 1;
+static int VARIABLE_DEBUG = 0;
#endif
-
-
-
//=============================================================================
/*!
* Get...Tag [ static ]
}
//=======================================================================
-//function : UpdateSObject
+//function : UpdateParameters
//purpose :
//=======================================================================
void SMESH_Gen_i::UpdateParameters(CORBA::Object_ptr theObject, const char* theParameters)
}
//=======================================================================
-//function : GetParameters
+//function : ParseParameters
//purpose :
//=======================================================================
char* SMESH_Gen_i::ParseParameters(const char* theParameters)
SALOMEDS::Study_ptr aStudy = GetCurrentStudy();
if( !aStudy->_is_nil() ) {
SALOMEDS::ListOfListOfStrings_var aSections = aStudy->ParseVariables(aParameters);
- if(aSections->length() > 0) {
- SALOMEDS::ListOfStrings aVars= aSections[0];
+ for(int j=0;j<aSections->length();j++) {
+ SALOMEDS::ListOfStrings aVars= aSections[j];
for(int i=0;i<aVars.length();i++ ) {
anInputParams += aStudy->IsVariable(aVars[i].in()) ?
TCollection_AsciiString(aVars[i].in()) : TCollection_AsciiString("");
if(i != aVars.length()-1)
anInputParams+=":";
}
+ if(j!=aSections->length()-1)
+ anInputParams+="|";
}
}
return CORBA::string_dup(anInputParams.ToCString());