summaryrefslogtreecommitdiff
path: root/include/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/value.h b/include/value.h
index 63e8e6f..c478eb2 100644
--- a/include/value.h
+++ b/include/value.h
@@ -322,6 +322,17 @@ public:
bool operator> (const char *value) const { return ::strcmp(rawValue(), value) > 0; }
/**
+ * Comparison operators for hardcoded Value
+ * @param value
+ */
+ bool operator==(const Value &value) const;
+ bool operator!=(const Value &value) const { return !operator==(value); }
+ bool operator< (const Value &value) const;
+ bool operator> (const Value &value) const;
+ bool operator<=(const Value &value) const { return !operator>(value); }
+ bool operator>=(const Value &value) const { return !operator<(value); }
+
+ /**
* Comparison operators
* @param value
*/