]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Document.h
Salome HOME
Issue #3095: Import Part: provide list of parts if any
[modules/shaper.git] / src / Model / Model_Document.h
index 023770a4d0864ea532abe78a84989b856fcca366..1615ffce436b3876abf285df3b019d9f744cbffb 100644 (file)
@@ -60,12 +60,12 @@ class Model_Document : public ModelAPI_Document
   //! All the features are added after the active feature.
   //! \param theFileName name of the file to import
   //! \param theImported list of features imported from the file
-  //! \param theCheckBefore verify the document does not contain unappropriate features
-  //!                       (useful for import to PartSet)
+  //! \param theCheckOnly verify the document does not contain unappropriate features
+  //!                     (useful for import to PartSet), but do not import it
   //! \returns true if file was loaded successfully
-  MODEL_EXPORT virtual bool import(const char* theFileName,
+  MODEL_EXPORT virtual bool importPart(const char* theFileName,
                                    std::list<std::shared_ptr<ModelAPI_Feature> >& theImported,
-                                   bool theCheckBefore = false);
+                                   bool theCheckOnly = false);
 
   //! Saves the OCAF document to the file.
   //! \param theDirName directory where the document will be saved