indexing description: "[ A base class for all Eiffel classes that have the correspondig C++ counterparts ]" legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" deferred class EGS_EXTERNAL_CPP_OBJECT inherit DISPOSABLE redefine dispose end feature -- Initialization make_from_external (an_object_ptr: POINTER) is require an_object_ptr_not_null: an_object_ptr /= default_pointer do object_ptr := an_object_ptr end feature -- Removal dispose is -- Delete C++ object. do if object_ptr /= default_pointer then cpp_delete (object_ptr) object_ptr := default_pointer end end feature object_ptr: POINTER -- Pointer to the corresponding C++ object feature {NONE} -- externals cpp_delete (obj_ptr: POINTER) is require obj_ptr_not_null: obj_ptr /= default_pointer deferred end feature {EGS_EXTERNAL_CPP_OBJECT} -- Implementation set_object_ptr (an_object_ptr: POINTER) is do object_ptr := an_object_ptr end indexing library: "egigs-cpp: Library for accessing the GigaSpaces platform, POCO library based implementation." copyright: "Copyright (c) 2008, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end