]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Iterator.h
Salome HOME
Changes in source code within porting on CentOS 6.3
[modules/shaper.git] / src / ModelAPI / ModelAPI_Iterator.h
index 73187982f5e4269907a827353c924bbffc05a428..8a128a59db5bc1e19536f06873aef01cd5ffada1 100644 (file)
@@ -36,7 +36,10 @@ public:
   virtual int numIterationsLeft() = 0;
   /// Compares the current feature with the given one
   /// \returns true if given feature equals to the current one
-  virtual bool is(std::shared_ptr<ModelAPI_Feature> theFeature) = 0;
+  virtual bool isEqual(std::shared_ptr<ModelAPI_Feature> theFeature) = 0;
+
+  /// To virtually destroy the fields of successors
+  virtual ~ModelAPI_Iterator() {}
 
 protected:
   /// Use plugin manager for features creation: this method is