Bull DPX/20 Uživatelská příručka Strana 348

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 424
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 347
3-42
SOMobjects Base Toolkit Programmers Reference Manual
TypeCode Information per TCKind Category
TCKind Parameters Type Function
tk_objref 1 string The ID of the corresponding
InterfaceDef in the Interface
Repository.
tk_struct 2N+1 string The name of the struct.
––next 2 repeat for each member––
string The name of the struct
member.
TypeCode The type of the struct
member.
tk_union 3N+2 string The name of the union.
TypeCode The type of the
discriminator.
––next 3 repeats for each enumerator––
long The label value.
string The name of the member.
TypeCode The type of the member.
tk_enum N+1 string The name of the enum.
–––next repeats for each enumerator–––
string The name of the
enumerator.
tk_string 1 long The maximum string length
or 0.
tk_sequence 2 TypeCode The type of element in the
sequence.
long The maximum number of
elements or 0.
tk_array 2 TypeCode The type of element in the
array.
long The maximum number of
elements.
tk_pointer* 1 TypeCode The type of the referenced
datum.
tk_self* 1 string The name of the referenced
enclosing struct or union.
tk_foreign* 3 string The name of the foriegn
type.
string The implementation context.
long The size of an instance.
Note: *The TCKind values tk_pointer, tk_self, and tk_foreign are SOM-unique
extensions to the CORBA standard. They are provided to permit TypeCodes to
describe types that cannot be expressed in standard IDL.
Zobrazit stránku 347
1 2 ... 343 344 345 346 347 348 349 350 351 352 353 ... 423 424

Komentáře k této Příručce

Žádné komentáře