Salome HOME
Transfer of tests (Primitives, Transfotmation and GDML).
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_RemoveSubShapes.h
index d4de1dcc27d60e0585f834dcb58555d66874d4c0..dab90093d65d9b68f98499f54668afef91fb3b76 100644 (file)
@@ -14,6 +14,7 @@
 #include <ModelHighAPI_Interface.h>
 #include <ModelHighAPI_Macro.h>
 
+class ModelHighAPI_Dumper;
 class ModelHighAPI_Selection;
 
 /// \class FeaturesAPI_RemoveSubShapes
@@ -36,8 +37,10 @@ public:
   virtual ~FeaturesAPI_RemoveSubShapes();
 
   INTERFACE_2(FeaturesPlugin_RemoveSubShapes::ID(),
-              base, FeaturesPlugin_RemoveSubShapes::BASE_SHAPE_ID(), ModelAPI_AttributeSelection, /** Base */,
-              subshapes, FeaturesPlugin_RemoveSubShapes::SUBSHAPES_ID(), ModelAPI_AttributeSelectionList, /** Subshapes */)
+              base, FeaturesPlugin_RemoveSubShapes::BASE_SHAPE_ID(),
+              ModelAPI_AttributeSelection, /** Base */,
+              subshapes, FeaturesPlugin_RemoveSubShapes::SUBSHAPES_ID(),
+              ModelAPI_AttributeSelectionList, /** Subshapes */)
 
   /// Modify objects attribute of the feature.
   FEATURESAPI_EXPORT
@@ -46,6 +49,10 @@ public:
   /// Modify tools attribute of the feature.
   FEATURESAPI_EXPORT
   void setSubShapesToKeep(const std::list<ModelHighAPI_Selection>& theSubShapes);
+
+  /// Dump wrapped feature
+  FEATURESAPI_EXPORT
+  virtual void dump(ModelHighAPI_Dumper& theDumper) const;
 };
 
 /// Pointer on RemoveSubShapes object.