Salome HOME
[Code coverage GeomAlgoAPI]: Remove unused method in Partition
[modules/shaper.git] / src / SamplePanelPlugin / SamplePanelPlugin_Feature.h
index 3353b906dae84153eb8ffcf84d99616e0379be61..c6855853a1baa397f8e9536e6bc6e276c7b33c34 100755 (executable)
@@ -1,8 +1,22 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-
-// File:        SamplePanelPlugin_Feature.h
-// Created:     29 Mar 2015
-// Author:      Natalia ERMOLAEVA
+// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+//
 
 #ifndef SAMPLEPANELPLUGIN_FEATURE_H_
 #define SAMPLEPANELPLUGIN_FEATURE_H_
@@ -25,8 +39,15 @@ class SamplePanelPlugin_Feature : public ModelAPI_Feature
     return MY_SAMPLE_PANEL_FEATURE_ID;
   }
 
+  /// Total number of objects, initial and translated objects
+  inline static const std::string& VALUE_ID()
+  {
+    static const std::string MY_VALUE_ID("Value");
+    return MY_VALUE_ID;
+  }
+
   /// Request for initialization of data model of the object: adding all attributes
-  virtual void initAttributes() {};
+  virtual void initAttributes();
 
   /// Returns the unique kind of a feature
   virtual const std::string& getKind() {