double GetTimeAdjustmentCst();
-void LaunchMonitoring(const std::string& pyScriptToEvaluate, const std::string& outFileName);
+long LaunchMonitoring(const std::string& pyScriptToEvaluate);
-std::vector<double> StopMonitoring();
+void StopMonitoring(long pid);
bool VerbosityActivated();
return ret;
}
+std::vector<double> ReadFloatsInFileSwig(const std::string& fileName)
+{
+ std::vector<double> ret;
+ try
+ {
+ ret = SALOME::ReadFloatsInFile( fileName );
+ }
+ catch(std::exception& e) { }
+ return ret;
+}
+
void SetVerbosityLevelSwig(const std::string& level)
{
SetVerbosityLevelStr(level);
return VerbosityLevelStr();
}
}
+
+%pythoncode %{
+def ReadFloatsInFile( fileName ):
+ ret = ReadFloatsInFileSwig( fileName )
+ return ret
+%}
\ No newline at end of file