#include "GeomValidators.h"
#include "ModelAPI_AttributeValidator.h"
-#include <GeomAbs_SurfaceType.hxx>
-
/**
* \ingroup Validators
* A validator of selection
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