Salome HOME
Fix for issue #1174
[modules/shaper.git] / src / GeomValidators / GeomValidators_Different.cpp
index 353df10b8d08b423db46210ba24298d0050dc179..94c369c5a516f796d1c6f4f8fe9023901ddd3a25 100644 (file)
@@ -37,10 +37,16 @@ bool isEqualAttributes(const AttributePtr& theLeft, const AttributePtr& theRight
   return false;
 }
 
+/** \class IsEqual
+ *  \ingroup Validators
+ *  \brief Auxiliary class used in std::find_if
+ */
 class IsEqual {
   AttributePtr myAttribute;
 public:
+  /// Constructor
   IsEqual(const AttributePtr& theAttribute) : myAttribute(theAttribute) {}
+  /// \return true in case if AttributePtr is equal with myAttribute
   bool operator()(const AttributePtr& theAttribute) {
     return isEqualAttributes(myAttribute, theAttribute);
   }