X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Document.h;h=72a570738b5080a167838dc2fa0830d3f43eeebf;hb=a77dbd7613ee788b69415a11c06542387f38371b;hp=8778402e0d3d8df692d5035e6ee7a1e624bf17e3;hpb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;p=modules%2Fshaper.git diff --git a/src/Model/Model_Document.h b/src/Model/Model_Document.h index 8778402e0..72a570738 100644 --- a/src/Model/Model_Document.h +++ b/src/Model/Model_Document.h @@ -299,6 +299,11 @@ class Model_Document : public ModelAPI_Document /// Just removes all features without touching the document data (to be able undo) MODEL_EXPORT virtual void eraseAllFeatures(); + /// Returns the next (from the history point of view) feature, any: invisible or disabled + /// \param theCurrent previous to the resulting feature + /// \param theReverse if it is true, iterates in reversed order (next becomes previous) + MODEL_EXPORT virtual std::shared_ptr nextFeature( + std::shared_ptr theCurrent, const bool theReverse = false) const; protected: //! Returns (creates if needed) the general label @@ -390,6 +395,7 @@ class Model_Document : public ModelAPI_Document friend class Model_AttributeRefList; friend class Model_AttributeRefAttrList; friend class Model_AttributeSelection; + friend class Model_AttributeSelectionList; friend class Model_ResultPart; friend class Model_ResultBody; friend class Model_ResultConstruction;