3-45
Interface Repository Framework Reference
structOrUnionName
A string that gives the name of a struct or union that has been previously
named in the current TypeCode and is the subject of a self-referential
pointer type. See the footnote on tk_self in the table given in the
TypeCode_kind function description for an example of what this means
and how it is applied.
maxLength The maximum permitted length of a string or a sequence. The value 0
(zero) means that the string or sequence is considered unbounded.
length The maximum number of elements that can be stored in an array. All IDL
arrays are bounded, hence a value of zero denotes an array of zero
elements.
flag One of the following constant values used to distinguish a labeled case in
an IDL discriminated union switch statement from the default case:
TCREGULAR_CASE The value 1
TCDEFAULT_CASE The value 2
labelValue The actual value associated with a regular labeled case in an IDL
discriminated union switch statement. If preceded by the argument
TCDEFAULT_CASE, the value zero should be used.
mbrTC A TypeCode that represents the data type of a struct or union member.
swTC A TypeCode that represents the data type of the discriminator in an IDL
union statement.
seqTC A TypeCode that describes the data type of the elements in a sequence.
arrayTC A TypeCode that describes the data type of the elements of an array.
ptrTC A TypeCode that describes the data type referenced by a pointer.
typename A string that provides the name of a foreign type.
impCtx A string that identifies an implementation context where a foreign type is
understood.
instSize A long that holds the size of a foreign type instance. If the size is variable or
is not known, the value zero should be used.
allOtherTagValues
One of the values: tk_null, tk_void, tk_short, tk_long, tk_ushort,
tk_ulong, tk_float, tk_double, tk_boolean, tk_char, tk_octet, tk_any,
tk_TypeCode, or tk_Principal
All of these tags represent basic IDL data types that do not require any
other descriptive parameters.
Return Value
A new TypeCode instance, or NULL if the new instance could not be created.
Related Information
Functions: TypeCode_alignment, TypeCode_copy, TypeCode_equal, TypeCode_free,
TypeCode_kind, TypeCode_param_count, TypeCode_paramater, TypeCode_print,
TypeCode_setAlignment, TypeCode_size
Komentarze do niniejszej Instrukcji