📄 dynany.html
字号:
<CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#get_wstring()">get_wstring</A></B>()</CODE><BR> Retrieves the <code>String</code> contained in this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_any(org.omg.CORBA.Any)">insert_any</A></B>(<A HREF="../../../org/omg/CORBA/Any.html">Any</A> value)</CODE><BR> Inserts the given <code>org.omg.CORBA.Any</code> object as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_boolean(boolean)">insert_boolean</A></B>(boolean value)</CODE><BR> Inserts the given <code>boolean</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_char(char)">insert_char</A></B>(char value)</CODE><BR> Inserts the given <code>char</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_double(double)">insert_double</A></B>(double value)</CODE><BR> Inserts the given <code>double</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_float(float)">insert_float</A></B>(float value)</CODE><BR> Inserts the given <code>float</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_long(int)">insert_long</A></B>(int value)</CODE><BR> Inserts the given <code>int</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_longlong(long)">insert_longlong</A></B>(long value)</CODE><BR> Inserts the given <code>long</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_octet(byte)">insert_octet</A></B>(byte value)</CODE><BR> Inserts the given <code>byte</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_reference(org.omg.CORBA.Object)">insert_reference</A></B>(<A HREF="../../../org/omg/CORBA/Object.html">Object</A> value)</CODE><BR> Inserts the given <code>org.omg.CORBA.Object</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_short(short)">insert_short</A></B>(short value)</CODE><BR> Inserts the given <code>short</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_string(java.lang.String)">insert_string</A></B>(<A HREF="../../../java/lang/String.html">String</A> value)</CODE><BR> Inserts the given <code>String</code> object as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_typecode(org.omg.CORBA.TypeCode)">insert_typecode</A></B>(<A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> value)</CODE><BR> Inserts the given <code>org.omg.CORBA.TypeCode</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_ulong(int)">insert_ulong</A></B>(int value)</CODE><BR> Inserts the given <code>int</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_ulonglong(long)">insert_ulonglong</A></B>(long value)</CODE><BR> Inserts the given <code>long</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_ushort(short)">insert_ushort</A></B>(short value)</CODE><BR> Inserts the given <code>short</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_val(java.io.Serializable)">insert_val</A></B>(<A HREF="../../../java/io/Serializable.html">Serializable</A> value)</CODE><BR> Inserts the given <code>java.io.Serializable</code> object as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_wchar(char)">insert_wchar</A></B>(char value)</CODE><BR> Inserts the given <code>char</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#insert_wstring(java.lang.String)">insert_wstring</A></B>(<A HREF="../../../java/lang/String.html">String</A> value)</CODE><BR> Inserts the given <code>String</code> as the value for this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#next()">next</A></B>()</CODE><BR> Moves to the next component of this <code>DynAny</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#rewind()">rewind</A></B>()</CODE><BR> Moves the internal pointer to the first component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#seek(int)">seek</A></B>(int index)</CODE><BR> Moves the internal pointer to the given index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/omg/CORBA/Any.html">Any</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#to_any()">to_any</A></B>()</CODE><BR> Convert a <code>DynAny</code> object to an <code>Any</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DynAny.html#type()">type</A></B>()</CODE><BR> Returns the <code>TypeCode</code> of the object inserted into this <code>DynAny</code>.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.omg.CORBA.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.omg.CORBA.<A HREF="../../../org/omg/CORBA/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/omg/CORBA/Object.html#_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue)">_create_request</A>, <A HREF="../../../org/omg/CORBA/Object.html#_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList)">_create_request</A>, <A HREF="../../../org/omg/CORBA/Object.html#_duplicate()">_duplicate</A>, <A HREF="../../../org/omg/CORBA/Object.html#_get_domain_managers()">_get_domain_managers</A>, <A HREF="../../../org/omg/CORBA/Object.html#_get_interface_def()">_get_interface_def</A>, <A HREF="../../../org/omg/CORBA/Object.html#_get_policy(int)">_get_policy</A>, <A HREF="../../../org/omg/CORBA/Object.html#_hash(int)">_hash</A>, <A HREF="../../../org/omg/CORBA/Object.html#_is_a(java.lang.String)">_is_a</A>, <A HREF="../../../org/omg/CORBA/Object.html#_is_equivalent(org.omg.CORBA.Object)">_is_equivalent</A>, <A HREF="../../../org/omg/CORBA/Object.html#_non_existent()">_non_existent</A>, <A HREF="../../../org/omg/CORBA/Object.html#_release()">_release</A>, <A HREF="../../../org/omg/CORBA/Object.html#_request(java.lang.String)">_request</A>, <A HREF="../../../org/omg/CORBA/Object.html#_set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)">_set_policy_override</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="type()"><!-- --></A><H3>type</H3><PRE>public <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> <B>type</B>()</PRE><DL><DD>Returns the <code>TypeCode</code> of the object inserted into this <code>DynAny</code>.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>TypeCode</code> object.</DL></DD></DL><HR><A NAME="assign(org.omg.CORBA.DynAny)"><!-- --></A><H3>assign</H3><PRE>public void <B>assign</B>(<A HREF="../../../org/omg/CORBA/DynAny.html">DynAny</A> dyn_any) throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/Invalid.html">Invalid</A></PRE><DL><DD>Copy the contents from one Dynamic Any into another.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dyn_any</CODE> - the <code>DynAny</code> object whose contents are assigned to this <code>DynAny</code>.<DT><B>Throws:</B><DD><CODE>Invalid</CODE> - if the source <code>DynAny</code> is invalid</DL></DD></DL><HR><A NAME="from_any(org.omg.CORBA.Any)"><!-- --></A><H3>from_any</H3><PRE>public void <B>from_any</B>(<A HREF="../../../org/omg/CORBA/Any.html">Any</A> value) throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/Invalid.html">Invalid</A></PRE><DL><DD>Make a <code>DynAny</code> object from an <code>Any</code> object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the <code>Any</code> object.<DT><B>Throws:</B><DD><CODE>Invalid</CODE> - if the source <code>Any</code> object is empty or bad</DL></DD></DL><HR><A NAME="to_any()"><!-- --></A><H3>to_any</H3><PRE>public <A HREF="../../../org/omg/CORBA/Any.html">Any</A> <B>to_any</B>() throws <A HREF="../../../org/omg/CORBA/DynAnyPackage/Invalid.html">Invalid</A></PRE><DL><DD>Convert a <code>DynAny</code> object to an <code>Any</code> object.<DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -