public final class TypeCodeImpl extends TypeCode
| Constructor and Description |
|---|
TypeCodeImpl(ORB orb) |
TypeCodeImpl(ORB orb,
int creationKind) |
TypeCodeImpl(ORB orb,
int creationKind,
int bound) |
TypeCodeImpl(ORB orb,
int creationKind,
int bound,
int offset) |
TypeCodeImpl(ORB orb,
int creationKind,
int bound,
TypeCode element_type) |
TypeCodeImpl(ORB orb,
int creationKind,
short digits,
short scale) |
TypeCodeImpl(ORB orb,
int creationKind,
String id,
String name) |
TypeCodeImpl(ORB orb,
int creationKind,
String id,
String name,
short type_modifier,
TypeCode concrete_base,
ValueMember[] members) |
TypeCodeImpl(ORB orb,
int creationKind,
String id,
String name,
String[] members) |
TypeCodeImpl(ORB orb,
int creationKind,
String id,
String name,
StructMember[] members) |
TypeCodeImpl(ORB orb,
int creationKind,
String id,
String name,
TypeCode original_type) |
TypeCodeImpl(ORB orb,
int creationKind,
String id,
String name,
TypeCode discriminator_type,
UnionMember[] members) |
TypeCodeImpl(ORB orb,
String id) |
TypeCodeImpl(ORB orb,
TypeCode tc) |
| Modifier and Type | Method and Description |
|---|---|
TypeCode |
concrete_base_type() |
TypeCode |
content_type() |
protected static TypeCodeImpl |
convertToNative(ORB orb,
TypeCode tc) |
protected void |
copy(InputStream src,
OutputStream dst)
This is not a copy of the TypeCodeImpl objects, but instead it
copies the value this type code is representing.
|
int |
default_index() |
String |
description() |
protected static short |
digits(BigDecimal value) |
TypeCode |
discriminator_type() |
boolean |
equal(TypeCode tc) |
boolean |
equivalent(TypeCode tc)
The equivalent operation is used by the ORB when determining type equivalence
for values stored in an IDL any.
|
short |
fixed_digits() |
short |
fixed_scale() |
TypeCode |
get_compact_typecode() |
String |
id() |
boolean |
is_recursive() |
TCKind |
kind() |
int |
length() |
int |
member_count() |
Any |
member_label(int index) |
String |
member_name(int index) |
TypeCode |
member_type(int index) |
short |
member_visibility(int index) |
String |
name() |
static CDROutputObject |
newOutputStream(ORB orb) |
void |
printStream(PrintStream s) |
void |
read_value(InputStream is) |
protected static short |
scale(BigDecimal value) |
protected void |
setCaching(boolean enableCaching) |
String |
toString() |
short |
type_modifier() |
void |
write_value(OutputStream os) |
void |
write_value(TypeCodeOutputStream tcos) |
public TypeCodeImpl(ORB orb)
public TypeCodeImpl(ORB orb, int creationKind)
public TypeCodeImpl(ORB orb, int creationKind, String id, String name, StructMember[] members)
public TypeCodeImpl(ORB orb, int creationKind, String id, String name, TypeCode discriminator_type, UnionMember[] members)
public TypeCodeImpl(ORB orb, int creationKind, String id, String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
public TypeCodeImpl(ORB orb, int creationKind, String id, String name, String[] members)
public TypeCodeImpl(ORB orb, int creationKind, String id, String name, TypeCode original_type)
public TypeCodeImpl(ORB orb, int creationKind, int bound)
public TypeCodeImpl(ORB orb, int creationKind, int bound, int offset)
public TypeCodeImpl(ORB orb, int creationKind, short digits, short scale)
protected static TypeCodeImpl convertToNative(ORB orb, TypeCode tc)
public static CDROutputObject newOutputStream(ORB orb)
public boolean equivalent(TypeCode tc)
equivalent in class TypeCodepublic TypeCode get_compact_typecode()
get_compact_typecode in class TypeCodepublic boolean is_recursive()
public int member_count()
throws BadKind
member_count in class TypeCodeBadKindpublic String member_name(int index) throws BadKind, Bounds
member_name in class TypeCodeBadKindBoundspublic TypeCode member_type(int index) throws BadKind, Bounds
member_type in class TypeCodeBadKindBoundspublic Any member_label(int index) throws BadKind, Bounds
member_label in class TypeCodeBadKindBoundspublic TypeCode discriminator_type() throws BadKind
discriminator_type in class TypeCodeBadKindpublic int default_index()
throws BadKind
default_index in class TypeCodeBadKindpublic TypeCode content_type() throws BadKind
content_type in class TypeCodeBadKindpublic short fixed_digits()
throws BadKind
fixed_digits in class TypeCodeBadKindpublic short fixed_scale()
throws BadKind
fixed_scale in class TypeCodeBadKindpublic short member_visibility(int index)
throws BadKind,
Bounds
member_visibility in class TypeCodeBadKindBoundspublic short type_modifier()
throws BadKind
type_modifier in class TypeCodeBadKindpublic TypeCode concrete_base_type() throws BadKind
concrete_base_type in class TypeCodeBadKindpublic void read_value(InputStream is)
public void write_value(OutputStream os)
public void write_value(TypeCodeOutputStream tcos)
protected void copy(InputStream src, OutputStream dst)
src - InputStream to copy.dst - target for copy.protected static short digits(BigDecimal value)
protected static short scale(BigDecimal value)
public String description()
public void printStream(PrintStream s)
protected void setCaching(boolean enableCaching)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.