// ********************************************************************** // // Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** #include using namespace std; using namespace Ice; using namespace IceInternal; void IceInternal::incRef(LocalObject* p) { p->__incRef(); } void IceInternal::decRef(LocalObject* p) { p->__decRef(); } bool Ice::LocalObject::operator==(const LocalObject& r) const { return this == &r; } bool Ice::LocalObject::operator!=(const LocalObject& r) const { return this != &r; } bool Ice::LocalObject::operator<(const LocalObject& r) const { return this < &r; } Int Ice::LocalObject::ice_hash() const { return static_cast(reinterpret_cast(this) >> 4); }