+ // Factories management
+ /// Adds the factory to the set of factories which use the package
+ void AddFactory(Factory* f) { mFactorySet.insert(f); }
+ /// Removes the factory from the set of factories which use the package
+ void RemoveFactory(Factory* f) { mFactorySet.erase(f); }
+
+ /// Gets the set of factories which use the package
+ std::set<Factory*>& GetFactorySet() { return mFactorySet; }
+ /// Gets the set of factories which use the package (const)
+ const std::set<Factory*>& GetFactorySet() const { return mFactorySet; }
+