An Any
object serves as a container for any user defined IDL data type or for any
IDL primitive type.
It consists of two parts:
TypeCode object describing the type of the data value contained
in the Any object. For example, a TypeCode object for
an array contains a field for the length of the array and a field for the type
of elements in the array. (Note that in this case, the second field of the TypeCode
object is itself a TypeCode object.)
For a given primitive type A the Any class provides of
a pair of methods for inserting and extracting values:
void insert_A( A arg )
value field of the Any object. The type
field is set accordingly. A extract_A()
Any object.
This method throws the exception BAD_OPERATION under two
conditions:
Any object is not A
extract_A is called before the value field
of the Any object has been set
List of members: Any Members.
System.Object
Any
Namespace: Ics Namespace
Assembly: Jintegra.Espresso.dll
Any Members | Ics.CORBA Namespace