]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_CompositeSketch.h
Salome HOME
Meet the coding style (line length <= 100)
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_CompositeSketch.h
index d2c7be54e2fe699be5bd018a86b06c97f8824aa9..5cfefa7e40a553c72d74494b5a4edaf606e89583 100644 (file)
@@ -40,7 +40,8 @@ public:
   FEATURESPLUGIN_EXPORT virtual int numberOfSubs(bool forTree = false) const;
 
   /// \return the sub-feature by zero-base index.
-  FEATURESPLUGIN_EXPORT virtual std::shared_ptr<ModelAPI_Feature> subFeature(const int theIndex, bool forTree = false);
+  FEATURESPLUGIN_EXPORT virtual
+    std::shared_ptr<ModelAPI_Feature> subFeature(const int theIndex, bool forTree = false);
 
   /// \return the sub-feature unique identifier in this composite feature by zero-base index.
   FEATURESPLUGIN_EXPORT virtual int subFeatureId(const int theIndex) const;
@@ -52,9 +53,6 @@ public:
   /// structures of the owner (the remove from the document will be done outside just after).
   FEATURESPLUGIN_EXPORT virtual void removeFeature(std::shared_ptr<ModelAPI_Feature> theFeature);
 
-  /// Removes also all sub-sketch.
-  FEATURESPLUGIN_EXPORT virtual void erase();
-
 protected:
   enum InitFlags {
     InitSketchLauncher   = 1 << 0,
@@ -66,9 +64,6 @@ protected:
   /// Initializes composite sketch attributes.
   void initCompositeSketchAttribtues(const int theInitFlags);
 
-  /// Sets the sub-object to list of base.
-  void setSketchObjectToList();
-
   /// \brief Returns list of base shapes.
   /// \param[out] theBaseShapesList list of base shapes (warning: list not cleared).
   /// \param[in] theIsMakeShells if true make shells from faces with shared edges.