All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.omg.CORBA.CharHolder

java.lang.Object
   |
   +----org.omg.CORBA.CharHolder

public final class CharHolder
extends Object
This class provides a holder for out and inout parameters of IDL type char. For example, given the following IDL file:
module TheModule
interface TheInterface {
void operation(in char inArg,
inout char ioArg, 
out char outArg);
};
};
The operation could be invoked as follows:
TheModule.TheInterface object = <...>
char inArg = <some char value>
org.omg.CORBA.CharHolder ioArg  = new org.omg.CORBA.CharHolder(<another char value>);
org.omg.CORBA.CharHolder outArg = new org.omg.CORBA.CharHolder();
System.out.println("Before: inArg=" + inArg.value + " ioArg=" + ioArg.value);
object.operation(inArg, ioArg, outArg);
System.out.println("After:  ioArg=" + ioArg.value + " outArg=" + outArg.value);


Variable Index

 o value
Public data member used to hold the Char's value.

Constructor Index

 o CharHolder()
Default constructor, useful for out parameters.
 o CharHolder(char)
Value constructor, useful for inout parameters.

Variables

 o value
 public char value
Public data member used to hold the Char's value.

Constructors

 o CharHolder
 public CharHolder()
Default constructor, useful for out parameters.

 o CharHolder
 public CharHolder(char value)
Value constructor, useful for inout parameters.

Parameters:
value - the initial char value

All Packages  Class Hierarchy  This Package  Previous  Next  Index