oe_cos_naming.erl

来自「OTP是开放电信平台的简称」· ERL 代码 · 共 469 行 · 第 1/3 页

ERL
469
字号
%%------------------------------------------------------------%%%% Implementation stub file%% %% Target: oe_cos_naming%% Source: /ldisk/daily_build/otp_prebuild_r11b.2007-06-11_19/otp_src_R11B-5/lib/orber/COSS/CosNaming/cos_naming.idl%% IC vsn: 4.2.13%% %% This file is automatically generated. DO NOT EDIT IT.%%%%-------------------------------------------------------------module(oe_cos_naming).-ic_compiled("4_2_13").-include_lib("orber/include/ifr_types.hrl").%% Interface functions-export([oe_register/0, oe_unregister/0, oe_get_module/5]).-export([oe_dependency/0]).oe_register() ->    OE_IFR = orber_ifr:find_repository(),    register_tests(OE_IFR),    _OE_1 = oe_get_top_module(OE_IFR, "IDL:omg.org/CosNaming:1.0", "CosNaming", "1.0"),    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosNaming/Istring:1.0", "Istring", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_string,0})),    orber_ifr:'ModuleDef_create_struct'(_OE_1, "IDL:omg.org/CosNaming/NameComponent:1.0", "NameComponent", "1.0", [#structmember{name="id", type={tk_string,0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_string,0})}, #structmember{name="kind", type={tk_string,0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_string,0})}]),    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosNaming/Name:1.0", "Name", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,                                               {tk_struct,                                                "IDL:omg.org/CosNaming/NameComponent:1.0",                                                "NameComponent",                                                [{"id",{tk_string,0}},                                                 {"kind",{tk_string,0}}]},                                               0})),    orber_ifr:'ModuleDef_create_enum'(_OE_1, "IDL:omg.org/CosNaming/BindingType:1.0", "BindingType", "1.0", ["nobject","ncontext"]),    orber_ifr:'ModuleDef_create_struct'(_OE_1, "IDL:omg.org/CosNaming/Binding:1.0", "Binding", "1.0", [#structmember{name="binding_name", type={tk_sequence,                                         {tk_struct,                                          "IDL:omg.org/CosNaming/NameComponent:1.0",                                          "NameComponent",                                          [{"id",{tk_string,0}},                                           {"kind",{tk_string,0}}]},                                         0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,                                               {tk_struct,                                                "IDL:omg.org/CosNaming/NameComponent:1.0",                                                "NameComponent",                                                [{"id",{tk_string,0}},                                                 {"kind",{tk_string,0}}]},                                               0})}, #structmember{name="binding_type", type={tk_enum,                                         "IDL:omg.org/CosNaming/BindingType:1.0",                                         "BindingType",                                         ["nobject","ncontext"]}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_enum,                                               "IDL:omg.org/CosNaming/BindingType:1.0",                                               "BindingType",                                               ["nobject","ncontext"]})}]),    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosNaming/BindingList:1.0", "BindingList", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,                                               {tk_struct,                                                "IDL:omg.org/CosNaming/Binding:1.0",                                                "Binding",                                                [{"binding_name",                                                  {tk_sequence,                                                   {tk_struct,                                                    "IDL:omg.org/CosNaming/NameComponent:1.0",                                                    "NameComponent",                                                    [{"id",{tk_string,0}},                                                     {"kind",{tk_string,0}}]},                                                   0}},                                                 {"binding_type",                                                  {tk_enum,                                                   "IDL:omg.org/CosNaming/BindingType:1.0",                                                   "BindingType",                                                   ["nobject","ncontext"]}}]},                                               0})),    _OE_2 = orber_ifr:'ModuleDef_create_interface'(_OE_1, "IDL:omg.org/CosNaming/NamingContext:1.0", "NamingContext", "1.0", []),    orber_ifr:'InterfaceDef_create_enum'(_OE_2, "IDL:omg.org/CosNaming/NamingContext/NotFoundReason:1.0", "NotFoundReason", "1.0", ["missing_node","not_context","not_object"]),    orber_ifr:'InterfaceDef_create_exception'(_OE_2, "IDL:omg.org/CosNaming/NamingContext/NotFound:1.0", "NotFound", "1.0", [#structmember{name="why", type={tk_enum,                                   "IDL:omg.org/CosNaming/NamingContext/NotFoundReason:1.0",                                   "NotFoundReason",                                   ["missing_node",                                    "not_context",                                    "not_object"]}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_enum,                                               "IDL:omg.org/CosNaming/NamingContext/NotFoundReason:1.0",                                               "NotFoundReason",                                               ["missing_node",                                                "not_context",                                                "not_object"]})}, #structmember{name="rest_of_name", type={tk_sequence,                                         {tk_struct,                                          "IDL:omg.org/CosNaming/NameComponent:1.0",                                          "NameComponent",                                          [{"id",{tk_string,0}},                                           {"kind",{tk_string,0}}]},                                         0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,                                               {tk_struct,                                                "IDL:omg.org/CosNaming/NameComponent:1.0",                                                "NameComponent",                                                [{"id",{tk_string,0}},                                                 {"kind",{tk_string,0}}]},                                               0})}]),    orber_ifr:'InterfaceDef_create_exception'(_OE_2, "IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0", "CannotProceed", "1.0", [#structmember{name="cxt", type={tk_objref,                                   "IDL:omg.org/CosNaming/NamingContext:1.0",                                   "NamingContext"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,                                               "IDL:omg.org/CosNaming/NamingContext:1.0",                                               "NamingContext"})}, #structmember{name="rest_of_name", type={tk_sequence,                                         {tk_struct,                                          "IDL:omg.org/CosNaming/NameComponent:1.0",                                          "NameComponent",                                          [{"id",{tk_string,0}},                                           {"kind",{tk_string,0}}]},                                         0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,                                               {tk_struct,                                                "IDL:omg.org/CosNaming/NameComponent:1.0",                                                "NameComponent",                                                [{"id",{tk_string,0}},                                                 {"kind",{tk_string,0}}]},                                               0})}]),    orber_ifr:'InterfaceDef_create_exception'(_OE_2, "IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0", "InvalidName", "1.0", []),    orber_ifr:'InterfaceDef_create_exception'(_OE_2, "IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0", "AlreadyBound", "1.0", []),    orber_ifr:'InterfaceDef_create_exception'(_OE_2, "IDL:omg.org/CosNaming/NamingContext/NotEmpty:1.0", "NotEmpty", "1.0", []),    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosNaming/NamingContext/bind:1.0", "bind", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_void), 'OP_NORMAL', [#parameterdescription{name="obj", type={tk_objref,[],"Object"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,[],"Object"}), mode='PARAM_IN'}, #parameterdescription{name="n", type={tk_sequence,                                      {tk_struct,                                       "IDL:omg.org/CosNaming/NameComponent:1.0",                                       "NameComponent",                                       [{"id",{tk_string,0}},                                        {"kind",{tk_string,0}}]},                                      0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,                                               {tk_struct,                                                "IDL:omg.org/CosNaming/NameComponent:1.0",                                                "NameComponent",                                                [{"id",{tk_string,0}},                                                 {"kind",{tk_string,0}}]},                                               0}), mode='PARAM_IN'}], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")], []),    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosNaming/NamingContext/rebind:1.0", "rebind", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_void), 'OP_NORMAL', [#parameterdescription{name="obj", type={tk_objref,[],"Object"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,[],"Object"}), mode='PARAM_IN'}, #parameterdescription{name="n", type={tk_sequence,                                      {tk_struct,                                       "IDL:omg.org/CosNaming/NameComponent:1.0",

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?