* Compares sort actions.
*/
virtual bool operator==(const SortActionImpl& sa) const = 0;
-
+
+ /**
+ * Compares sort actions.
+ */
+ virtual bool operator<(const SortActionImpl& sa) const = 0;
+
/**
* Gives a string representation of the action, for output
*/
return (*_action) == (*sa._action);
}
+ /**
+ * Compares sort actions.
+ */
+ bool operator<(const SortAction& sa) const{
+ return (*_action) < (*sa._action);
+ }
+
/**
* Compares sort actions.
*/