Add inequality operator.
[shibboleth/cpp-xmltooling.git] / xmltooling / QName.h
index 779ce70..c26e900 100644 (file)
@@ -186,6 +186,13 @@ namespace xmltooling {
      */\r
     extern XMLTOOL_API bool operator==(const QName& op1, const QName& op2);\r
 \r
+    /**\r
+     * Returns true iff op1's components are not equal to op2's components, excluding prefix.\r
+     * @param op1   First qname to compare\r
+     * @param op2   Second qname to compare\r
+     */\r
+    extern XMLTOOL_API bool operator!=(const QName& op1, const QName& op2);\r
+\r
 };\r
 \r
 #endif /* __xmltooling_qname_h__ */\r