- int myTransactionsAfterSave; ///< number of transactions after the last "save" call, used for "IsModified" method
- std::map<std::string, TDF_Label> myGroups; ///< root labels of the features groups identified by names
+ /// number of transactions after the last "save" call, used for "IsModified" method
+ int myTransactionsAfterSave;
+ /// 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
+ /// transaction indexes (related to myTransactionsAfterSave) which were empty in this doc
+ std::map<int, bool> myIsEmptyTr;