- virtual bool isValid(const FeaturePtr& theFeature, const std::list<std::string>& theArguments,
- const AttributePtr& theAttribute) const;
+ //! \param theArguments a list of arguments (names of attributes to check)
+ virtual bool isValid(const AttributePtr& theAttribute,
+ const std::list<std::string>& theArguments,
+ std::string& theError) const;
+private:
+ //! Returns error message for the error type
+ //! \param theType a type of error
+ //! \param thEqualObjectInfo an
+ std::string errorMessage(const PartSet_DifferentObjectsValidator::ErrorType& theType,
+ const std::string& thEqualObject, const std::string& theFirstAttribute,
+ const std::string& theSecondAttribute) const;