org.omg.CosTime
Class UTOHelper

java.lang.Object
  |
  +--org.omg.CosTime.UTOHelper

public class UTOHelper
extends java.lang.Object

Helper class for : UTO

Author:
OpenORB Compiler

Constructor Summary
UTOHelper()
           
 
Method Summary
static UTO extract(org.omg.CORBA.Any a)
          Extract UTO from an any
static java.lang.String id()
          Return the UTO IDL ID
static void insert(org.omg.CORBA.Any a, UTO t)
          Insert UTO into an any
static UTO narrow(org.omg.CORBA.Object obj)
          Narrow CORBA::Object to UTO
static UTO read(org.omg.CORBA.portable.InputStream istream)
          Read UTO from a marshalled stream
static org.omg.CORBA.TypeCode type()
          Return the UTO TypeCode
static UTO unchecked_narrow(org.omg.CORBA.Object obj)
          Unchecked Narrow CORBA::Object to UTO
static void write(org.omg.CORBA.portable.OutputStream ostream, UTO value)
          Write UTO into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTOHelper

public UTOHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          UTO t)
Insert UTO into an any
Parameters:
a - an any
t - UTO value

extract

public static UTO extract(org.omg.CORBA.Any a)
Extract UTO from an any
Parameters:
a - an any
Returns:
the extracted UTO value

type

public static org.omg.CORBA.TypeCode type()
Return the UTO TypeCode
Returns:
a TypeCode

id

public static java.lang.String id()
Return the UTO IDL ID
Returns:
an ID

read

public static UTO read(org.omg.CORBA.portable.InputStream istream)
Read UTO from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed UTO value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         UTO value)
Write UTO into a marshalled stream
Parameters:
ostream - the output stream
value - UTO value

narrow

public static UTO narrow(org.omg.CORBA.Object obj)
Narrow CORBA::Object to UTO
Parameters:
obj - the CORBA Object
Returns:
UTO Object

unchecked_narrow

public static UTO unchecked_narrow(org.omg.CORBA.Object obj)
Unchecked Narrow CORBA::Object to UTO
Parameters:
obj - the CORBA Object
Returns:
UTO Object