X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Objects.h;h=ef1d403b64cdc18275bc0bb93e001d65d61e8a24;hb=refs%2Ftags%2FV_1.2.1;hp=148c1c22a4e29a13f79ce1579de1bc2cbc5a5ed2;hpb=5352bbb1915f98d1f02b1cb953a2de19b286a28c;p=modules%2Fshaper.git diff --git a/src/Model/Model_Objects.h b/src/Model/Model_Objects.h index 148c1c22a..ef1d403b6 100644 --- a/src/Model/Model_Objects.h +++ b/src/Model/Model_Objects.h @@ -67,7 +67,7 @@ class Model_Objects const std::string& theGroupID, const std::string& theName); //! Returns the result by the result name - ResultPtr Model_Objects::findByName(const std::string theName); + ResultPtr findByName(const std::string theName); //! Returns the object index in the group. Object must be visible. Otherwise returns -1. @@ -170,6 +170,10 @@ class Model_Objects /// Returns to the last (from the history point of view) feature, any: invisible or disabled FeaturePtr lastFeature(); + /// Returns the result group identifier of the given feature (for this at least one result must + /// be created before) + std::string featureResultGroup(FeaturePtr theFeature); + private: TDF_Label myMain; ///< main label of the data storage