X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCollectionPlugin%2FCollectionPlugin_Field.h;h=5f90fac7140e07a9f4661c185a5d65ba884d47fc;hb=9d8267a424a809d0f96593b13f8472666553ce2e;hp=6e06a849b59502f034eca03f37002b12b9b0ff35;hpb=fa502f7882cc1c782b63e936e36f061f6c7cf913;p=modules%2Fshaper.git diff --git a/src/CollectionPlugin/CollectionPlugin_Field.h b/src/CollectionPlugin/CollectionPlugin_Field.h index 6e06a849b..5f90fac71 100644 --- a/src/CollectionPlugin/CollectionPlugin_Field.h +++ b/src/CollectionPlugin/CollectionPlugin_Field.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D --> - -// File: CollectionPlugin_Group.h -// Created: 14 Nov 2016 -// Author: Mikhail PONIKAROV +// 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 +// #ifndef COLLECTIONPLUGIN_FIELD_H_ #define COLLECTIONPLUGIN_FIELD_H_ @@ -41,30 +55,12 @@ class CollectionPlugin_Field : public ModelAPI_Feature static const std::string MY_SELECTED_ID("selected"); return MY_SELECTED_ID; } - /// attribute name of components number - inline static const std::string& COMPONENTS_NB_ID() - { - static const std::string MY_COMPONENTS_NB_ID("components_nb"); - return MY_COMPONENTS_NB_ID; - } /// attribute name of componenets titles array inline static const std::string& COMPONENTS_NAMES_ID() { static const std::string MY_COMPONENTS_NAMES_ID("components_names"); return MY_COMPONENTS_NAMES_ID; } - /// attribute name of values types integer identifier - inline static const std::string& VALUES_TYPE_ID() - { - static const std::string MY_VALUES_TYPE_ID("type"); - return MY_VALUES_TYPE_ID; - } - /// attribute name of number of steps - inline static const std::string& STEPS_NB_ID() - { - static const std::string MY_STEPS_NB_ID("steps_nb"); - return MY_STEPS_NB_ID; - } /// attribute name of stamps integer array inline static const std::string& STAMPS_ID() {