Salome HOME
Migration to OpenCASCADE CMake configuration.
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Validators.h
index 3254672de855045b8786492e870c7e97ecd00c63..e5dbdd2891c53a6cfc299ffff0e2bf0f57b75da6 100644 (file)
@@ -113,4 +113,19 @@ public:
                         Events_InfoMessage& theError) const;
 };
 
+/// \class ConstructionPlugin_ValidatorPointThreeNonParallelPlanes
+/// \ingroup Validators
+/// \brief A validator for selection three non parallel planes.
+class ConstructionPlugin_ValidatorPointThreeNonParallelPlanes: public ModelAPI_AttributeValidator
+{
+public:
+  //! \return True if the attribute is valid.
+  //! \param[in] theAttribute the checked attribute.
+  //! \param[in] theArguments arguments of the attribute.
+  //! \param[out] theError error message.
+  virtual bool isValid(const AttributePtr& theAttribute,
+                       const std::list<std::string>& theArguments,
+                       Events_InfoMessage& theError) const;
+};
+
 #endif
\ No newline at end of file