Bull DPX/20 Manuale Utente Pagina 18

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 61
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 17
2-6
SOMobjects Base Toolkit Quick Reference Guide
somMethodPtr SOM_Resolve (
SOMObject objPtr,
<token> className,
<token> methodName);
Obtains a pointer to a static method procedure.
somMethodPtr SOM_ResolveNoCheck (
SOMObject objPtr
<token> className,
<token> methodName);
Obtains a pointer to a static method procedure, without doing consistency checks.
long SOM_SubstituteClass (
<token> oldClass,
<token> newClass);
Provides a convenience macro for invoking :the somSubstituteClass method.
void SOM_Test (boolean expression);
Tests whether a boolean condition is true; if not, a fatal error is raised.
void SOM_TestC (
boolean expression);
Tests whether a boolean condition is true; if not, a warning message is output.
void SOM_UninitEnvironment (
Environment * ev);
Uninitializes a local Environment structure; calls somExceptionFree (but not SOMFree).
void SOM_WarnMsg (string msg);
Reports a warning message.
SOMClass class
(see somcls.idl)
Note: All following method prototypes for the SOM kernel classes are expressed using
IDL syntax for OIDL callstyle methods. That is, the receiver of the method is implicit, and
the two possible CORBA implicit arguments (environment and context) are not passed.
For example, to call the _get_somInstanceDataOffsets method from C (assuming an
#include <somcls.h>) the following prototype specifies that a programmer could write
the statement: __get_somInstanceDataOffsets(classPtr).
somOffsets _get_somInstanceDataOffsets();
Returns a sequence of structures, each of which indicates a class and the offset to the beginning of the instance
data introduced by the indicated class in an instance of the receiver class.
void somAddDynamicMethod (
in somId methodId,
in somId methodDescriptor,
in somMethodPtr method,
in somMethodPtr applyStub);
Adds a new dynamic instance method to a class. Dynamic methods must be invoked using name-lookup or dispatch
resolution.
Vedere la pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 60 61

Commenti su questo manuale

Nessun commento