org.omg.CORBA
public class ParameterMode extends Object implements Serializable, IDLEntity
Field Summary | |
---|---|
static ParameterMode | PARAM_IN
This value means that the parameter is an IN parameter. |
static ParameterMode | PARAM_INOUT
This value means that the parameter is an INOUT parameter. |
static ParameterMode | PARAM_OUT
This value means that the parameter is an OUT parameter. |
static int | _PARAM_IN
This value means that the parameter is an IN parameter. |
static int | _PARAM_INOUT
This value means that the parameter is an INOUT parameter. |
static int | _PARAM_OUT
This value means that the parameter is an OUT parameter. |
Constructor Summary | |
---|---|
protected | ParameterMode(int a_value)
Create an instance of the parameter mode with the given value. |
Method Summary | |
---|---|
static ParameterMode | from_int(int p_mode)
Get a parameter mode instance for the integer parameter mode code.
|
int | value()
Return the integer value code for the given parameter mode.
|
Parameters: p_mode a parameter mode (0..2).
Returns: a corresponding parameter mode instance.
Throws: BAD_PARAM for the invalid parameter mode code.
Returns: 0 for PARAM_IN, 1 for PARAM_OUT, 3 for PARAM_INOUT.