]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomValidators/GeomValidators_ValueOrder.cpp
Salome HOME
Update copyrights
[modules/shaper.git] / src / GeomValidators / GeomValidators_ValueOrder.cpp
index 03654381f7494b4d026a12fa181d141ae6cdbdab..a7da6088749f0686cda202bd1a1740dd69d46519 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-20xx  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2019  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
 //
 // 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
+// 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>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #include "GeomValidators_ValueOrder.h"
@@ -28,6 +27,7 @@
 #include <ModelAPI_Session.h>
 #include <ModelAPI_Validator.h>
 
+// LCOV_EXCL_START
 static double attributeValue(AttributePtr theAttr)
 {
   AttributeIntegerPtr anIntAttr = std::dynamic_pointer_cast<ModelAPI_AttributeInteger>(theAttr);
@@ -92,7 +92,7 @@ static bool isValidOrder(const AttributePtr& theAttribute,
 
   return true;
 }
-
+// LCOV_EXCL_STOP
 
 
 /// Global instance for validators factory
@@ -107,13 +107,14 @@ GeomValidators_GreaterOrEqual::GeomValidators_GreaterOrEqual()
   aFactory->registerValidator("GeomValidators_GreaterOrEqual", this);
 }
 
+// LCOV_EXCL_START
 bool GeomValidators_GreaterOrEqual::isValid(const AttributePtr& theAttribute,
                                             const std::list<std::string>& theArguments,
                                             Events_InfoMessage& theError) const
 {
   return isValidOrder(theAttribute, theArguments, theError, &isGreaterOrEqual);
 }
-
+// LCOV_EXCL_STOP
 
 
 GeomValidators_LessOrEqual::GeomValidators_LessOrEqual()
@@ -124,9 +125,11 @@ GeomValidators_LessOrEqual::GeomValidators_LessOrEqual()
   aFactory->registerValidator("GeomValidators_LessOrEqual", this);
 }
 
+// LCOV_EXCL_START
 bool GeomValidators_LessOrEqual::isValid(const AttributePtr& theAttribute,
                                          const std::list<std::string>& theArguments,
                                          Events_InfoMessage& theError) const
 {
   return isValidOrder(theAttribute, theArguments, theError, &isLessOrEqual);
 }
+// LCOV_EXCL_STOP