]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.h
Salome HOME
Boost has been removed from code
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetFeatureOrAttribute.h
index 9774bd20554d99f967b80b57e6c472664f08945d..5fac251978e04a1794e9f41bf29291c2d437ea1d 100644 (file)
@@ -44,14 +44,19 @@ Q_OBJECT
   virtual bool isViewerSelector() { return true; }
 
  protected:
+   /// Returns the feature attribute if it can be found by the given value
+   /// \param theValue the widget value
+   /// \return an attribute or null
+   std::shared_ptr<ModelAPI_Attribute> findAttribute(ModuleBase_WidgetValue* theValue);
+
   /// Set the attribute
   /// \param theAttribute value
   /// \return the boolean result of the attribute set
-  bool setAttribute(const boost::shared_ptr<ModelAPI_Attribute>& theAttribute, bool theSendEvent =
+  bool setAttribute(const std::shared_ptr<ModelAPI_Attribute>& theAttribute, bool theSendEvent =
                         true);
 
  protected:
-  boost::shared_ptr<ModelAPI_Attribute> myAttribute;  /// < the attribute
+  std::shared_ptr<ModelAPI_Attribute> myAttribute;  /// < the attribute
 };
 
 #endif