tricky.idl

来自「MICO2.3.13 corba 环境平台」· IDL 代码 · 共 42 行

IDL
42
字号
valuetype vt {  public short x;};valuetype base {  public short y;};valuetype derived : truncatable base {  public vt z;};valuetype node {  public node next;};interface iface {  /*   *   derived_var d = ...;   *   ...   *   iface->skipped_value (d, d->z());   * even when the server doesnt have a factory for derived it   * must be able to extract d->z() for the second parameter.   */  void skipped_value (in base b, in vt v);  /*   *   vt_var v = ...;   *   ...   *   iface->shared_parameter (v, v);   * on the server side this must result in v1 == v2 (same pointer).   */  void shared_parameter (in vt v1, in vt v2);  /*   * the transmitted valuetype graph must be isomorphic to the   * original valuetype graph. check this using a cyclic list.   */  void cyclic (in node n);};

⌨️ 快捷键说明

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