Package org.omg.DynamicAny
Class DynUnionHelper
- java.lang.Object
-
- org.omg.DynamicAny.DynUnionHelper
-
public abstract class DynUnionHelper extends java.lang.Object
DynUnion objects support the manipulation of IDL unions. A union can have only two valid current positions:- zero, which denotes the discriminator
- one, which denotes the active member
-
-
Field Summary
Fields Modifier and Type Field Description private static TypeCode
__typeCode
private static java.lang.String
_id
-
Constructor Summary
Constructors Constructor Description DynUnionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DynUnion
extract(Any a)
static java.lang.String
id()
static void
insert(Any a, DynUnion that)
static DynUnion
narrow(Object obj)
static DynUnion
read(InputStream istream)
static TypeCode
type()
static DynUnion
unchecked_narrow(Object obj)
static void
write(OutputStream ostream, DynUnion value)
-
-
-
Field Detail
-
_id
private static java.lang.String _id
-
__typeCode
private static TypeCode __typeCode
-
-
Method Detail
-
type
public static TypeCode type()
-
id
public static java.lang.String id()
-
read
public static DynUnion read(InputStream istream)
-
write
public static void write(OutputStream ostream, DynUnion value)
-
-