Пример #1
0
  /**
   * Creates an any value from a DynAny object. A copy of the TypeCode associated with the DynAny
   * object is assigned to the resulting any. The value associated with the DynAny object is copied
   * into the any.
   *
   * @return a new Any object with the same value and TypeCode
   */
  public org.omg.CORBA.Any to_any() {
    org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke("to_any", _opsClass);
    DynStructOperations $self = (DynStructOperations) $so.servant;

    try {
      return $self.to_any();
    } finally {
      _servant_postinvoke($so);
    }
  } // to_any