/// 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