From bdde5251d8592c69d3951aa5b5a01e59b62eb7a2 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 16 Jan 2009 20:07:47 +0000 Subject: QPID-1589 - Added equality/inequality operators to qpid::console::ObjectId. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@735114 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/console/ObjectId.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpp/src/qpid/console/ObjectId.h') diff --git a/cpp/src/qpid/console/ObjectId.h b/cpp/src/qpid/console/ObjectId.h index 7d0399e51c..73304ca306 100644 --- a/cpp/src/qpid/console/ObjectId.h +++ b/cpp/src/qpid/console/ObjectId.h @@ -49,6 +49,13 @@ namespace console { void encode(framing::Buffer& buffer); void setValue(uint64_t f, uint64_t s) { first = f; second = s; } + bool operator==(const ObjectId& other) const; + bool operator!=(const ObjectId& other) const; + bool operator<(const ObjectId& other) const; + bool operator>(const ObjectId& other) const; + bool operator<=(const ObjectId& other) const; + bool operator>=(const ObjectId& other) const; + private: uint64_t first; uint64_t second; -- cgit v1.2.1