+using namespace SMESH;
+
+void MG_ADAPT_i::copyHypothesisDataToImpl(const SMESH::MgAdaptHypothesisData& from, ::MG_ADAPT::MgAdaptHypothesisData* to) const
+{
+ to->myFileInDir = from.myFileInDir;
+ to->myMeshFileIn = from.myMeshFileIn;
+ to->myMeshFileBackground = from.myMeshFileBackground;
+ to->myOutMeshName = from.myOutMeshName;
+ to->myMeshFileOut = from.myMeshFileOut;
+ to->myFileOutDir = from.myFileOutDir;
+ to->myFileSizeMapDir = from.myFileSizeMapDir;
+ to->myFieldName = from.myFieldName;
+ to->fromMedFile = from.fromMedFile;
+ to->myPublish = from.myPublish;
+ to->myMeshOutMed = from.myMeshOutMed;
+ to->myUseLocalMap = from.myUseLocalMap;
+ to->myUseBackgroundMap = from.myUseBackgroundMap;
+ to->myUseConstantValue = from.myUseConstantValue;
+ to->myConstantValue = from.myConstantValue;
+ to->myTimeStep = from.myTimeStep;
+ to->myRank = from.myRank;
+ to->myUseNoTimeStep = from.myUseNoTimeStep;
+ to->myUseLastTimeStep = from.myUseLastTimeStep;
+ to->myUseChosenTimeStep = from.myUseChosenTimeStep;
+ to->myWorkingDir = from.myWorkingDir;
+ to->myLogFile = from.myLogFile;
+ to->myPrintLogInFile = from.myPrintLogInFile;
+ to->myKeepFiles = from.myKeepFiles;
+ to->myRemoveLogOnSuccess = from.myRemoveLogOnSuccess;
+ to->myVerboseLevel = from.myVerboseLevel;
+}
+void MG_ADAPT_i::copyHypothesisDataFromImpl(const ::MG_ADAPT::MgAdaptHypothesisData* from, SMESH::MgAdaptHypothesisData* to) const
+{
+ to->myFileInDir = CORBA::string_dup(from->myFileInDir.c_str());
+ to->myMeshFileIn = CORBA::string_dup(from->myMeshFileIn.c_str());
+ to->myMeshFileBackground = CORBA::string_dup(from->myMeshFileBackground.c_str());
+ to->myOutMeshName = CORBA::string_dup(from->myOutMeshName.c_str());
+ to->myMeshFileOut = CORBA::string_dup(from->myMeshFileOut.c_str());
+ to->myFileOutDir = CORBA::string_dup(from->myFileOutDir.c_str());
+ to->myFileSizeMapDir = CORBA::string_dup(from->myFileSizeMapDir.c_str());
+ to->myFieldName = CORBA::string_dup(from->myFieldName.c_str());
+ to->fromMedFile = from->fromMedFile;
+ to->myPublish = from->myPublish;
+ to->myMeshOutMed = from->myMeshOutMed;
+ to->myUseLocalMap = from->myUseLocalMap;
+ to->myUseBackgroundMap = from->myUseBackgroundMap;
+ to->myUseConstantValue = from->myUseConstantValue;
+ to->myConstantValue = from->myConstantValue;
+ to->myTimeStep = from->myTimeStep;
+ to->myRank = from->myRank;
+ to->myUseNoTimeStep = from->myUseNoTimeStep;
+ to->myUseLastTimeStep = from->myUseLastTimeStep;
+ to->myUseChosenTimeStep = from->myUseChosenTimeStep;
+ to->myWorkingDir = CORBA::string_dup(from->myWorkingDir.c_str());
+ to->myLogFile = CORBA::string_dup(from->myLogFile.c_str());
+ to->myPrintLogInFile = from->myPrintLogInFile;
+ to->myKeepFiles = from->myKeepFiles;
+ to->myRemoveLogOnSuccess = from->myRemoveLogOnSuccess;
+ to->myVerboseLevel = from->myVerboseLevel;
+}