diff options
Diffstat (limited to 'cpp/src/Ice/Proxy.cpp')
-rw-r--r-- | cpp/src/Ice/Proxy.cpp | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp index 6632e23efa4..5cf7e2a55be 100644 --- a/cpp/src/Ice/Proxy.cpp +++ b/cpp/src/Ice/Proxy.cpp @@ -80,6 +80,23 @@ IceInternal::uncheckedCast(const ObjectPrx& b, const string& f, ObjectPrx& d) } bool +IceProxy::Ice::Object::operator==(const Object& r) const +{ + return _reference == r._reference; +} + +bool +IceProxy::Ice::Object::operator<(const Object& r) const +{ + return _reference < r._reference; +} + +Int +IceProxy::Ice::Object::_hash() const +{ + return _reference->hashValue; +} +bool IceProxy::Ice::Object::_isA(const string& s) { int __cnt = 0; @@ -132,31 +149,6 @@ IceProxy::Ice::Object::_ping() } } -void -IceProxy::Ice::Object::_flush() -{ - Handle< ::IceDelegate::Ice::Object> __del = __getDelegate(); - __del->_flush(); -} - -bool -IceProxy::Ice::Object::operator==(const Object& r) const -{ - return _reference == r._reference; -} - -bool -IceProxy::Ice::Object::operator<(const Object& r) const -{ - return _reference < r._reference; -} - -Int -IceProxy::Ice::Object::_hash() const -{ - return _reference->hashValue; -} - std::string IceProxy::Ice::Object::_getIdentity() const { @@ -311,6 +303,13 @@ IceProxy::Ice::Object::_timeout(int t) const } } +void +IceProxy::Ice::Object::_flush() +{ + Handle< ::IceDelegate::Ice::Object> __del = __getDelegate(); + __del->_flush(); +} + ReferencePtr IceProxy::Ice::Object::__reference() const { |