org.omg.TimeBase
Class TdfTHelper

java.lang.Object
  |
  +--org.omg.TimeBase.TdfTHelper

public class TdfTHelper
extends java.lang.Object

Helper class for : TdfT

Author:
OpenORB Compiler

Constructor Summary
TdfTHelper()
           
 
Method Summary
static short extract(Any a)
          Extract TdfT from an any
static java.lang.String id()
          Return the TdfT IDL ID
static void insert(Any a, short t)
          Insert TdfT into an any
static short read(InputStream istream)
          Read TdfT from a marshalled stream
static TypeCode type()
          Return the TdfT TypeCode
static void write(OutputStream ostream, short value)
          Write TdfT into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TdfTHelper

public TdfTHelper()
Method Detail

insert

public static void insert(Any a,
                          short t)
Insert TdfT into an any
Parameters:
a - an any
t - TdfT value

extract

public static short extract(Any a)
Extract TdfT from an any
Parameters:
a - an any
Returns:
the extracted TdfT value

type

public static TypeCode type()
Return the TdfT TypeCode
Returns:
a TypeCode

id

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

read

public static short read(InputStream istream)
Read TdfT from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed TdfT value

write

public static void write(OutputStream ostream,
                         short value)
Write TdfT into a marshalled stream
Parameters:
ostream - the output stream
value - TdfT value