Salome HOME
Implementation of naming parametrisation of sketch result
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Feature.h
index 24b856b1fd37dc3cd9be5f27cd05687a7dbcfb96..49bcc1320cc138cf75e76fcc8c81197631f83111 100644 (file)
@@ -45,14 +45,14 @@ class SketchPlugin_Feature : public ModelAPI_Feature
   /// Construction result is allways recomuted on the fly
   SKETCHPLUGIN_EXPORT virtual bool isPersistentResult() {return false;}
 
+  /// Returns the sketch of this feature
+  inline SketchPlugin_Sketch* sketch() {return mySketch;}
 protected:
   /// Sets the higher-level feature for the sub-feature (sketch for line)
   void setSketch(SketchPlugin_Sketch* theSketch)
   {
     mySketch = theSketch;
   }
-  /// Returns the sketch of this feature
-  SketchPlugin_Sketch* sketch();
   /// initializes mySketch
   SketchPlugin_Feature();