Salome HOME
Tooltips update for extrusion and revolution
[modules/shaper.git] / src / GeomValidators / GeomValidators_ShapeType.h
index de7fae9ba6575bec0ff18ab6243b30c0c9942a3a..5d30779b107c5c88a3906bb53683fcc5e380ee82 100644 (file)
@@ -26,14 +26,16 @@ class GeomValidators_ShapeType : public ModelAPI_AttributeValidator
   //  the edge type
   enum TypeOfShape
   {
-    AnyShape,
+    Empty,
     Vertex,
     Edge,
     Line,
     Circle,
-    Solid,
     Face,
-    Compound
+    Solid,
+    Compound,
+    Plane,
+    AnyShape
   };
 
  public:
@@ -42,7 +44,8 @@ class GeomValidators_ShapeType : public ModelAPI_AttributeValidator
   //! \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;
+                                             const std::list<std::string>& theArguments,
+                                             std::string& theError) const;
 protected:
   /// Convert string to TypeOfShape value
   /// \param theType a string value