X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomValidators%2FGeomValidators_Plugin.cpp;h=54ee61429f09e152bde94df11b0c9ebfb27b25d8;hb=15d511a49a2b8f1fa39496c7abf79ea285d23ce5;hp=3cfe3e6ea7e1b52a4af1af9429cb226433bffec5;hpb=5315361b0c34c6e603474413024db5485c850d80;p=modules%2Fshaper.git diff --git a/src/GeomValidators/GeomValidators_Plugin.cpp b/src/GeomValidators/GeomValidators_Plugin.cpp index 3cfe3e6ea..54ee61429 100644 --- a/src/GeomValidators/GeomValidators_Plugin.cpp +++ b/src/GeomValidators/GeomValidators_Plugin.cpp @@ -1,10 +1,27 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D --> +// 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 +// #include #include #include -#include #include #include #include @@ -14,7 +31,8 @@ #include #include #include -#include +#include +#include #include #include @@ -29,18 +47,24 @@ GeomValidators_Plugin::GeomValidators_Plugin() ModelAPI_ValidatorsFactory* aFactory = aMgr->validators(); aFactory->registerValidator("GeomValidators_BodyShapes", new GeomValidators_BodyShapes); - aFactory->registerValidator("GeomValidators_BooleanArguments", new GeomValidators_BooleanArguments); - aFactory->registerValidator("GeomValidators_ConstructionComposite", new GeomValidators_ConstructionComposite); + aFactory->registerValidator("GeomValidators_BooleanArguments", + new GeomValidators_BooleanArguments); + aFactory->registerValidator("GeomValidators_ConstructionComposite", + new GeomValidators_ConstructionComposite); aFactory->registerValidator("GeomValidators_Different", new GeomValidators_Different); - aFactory->registerValidator("GeomValidators_DifferentShapes", new GeomValidators_DifferentShapes); + aFactory->registerValidator("GeomValidators_DifferentShapes", + new GeomValidators_DifferentShapes); aFactory->registerValidator("GeomValidators_Face", new GeomValidators_Face); aFactory->registerValidator("GeomValidators_Finite", new GeomValidators_Finite); - aFactory->registerValidator("GeomValidators_PartitionArguments", new GeomValidators_PartitionArguments); + aFactory->registerValidator("GeomValidators_PartitionArguments", + new GeomValidators_PartitionArguments); aFactory->registerValidator("GeomValidators_ShapeType", new GeomValidators_ShapeType); aFactory->registerValidator("GeomValidators_ZeroOffset", new GeomValidators_ZeroOffset); - aFactory->registerValidator("GeomValidators_BooleanSelection", new GeomValidators_BooleanSelection); - aFactory->registerValidator("GeomValidators_IntersectionSelection", new GeomValidators_IntersectionSelection); - aFactory->registerValidator("GeomValidators_BaseForGeneration", new GeomValidators_BaseForGeneration); + aFactory->registerValidator("GeomValidators_IntersectionSelection", + new GeomValidators_IntersectionSelection); + aFactory->registerValidator("GeomValidators_FeatureKind", new GeomValidators_FeatureKind); + aFactory->registerValidator("GeomValidators_MinObjectsSelected", + new GeomValidators_MinObjectsSelected); // register this plugin ModelAPI_Session::get()->registerPlugin(this);