- /// root labels of the features groups identified by names
- std::map<std::string, TDF_Label> myGroups;
- std::vector<std::string> myGroupsNames; ///< names of added groups to the document
- /// Features managed by this document: by group name
- std::map<std::string, std::vector<boost::shared_ptr<ModelAPI_Feature> > > myFeatures;
- std::set<std::string> mySubs; ///< set of identifiers of sub-documents of this document
+ /// number of nested transactions performed (or -1 if not nested)
+ int myNestedNum;
+ /// All features managed by this document (not only in history of OB)
+ std::vector<boost::shared_ptr<ModelAPI_Feature> > myFeatures;
+
+ ///< set of identifiers of sub-documents of this document
+ std::set<std::string> mySubs;