]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomValidators/GeomValidators_ShapeType.h
Salome HOME
Issue #2949: "On geometry" filter correct name and selection mechanism
[modules/shaper.git] / src / GeomValidators / GeomValidators_ShapeType.h
index d4f38cf5bfc3504cbdbb1b19ff8aaa2813814fa9..288af74397ce01dfaff90b02797d84b650978b1f 100644 (file)
@@ -66,12 +66,13 @@ class GeomValidators_ShapeType : public ModelAPI_AttributeValidator
 protected:
   /// Convert string to TypeOfShape value
   /// \param theType a string value
-  static TypeOfShape shapeType(const std::string& theType);
+  GEOMVALIDATORS_EXPORT static TypeOfShape shapeType(const std::string& theType);
 
   /// Returns true if the attibute's object type satisfies the argument value
   /// \param[in] theAttribute a checked attribute
   /// \param[in] theShapeType a type of shape
   /// \param[out] theError error message.
+  GEOMVALIDATORS_EXPORT
   bool isValidAttribute(const AttributePtr& theAttribute,
                         const TypeOfShape theShapeType,
                         Events_InfoMessage& theError) const;