Salome HOME
Issue #1157: Using parameters in point coordinates
[modules/shaper.git] / src / GeomValidators / GeomValidators_Positive.h
index f526999f61c943c72b897c5dd629f78796c443d9..0e15c77d27a5a2101099ff33eabe328f91179227 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomValidators_ValidatorPositive.h
 // Created:     16 Sep 2014
 // Author:      Mikhail PONIKAROV
@@ -17,10 +19,12 @@ public:
   //! Constructor for only one instance per application: will register the validator
   GeomValidators_Positive();
   //! returns true if attribute is valid
-  //! \param theAttribute the checked attribute
-  //! \param theArguments arguments of the attribute
-  GEOMVALIDATORS_EXPORT virtual bool isValid(
-    const AttributePtr& theAttribute, const std::list<std::string>& theArguments) const;
+  //! \param[in] theAttribute the checked attribute
+  //! \param[in] theArguments arguments of the attribute
+  //! \param[out] theError error message.
+  GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
+                                             const std::list<std::string>& theArguments,
+                                             std::string& theError) const;
 
 };