ここでは、オブジェクトリファレンスを制御するクラスであるObjectクラスについて説明します。
class CORBA { typedef Identifier string; typedef Context_ptr *Context; typedef NamedValue_ptr *NamedValue; typedef NVList_ptr *NVList; typedef Request_ptr *Request; typedef ImplementationDef_ptr *ImplementationDef; typedef InterfaceDef_ptr *InterfaceDef; class Object { public: static Object_ptr _nil( CORBA::Environment& ); static Object_ptr _duplicate( Object_ptr obj, CORBA::Environment& ); Status_create_request( Context_ptr ctx, const char *operation, NVList_ptr arg_list, NamedValue_ptr result, Request_ptr &request, Flags req_flags, CORBA::Environment& ); Request_ptr _request(Identifier, CORBA::Environment& ); ImplementationDef_ptr _get_implementation( CORBA::Environment& ); InterfaceDef_ptr _get_interface( CORBA::Environment& ); }; };