]> 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 22d2066b36cad4ad85fe0b0bec1efc44ce9eb40e..8a128a59db5bc1e19536f06873aef01cd5ffada1 100644 (file)
@@ -34,6 +34,12 @@ public:
   /// Don't changes the current position of iterator. Not fast: iterates the left items.
   /// \returns number of left iterations
   virtual int numIterationsLeft() = 0;
+  /// Compares the current feature with the given one
+  /// \returns true if given feature equals to the current one
+  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