#include "VISU_StreamLines_i.hh"
#include "VISU_Table_i.hh"
+#include "SALOMEDSImpl_Study.hxx"
#include "utilities.h"
#include <cctype>
//replace_if(aName.begin(),aName.end(),not1(ptr_fun(isxdigit)),'_');
replace_if(aName.begin(),aName.end(),TReplacePredicate(),'_');
+ if ( isdigit( aName[0] ))
+ aName.insert( 0, 1, 'a' );
+
return aName;
}
#endif
std::string aPrefix(PREFIX);
+ aStr<<SALOMEDSImpl_Study::GetDumpStudyComment("VISU")<<endl<<endl;
aStr<<"def RebuildData(theStudy):"<<endl;
aStr<<aPrefix<<"from batchmode_salome import orb, naming_service, lcc, myStudyManager"<<endl;
aStr<<aPrefix<<"import SALOME_MED"<<endl;