Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelAPI / ModelAPI_FeatureValidator.h
index b61b98f4111a00d1a04abe9dcc99949ed06494cb..966fb4c01bbae4b7e8b55c2ede9cab602dfc4dbc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  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
 //
 
 #ifndef ModelAPI_FeatureValidator_H
@@ -48,8 +47,9 @@ class MODELAPI_EXPORT ModelAPI_FeatureValidator : public ModelAPI_Validator
                        const std::list<std::string>& theArguments,
                        Events_InfoMessage& theError) const = 0;
 
-  /// Returns true if the attribute in feature is not obligatory for the feature execution
-  virtual bool isNotObligatory(std::string theFeature, std::string theAttribute) = 0;
+  /// Returns true if the attribute in feature is not obligatory for the feature execution.
+  ///Returns false by default.
+  virtual bool isNotObligatory(std::string theFeature, std::string theAttribute);
 };
 
 #endif