//! Returns the existing feature by the label
//! \param theLabel base label of the feature
- FeaturePtr feature(TDF_Label& theLabel) const;
+ FeaturePtr feature(TDF_Label theLabel) const;
//! Returns the existing object: result or feature
//! \param theLabel base label of the object
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.
/// 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