-private:
- std::string myID; ///< identifier of the document in the application
- Handle_TDocStd_Document myDoc; ///< OCAF document
+ //! Updates the results list of the feature basing on the current data tree
+ void updateResults(FeaturePtr theFeature);
+
+ //! Stores information that there is a reference to this object
+ void objectIsReferenced(const ObjectPtr& theObject);
+ //! Removes information that there is a reference to this object
+ void objectIsNotReferenced(const ObjectPtr& theObject);
+
+ //! Returns all sub documents
+ const std::set<std::string>& subDocuments() const {return mySubs;}
+
+ friend class Model_Application;
+ friend class Model_Session;
+ friend class Model_AttributeReference;
+ friend class DFBrowser;
+
+ private:
+ std::string myID; ///< identifier of the document in the application
+ std::string myKind; ///< kind of the document in the application
+ Handle_TDocStd_Document myDoc; ///< OCAF document