Lines Matching refs:TypeCode
35 * <code>TypeCode</code> objects are used:
42 * <code>TypeCode</code> object.
47 * The representation of a <code>TypeCode</code> object is opaque,
48 * but abstractly, a <code>TypeCode</code> object consists of:
54 * <code>TypeCode</code> object
57 * The <code>TypeCode</code> describing OMG IDL type
65 * <code>TypeCode</code> objects can be obtained in various ways:
68 * a basic IDL type. This method creates a <code>TypeCode</code> object
72 * <P>For example, the following creates a <code>TypeCode</code>
75 * org.omg.CORBA.TypeCode tcString = orb.create_string_tc(30);
77 * <P> The following creates a <code>TypeCode</code>
80 * org.omg.CORBA.TypeCode tcArray = orb.create_array_tc(
83 * <P> The following creates a <code>TypeCode</code>
86 * org.omg.CORBA.TypeCode tcInterface = orb.create_interface_tc(
96 * Most of the methods in the class <code>TypeCode</code>
97 * are accessors, and the information contained in a <code>TypeCode</code>
111 * These methods may be invoked on all <code>TypeCode</code> kinds:
160 * Unlike other CORBA pseudo-objects, <code>TypeCode</code>
166 * on a <code>struct</code> <code>TypeCode</code> to be permitted
167 * on an <code>exception</code> <code>TypeCode</code> as well. <p>
170 public abstract class TypeCode implements IDLEntity {
173 * Compares this <code>TypeCode</code> object with the given one,
174 * testing for equality. <code>TypeCode</code> objects are equal if
176 * <code>TypeCode</code> operations are applied to them.
178 * @param tc the <code>TypeCode</code> object to compare against
183 public abstract boolean equal(TypeCode tc);
186 * Tests to see if the given <code>TypeCode</code> object is
187 * equivalent to this <code>TypeCode</code> object.
197 public abstract boolean equivalent(TypeCode tc);
202 * @return a <code>TypeCode</code> object with optional name and
208 public abstract TypeCode get_compact_typecode();
212 * Retrieves the kind of this <code>TypeCode</code> object.
213 * The kind of a type code determines which <code>TypeCode</code>
217 * <code>TypeCode</code> object.
221 * <code>TypeCode</code> object
228 * of this <code>TypeCode</code> object.
234 * native, and abstract interface <code>TypeCode</code> objects
236 * Structure, union, enumeration, and alias <code>TypeCode</code> objects
242 * @return the RepositoryId for this <code>TypeCode</code> object
245 * is invoked on an inappropriate kind of<code>TypeCode</code>
252 * Retrieves the simple name identifying this <code>TypeCode</code>
255 * name returned from a <code>TypeCode</code> object
263 * <code>TypeCode</code> objects.
265 * @return the name identifying this <code>TypeCode</code> object
268 * is invoked on an inappropriate kind of<code>TypeCode</code>
276 * this <code>TypeCode</code> object.
279 * structure, union, and enumeration <code>TypeCode</code> objects.
284 * by this <code>TypeCode</code> object
287 * is invoked on an inappropriate kind of <code>TypeCode</code>
296 * Repository, the name returned from a <code>TypeCode</code> object
301 * and enumeration <code>TypeCode</code> objects.
312 * is invoked on an inappropriate kind of <code>TypeCode</code>
320 * Retrieves the <code>TypeCode</code> object describing the type
324 * and union <code>TypeCode</code> objects.
330 * @return the <code>TypeCode</code> object describing the
336 * is invoked on an inappropriate kind of <code>TypeCode</code>
340 public abstract TypeCode member_type(int index)
349 * <code>TypeCode</code> objects.
360 * is invoked on a non-union <code>TypeCode</code>
368 * Returns a <code>TypeCode</code> object describing
371 * on union <code>TypeCode</code> objects.
373 * @return the <code>TypeCode</code> object describing
376 * is invoked on a non-union <code>TypeCode</code>
380 public abstract TypeCode discriminator_type()
388 * <code>TypeCode</code> objects.
393 * is invoked on a non-union <code>TypeCode</code>
401 * this <code>TypeCode</code> object.
407 * array <code>TypeCode</code> objects.
412 * is invoked on an inappropriate kind of <code>TypeCode</code>
419 * Returns the <code>TypeCode</code> object representing the
421 * <code>TypeCode</code> object.
425 * <code>TypeCode</code> objects, one per dimension.
429 * alias, and boxed valuetype <code>TypeCode</code> objects.
431 * @return a <code>TypeCode</code> object representing
436 * is invoked on an inappropriate kind of <code>TypeCode</code>
440 public abstract TypeCode content_type() throws BadKind;
445 * <code>TypeCode</code> object. For example, the typecode for
451 * is invoked on an inappropriate kind of <code>TypeCode</code>
459 * <code>TypeCode</code> object. A positive number indicates the
469 * <code>TypeCode</code> object describes
471 * is invoked on an inappropriate kind of <code>TypeCode</code>
481 * <code>TypeCode</code> objects.
488 * is invoked on a non-value type <code>TypeCode</code>
501 * that this <code>TypeCode</code> object describes. The constant
507 * that this <code>TypeCode</code> object describes
510 * is invoked on a non-value type <code>TypeCode</code>
519 * Returns the <code>TypeCode</code> object that describes the concrete base type
520 * of the value type that this <code>TypeCode</code> object describes.
523 * @return the <code>TypeCode</code> object that describes the
525 * that this <code>TypeCode</code> object describes
527 * is invoked on a non-boxed value type <code>TypeCode</code> object
532 abstract public TypeCode concrete_base_type() throws BadKind ;