Salome HOME
Do not use align to the left in the page group box widget.
[modules/shaper.git] / src / ModuleBase / ModuleBase_FilterFactory.h
index a0759f25c517ca89d930811f5a5f7705331f7a7f..c1a7e36014e37118b1cf74b38baef0bc41f1e624 100644 (file)
@@ -17,6 +17,7 @@
 #include <set>
 
 /**
+ * \ingroup GUI
  * Allows to get a selection filter by the feature identifier and 
  * the attribute identifier (if attribute is validated).
  * All accessible filters must be registered by the ID string first.
@@ -28,7 +29,7 @@
 class ModuleBase_FilterFactory : public QObject
 {
  private:
-  std::map<std::string, Handle_ModuleBase_Filter> myIDs;  ///< map from ID to registered filter
+  std::map<std::string, ModuleBase_Filter*> myIDs;  ///< map from ID to registered filter
   /// filters IDs to list of arguments
   typedef std::map<std::string, std::list<std::string> > AttrFilters;
   /// filters IDs by feature ID
@@ -39,7 +40,7 @@ class ModuleBase_FilterFactory : public QObject
  public:
   /// Registers the instance of the filter by the ID
   MODULEBASE_EXPORT virtual void registerFilter(const std::string& theID,
-                                                Handle_ModuleBase_Filter theFilter);
+                                                ModuleBase_Filter* theFilter);
 
   /// Assigns filter to the attribute of the feature
   MODULEBASE_EXPORT virtual void assignFilter(const std::string& theID,
@@ -53,7 +54,7 @@ class ModuleBase_FilterFactory : public QObject
                                  SelectMgr_ListOfFilter& theFilters) const;
 
   /// Returns registered filter by its Id
-  MODULEBASE_EXPORT virtual const Handle_ModuleBase_Filter filter(const std::string& theID) const;
+  MODULEBASE_EXPORT virtual const ModuleBase_Filter* filter(const std::string& theID) const;
 
 protected:
   ModuleBase_FilterFactory();