Salome HOME
Comment Split output
[modules/shaper.git] / src / GeomValidators / GeomValidators_Face.h
index 2ff49551c6b9c1a8e4e1aa319f1dc8e3c99b6d1d..c3b802658753e6f1a0a1db2c34da281f2ef0e9a0 100644 (file)
@@ -10,8 +10,6 @@
 #include "GeomValidators.h"
 #include "ModelAPI_AttributeValidator.h"
 
-#include <GeomAbs_SurfaceType.hxx>
-
 /**
 * \ingroup Validators
 * A validator of selection
@@ -21,14 +19,12 @@ class GeomValidators_Face : public ModelAPI_AttributeValidator
  public:
    GEOMVALIDATORS_EXPORT GeomValidators_Face() {}
   //! returns true if attribute is valid
-  //! \param theAttribute the checked attribute
-  //! \param theArguments arguments of the attribute
+  //! \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) const;
-protected:
-  /// Convert string to TypeOfFace value
-  /// \param theType a string value
-  GEOMVALIDATORS_EXPORT static GeomAbs_SurfaceType faceType(const std::string& theType);
+                                             const std::list<std::string>& theArguments,
+                                             Events_InfoMessage& theError) const;
 };
 
 #endif