Methods Summary |
---|
public void | assign(org.omg.CORBA.DynAny dyn_any)Copy the contents from one Dynamic Any into another.
|
public org.omg.CORBA.DynAny | copy()Clones this DynAny object.
|
public org.omg.CORBA.DynAny | current_component()Returns a DynAny object reference that can
be used to get/set the value of the component currently accessed.
The appropriate insert method
can be called on the resulting DynAny object
to initialize the component.
The appropriate get method
can be called on the resulting DynAny object
to extract the value of the component.
|
public void | destroy()Destroys this DynAny object and frees any resources
used to represent the data value associated with it. This method
also destroys all DynAny objects obtained from it.
Destruction of DynAny objects should be handled with
care, taking into account issues dealing with the representation of
data values associated with DynAny objects. A programmer
who wants to destroy a DynAny object but still be able
to manipulate some component of the data value associated with it,
should first create a DynAny object for the component
and then make a copy of the created DynAny object.
|
public void | from_any(org.omg.CORBA.Any value)Make a DynAny object from an Any
object.
|
public org.omg.CORBA.Any | get_any()Retrieves the org.omg.CORBA.Any contained
in this DynAny object.
|
public boolean | get_boolean()Retrieves the boolean contained
in this DynAny object.
|
public char | get_char()Retrieves the char contained
in this DynAny object.
|
public double | get_double()Retrieves the double contained
in this DynAny object.
|
public float | get_float()Retrieves the float contained
in this DynAny object.
|
public int | get_long()Retrieves the int contained
in this DynAny object.
|
public long | get_longlong()Retrieves the long contained
in this DynAny object.
|
public byte | get_octet()Retrieves the byte contained
in this DynAny object.
|
public org.omg.CORBA.Object | get_reference()Retrieves the org.omg.CORBA.Other contained
in this DynAny object.
|
public short | get_short()Retrieves the short contained
in this DynAny object.
|
public java.lang.String | get_string()Retrieves the String contained
in this DynAny object.
|
public org.omg.CORBA.TypeCode | get_typecode()Retrieves the org.omg.CORBA.TypeCode contained
in this DynAny object.
|
public int | get_ulong()Retrieves the int contained
in this DynAny object.
|
public long | get_ulonglong()Retrieves the long contained
in this DynAny object.
|
public short | get_ushort()Retrieves the short contained
in this DynAny object.
|
public java.io.Serializable | get_val()Retrieves the java.io.Serializable object contained
in this DynAny object.
|
public char | get_wchar()Retrieves the char contained
in this DynAny object.
|
public java.lang.String | get_wstring()Retrieves the String contained
in this DynAny object.
|
public void | insert_any(org.omg.CORBA.Any value)Inserts the given org.omg.CORBA.Any object as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_boolean(boolean value)Inserts the given boolean as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_char(char value)Inserts the given char as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_double(double value)Inserts the given double as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_float(float value)Inserts the given float as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_long(int value)Inserts the given int as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_longlong(long value)Inserts the given long as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_octet(byte value)Inserts the given byte as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_reference(org.omg.CORBA.Object value)Inserts the given org.omg.CORBA.Object as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_short(short value)Inserts the given short as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_string(java.lang.String value)Inserts the given String object as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_typecode(org.omg.CORBA.TypeCode value)Inserts the given org.omg.CORBA.TypeCode as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_ulong(int value)Inserts the given int as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_ulonglong(long value)Inserts the given long as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_ushort(short value)Inserts the given short as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_val(java.io.Serializable value)Inserts the given java.io.Serializable object as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_wchar(char value)Inserts the given char as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public void | insert_wstring(java.lang.String value)Inserts the given String as the value for this
DynAny object.
If this method is called on a constructed DynAny
object, it initializes the next component of the constructed data
value associated with this DynAny object.
|
public boolean | next()Moves to the next component of this DynAny object.
This method is used for iterating through the components of
a constructed type, effectively moving a pointer from one
component to the next. The pointer starts out on the first
component when a DynAny object is created.
|
public void | rewind()Moves the internal pointer to the first component.
|
public boolean | seek(int index)Moves the internal pointer to the given index. Logically, this method
sets a new offset for this pointer.
|
public org.omg.CORBA.Any | to_any()Convert a DynAny object to an Any
object.
|
public org.omg.CORBA.TypeCode | type()Returns the TypeCode of the object inserted into
this DynAny .
|