public class DynStructImpl extends LocalObject implements DynStruct
| Modifier and Type | Field and Description |
|---|---|
protected Any |
any |
protected static DynAny[] |
emptyComponents |
protected int |
index |
protected static int |
NO_INDEX |
protected ORB |
orb |
protected static byte |
RECURSIVE_NO |
protected static byte |
RECURSIVE_UNDEF |
protected static byte |
RECURSIVE_YES |
protected static byte |
REPRESENTATION_ANY |
protected static byte |
REPRESENTATION_COMPONENTS |
protected static byte |
REPRESENTATION_NONE |
protected static byte |
REPRESENTATION_TYPECODE |
protected byte |
status |
protected static byte |
STATUS_DESTROYABLE |
protected static byte |
STATUS_DESTROYED |
protected static byte |
STATUS_UNDESTROYABLE |
protected static ORBUtilSystemException |
wrapper |
| Modifier | Constructor and Description |
|---|---|
protected |
DynStructImpl(ORB orb,
Any any,
boolean copyValue) |
protected |
DynStructImpl(ORB orb,
TypeCode typeCode) |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcurrent_member_kind, current_member_name, set_members_as_dyn_any, set_membersassign, 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_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overrideprotected static final byte REPRESENTATION_NONE
protected static final byte REPRESENTATION_TYPECODE
protected static final byte REPRESENTATION_ANY
protected static final byte REPRESENTATION_COMPONENTS
protected static final byte RECURSIVE_UNDEF
protected static final byte RECURSIVE_NO
protected static final byte RECURSIVE_YES
protected static final DynAny[] emptyComponents
protected static final ORBUtilSystemException wrapper
protected static final int NO_INDEX
protected static final byte STATUS_DESTROYABLE
protected static final byte STATUS_UNDESTROYABLE
protected static final byte STATUS_DESTROYED
protected ORB orb
protected Any any
protected byte status
protected int index
public NameValuePair[] get_members()
get_members in interface DynStructOperationspublic NameDynAnyPair[] get_members_as_dyn_any()
get_members_as_dyn_any in interface DynStructOperationspublic String current_member_name() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic TCKind current_member_kind() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic void set_members(NameValuePair[] value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic void set_members_as_dyn_any(NameDynAnyPair[] value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValueprotected boolean initializeComponentsFromAny()
protected boolean initializeComponentsFromTypeCode()
protected void clearData()
protected boolean isRecursive()
public DynAny current_component() throws TypeMismatch
TypeMismatchpublic int component_count()
public boolean next()
public boolean seek(int newIndex)
public void rewind()
protected void writeAny(OutputStream out)
protected boolean checkInitComponents()
protected void checkInitAny()
protected boolean initializeAnyFromComponents()
public void assign(DynAny dyn_any) throws TypeMismatch
assign in interface DynAnyOperationsTypeMismatchpublic void from_any(Any value) throws TypeMismatch, InvalidValue
from_any in interface DynAnyOperationsTypeMismatchInvalidValuepublic Any to_any()
to_any in interface DynAnyOperationspublic boolean equal(DynAny dyn_any)
equal in interface DynAnyOperationspublic void destroy()
destroy in interface DynAnyOperationspublic DynAny copy()
copy in interface DynAnyOperationspublic void insert_boolean(boolean value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_octet(byte value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_char(char value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_short(short value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_ushort(short value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_long(int value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_ulong(int value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_float(float value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_double(double value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_string(String value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic void insert_reference(Object value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic void insert_typecode(TypeCode value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic void insert_longlong(long value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_ulonglong(long value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_wchar(char value)
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic void insert_wstring(String value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic void insert_any(Any value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic void insert_dyn_any(DynAny value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic void insert_val(Serializable value) throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic Serializable get_val() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic boolean get_boolean()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic byte get_octet()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic char get_char()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic short get_short()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic short get_ushort()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic int get_long()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic int get_ulong()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic float get_float()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic double get_double()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic String get_string() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic Object get_reference() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic TypeCode get_typecode() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic long get_longlong()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic long get_ulonglong()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic char get_wchar()
throws TypeMismatch,
InvalidValue
TypeMismatchInvalidValuepublic String get_wstring() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic Any get_any() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValuepublic DynAny get_dyn_any() throws TypeMismatch, InvalidValue
TypeMismatchInvalidValueprotected DynAnyFactory factory()
protected Any getAny()
protected void setStatus(byte newStatus)
public TypeCode type()
type in interface DynAnyOperationspublic String[] _ids()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.