diff options
author | Marc Laukien <marc@zeroc.com> | 2001-10-20 23:48:17 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-10-20 23:48:17 +0000 |
commit | 05632330c6a6bb46826a47b0c295ffc455e7cd53 (patch) | |
tree | 8be1afb1f2d7c576a613a1d2218a2fa6d8d243e9 /cpp/src/Ice/Object.cpp | |
parent | added missing file (diff) | |
download | ice-05632330c6a6bb46826a47b0c295ffc455e7cd53.tar.bz2 ice-05632330c6a6bb46826a47b0c295ffc455e7cd53.tar.xz ice-05632330c6a6bb46826a47b0c295ffc455e7cd53.zip |
ServantFactory->ObjectFactory
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r-- | cpp/src/Ice/Object.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp index a0ec4de0eef..82a527f4e5c 100644 --- a/cpp/src/Ice/Object.cpp +++ b/cpp/src/Ice/Object.cpp @@ -34,6 +34,24 @@ Ice::Object::Object() : } bool +Ice::Object::operator==(const Object& r) const +{ + return this == &r; +} + +bool +Ice::Object::operator<(const Object& r) const +{ + return this < &r; +} + +Int +Ice::Object::_hash() const +{ + return reinterpret_cast<Int>(this); +} + +bool Ice::Object::_isA(const string& s) { return s == "::Ice::Object"; |