Bull DPX/20 Betriebsanweisung Seite 344

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 343
3-38
SOMobjects Base Toolkit Programmers Reference Manual
TypeCode_copy Function
Purpose
Creates a new copy of a given TypeCode.
IDL Syntax
TypeCode TypeCode_copy ( );
Description
The TypeCode_copy function creates a new copy of a given TypeCode. TypeCodes are
complex data structures whose actual representation is hidden, and may contain internal
references to strings and other TypeCodes. The copy created by this function is
guaranteed not to refer to any previously existing TypeCodes or strings, and hence can be
used long after the original TypeCode is freed or released (TypeCodes are typically
contained in Interface Repository objects whose memory resources are released by the
_somFree method).
All of the memory used to construct the TypeCode copy is allocated dynamically and should
be subsequently freed only by using the TypeCode_free function.
This function is a SOM-unique extension to the CORBA standard.
Parameters
tc The TypeCode to be copied.
ev A pointer to an Environment structure. The CORBA standard mandates
the use of this structure as a standard way to return exception information
when an error condition is detected.
Return Value
A new TypeCode with no internal references to any previously existing TypeCodes or
strings. If a copy cannot be created successfully, the value NULL is returned. No
exceptions are raised by this function.
Related Information
Functions: TypeCodeNew, TypeCode_alignment, TypeCode_equal, TypeCode_free,
TypeCode_kind, TypeCode_param_count, TypeCode_parameter, TypeCode_print,
TypeCode_setAlignment, TypeCode_size
Seitenansicht 343
1 2 ... 339 340 341 342 343 344 345 346 347 348 349 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare