public interface DynEnumOperations extends DynAnyOperations
Modifier and Type | Method and Description |
---|---|
String |
get_as_string()
将DynEnum的值作为IDL标识符返回。
|
int |
get_as_ulong()
将DynEnum的值作为枚举值的序数值返回。
|
void |
set_as_string(String value)
将DynEnum的值设置为在值参数中传递IDL标识符的枚举值。
|
void |
set_as_ulong(int value)
将DynEnum的值设置为枚举值的序数值。
|
assign, component_count, copy, current_component, destroy, equal, from_any, get_any, get_boolean, get_char, get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, next, rewind, seek, to_any, type
String get_as_string()
void set_as_string(String value) throws InvalidValue
InvalidValue
- 如果值包含不是相应枚举类型的有效IDL标识符的字符串
int get_as_ulong()
void set_as_ulong(int value) throws InvalidValue
InvalidValue
- 如果值包含超出相应枚举类型的序数值范围的值