home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / scparm.xh < prev    next >
Text File  |  1999-02-22  |  41KB  |  1,246 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: scparm.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emitxh: 2.47
  8.  */
  9.  
  10. /*
  11.  *   COMPONENT_NAME: some
  12.  * 
  13.  *   ORIGINS: 27
  14.  * 
  15.  * 
  16.  *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996
  17.  *   All Rights Reserved
  18.  *   Licensed Materials - Property of IBM
  19.  *   US Government Users Restricted Rights - Use, duplication or
  20.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  21.  *  @(#) somc/sctypes.h 2.7 12/26/95 16:26:17 [7/30/96 14:46:04]
  22.  * 
  23.  */
  24.  
  25.  
  26. #ifndef SOM_SOMTParameterEntryC_xh
  27. #define SOM_SOMTParameterEntryC_xh
  28.  
  29. class SOMTParameterEntryC;
  30.  
  31. #define SOMTParameterEntryC_MajorVersion 2
  32. #define SOMTParameterEntryC_MinorVersion 1
  33.  
  34. /*
  35.  * Passthru lines: File: "C.xh", "before"
  36.  */
  37. typedef enum somtParameterDirectionT {somtInE,somtOutE,somtInOutE} somtParameterDirectionT;
  38.  
  39. /* C++ SOM defs */
  40. #include <somcls.xh>
  41. #include <somcm.xh>
  42.  
  43. /* C++ parent defs */
  44. #ifndef SOM_SOMTCommonEntryC_xh
  45. #include <sccommon.xh>
  46. #endif
  47.  
  48. #ifndef SOMTParameterEntryC_API
  49. #define SOMTParameterEntryC_API
  50. /*
  51.  * -- The Class API
  52.  */
  53.  
  54. /*
  55.  * Start of bindings for IDL types
  56.  */
  57.  
  58. class SOMClass;
  59. class SOMObject;
  60. class SOMTEntryC;
  61. class SOMTEmitC;
  62. class SOMTMetaClassEntryC;
  63. class SOMTAttributeEntryC;
  64. class SOMTTypedefEntryC;
  65. class SOMTBaseClassEntryC;
  66. class SOMTPassthruEntryC;
  67. class SOMTDataEntryC;
  68. class SOMTMethodEntryC;
  69. class SOMTClassEntryC;
  70. class SOMTModuleEntryC;
  71. class SOMTParameterEntryC;
  72. class SOMTStructEntryC;
  73. class SOMTUnionEntryC;
  74. class SOMTEnumEntryC;
  75. class SOMTConstEntryC;
  76. class SOMTSequenceEntryC;
  77. class SOMTStringEntryC;
  78. class SOMTEnumNameEntryC;
  79. class SOMTCommonEntryC;
  80. class SOMTUserDefinedTypeEntryC;
  81.  
  82. /*
  83.  * End of bindings for IDL types.
  84.  */
  85.  
  86. /* A procedure to create the SOMTParameterEntryC Class */
  87. SOMEXTERN SOMClass * SOMLINK SOMTParameterEntryCNewClass(
  88.         integer4 majorVersion,
  89.         integer4 minorVersion);
  90.  
  91. /* The API to the SOMTParameterEntryC class object, and the methods it introduces. */
  92. SOMEXTERN struct SOMTParameterEntryCClassDataStructure {
  93.     SOMClass *classObject;
  94.     somMToken _get_somtParameterDirection;
  95.     somMToken _get_somtCParameterDeclaration;
  96.     somMToken _get_somtIDLParameterDeclaration;
  97. } SOMDLINK SOMTParameterEntryCClassData;
  98. #define _SOMTParameterEntryC SOMTParameterEntryCClassData.classObject
  99.  
  100. /* The API to parentMtabs for SOMTParameterEntryC, and the instance data it introduces. */
  101. SOMEXTERN struct SOMTParameterEntryCCClassDataStructure {
  102.     somMethodTabs parentMtab;
  103.     somDToken              instanceDataToken;
  104. } SOMDLINK SOMTParameterEntryCCClassData;
  105.  
  106. /*
  107.  * -- Typedefs for SOMTParameterEntryC Method Procedures
  108.  */
  109. SOMEXTERN {
  110. typedef somtParameterDirectionT   SOMLINK somTP_SOMTParameterEntryC__get_somtParameterDirection(SOMTParameterEntryC *somSelf);
  111. typedef somTP_SOMTParameterEntryC__get_somtParameterDirection *somTD_SOMTParameterEntryC__get_somtParameterDirection;
  112. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtIDLParameterDeclaration(SOMTParameterEntryC *somSelf);
  113. typedef somTP_SOMTParameterEntryC__get_somtIDLParameterDeclaration *somTD_SOMTParameterEntryC__get_somtIDLParameterDeclaration;
  114. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtCParameterDeclaration(SOMTParameterEntryC *somSelf);
  115. typedef somTP_SOMTParameterEntryC__get_somtCParameterDeclaration *somTD_SOMTParameterEntryC__get_somtCParameterDeclaration;
  116.  
  117. /*
  118.  * -- Typedefs for Reintroduced Wrapper Methods
  119.  */
  120. typedef SOMTEntryC*   SOMLINK somTP_SOMTParameterEntryC__get_somtTypeObj(SOMTParameterEntryC *somSelf);
  121. typedef somTP_SOMTParameterEntryC__get_somtTypeObj *somTD_SOMTParameterEntryC__get_somtTypeObj;
  122. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtPtrs(SOMTParameterEntryC *somSelf);
  123. typedef somTP_SOMTParameterEntryC__get_somtPtrs *somTD_SOMTParameterEntryC__get_somtPtrs;
  124. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtArrayDimsString(SOMTParameterEntryC *somSelf);
  125. typedef somTP_SOMTParameterEntryC__get_somtArrayDimsString *somTD_SOMTParameterEntryC__get_somtArrayDimsString;
  126. typedef unsigned long   SOMLINK somTP_SOMTParameterEntryC_somtGetFirstArrayDimension(SOMTParameterEntryC *somSelf);
  127. typedef somTP_SOMTParameterEntryC_somtGetFirstArrayDimension *somTD_SOMTParameterEntryC_somtGetFirstArrayDimension;
  128. typedef unsigned long   SOMLINK somTP_SOMTParameterEntryC_somtGetNextArrayDimension(SOMTParameterEntryC *somSelf);
  129. typedef somTP_SOMTParameterEntryC_somtGetNextArrayDimension *somTD_SOMTParameterEntryC_somtGetNextArrayDimension;
  130. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtSourceText(SOMTParameterEntryC *somSelf);
  131. typedef somTP_SOMTParameterEntryC__get_somtSourceText *somTD_SOMTParameterEntryC__get_somtSourceText;
  132. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtType(SOMTParameterEntryC *somSelf);
  133. typedef somTP_SOMTParameterEntryC__get_somtType *somTD_SOMTParameterEntryC__get_somtType;
  134. typedef somtVisibilityT   SOMLINK somTP_SOMTParameterEntryC__get_somtVisibility(SOMTParameterEntryC *somSelf);
  135. typedef somTP_SOMTParameterEntryC__get_somtVisibility *somTD_SOMTParameterEntryC__get_somtVisibility;
  136. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somtIsArray(SOMTParameterEntryC *somSelf, 
  137.         long* size);
  138. typedef somTP_SOMTParameterEntryC_somtIsArray *somTD_SOMTParameterEntryC_somtIsArray;
  139. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somtIsPointer(SOMTParameterEntryC *somSelf);
  140. typedef somTP_SOMTParameterEntryC_somtIsPointer *somTD_SOMTParameterEntryC_somtIsPointer;
  141. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDumpSelfInt(SOMTParameterEntryC *somSelf, 
  142.         long level);
  143. typedef somTP_SOMTParameterEntryC_somDumpSelfInt *somTD_SOMTParameterEntryC_somDumpSelfInt;
  144. typedef long   SOMLINK somTP_SOMTParameterEntryC_somtSetSymbolsOnEntry(SOMTParameterEntryC *somSelf, 
  145.         SOMTEmitC* emitter, 
  146.         string prefix);
  147. typedef somTP_SOMTParameterEntryC_somtSetSymbolsOnEntry *somTD_SOMTParameterEntryC_somtSetSymbolsOnEntry;
  148. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtEntryName(SOMTParameterEntryC *somSelf);
  149. typedef somTP_SOMTParameterEntryC__get_somtEntryName *somTD_SOMTParameterEntryC__get_somtEntryName;
  150. typedef void   SOMLINK somTP_SOMTParameterEntryC__set_somtEntryName(SOMTParameterEntryC *somSelf, 
  151.         string somtEntryName);
  152. typedef somTP_SOMTParameterEntryC__set_somtEntryName *somTD_SOMTParameterEntryC__set_somtEntryName;
  153. typedef SOMTTypes   SOMLINK somTP_SOMTParameterEntryC__get_somtElementType(SOMTParameterEntryC *somSelf);
  154. typedef somTP_SOMTParameterEntryC__get_somtElementType *somTD_SOMTParameterEntryC__get_somtElementType;
  155. typedef void   SOMLINK somTP_SOMTParameterEntryC__set_somtElementType(SOMTParameterEntryC *somSelf, 
  156.         SOMTTypes somtElementType);
  157. typedef somTP_SOMTParameterEntryC__set_somtElementType *somTD_SOMTParameterEntryC__set_somtElementType;
  158. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtElementTypeName(SOMTParameterEntryC *somSelf);
  159. typedef somTP_SOMTParameterEntryC__get_somtElementTypeName *somTD_SOMTParameterEntryC__get_somtElementTypeName;
  160. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtEntryComment(SOMTParameterEntryC *somSelf);
  161. typedef somTP_SOMTParameterEntryC__get_somtEntryComment *somTD_SOMTParameterEntryC__get_somtEntryComment;
  162. typedef unsigned long   SOMLINK somTP_SOMTParameterEntryC__get_somtSourceLineNumber(SOMTParameterEntryC *somSelf);
  163. typedef somTP_SOMTParameterEntryC__get_somtSourceLineNumber *somTD_SOMTParameterEntryC__get_somtSourceLineNumber;
  164. typedef TypeCode   SOMLINK somTP_SOMTParameterEntryC__get_somtTypeCode(SOMTParameterEntryC *somSelf);
  165. typedef somTP_SOMTParameterEntryC__get_somtTypeCode *somTD_SOMTParameterEntryC__get_somtTypeCode;
  166. typedef boolean   SOMLINK somTP_SOMTParameterEntryC__get_somtIsReference(SOMTParameterEntryC *somSelf);
  167. typedef somTP_SOMTParameterEntryC__get_somtIsReference *somTD_SOMTParameterEntryC__get_somtIsReference;
  168. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtIDLScopedName(SOMTParameterEntryC *somSelf);
  169. typedef somTP_SOMTParameterEntryC__get_somtIDLScopedName *somTD_SOMTParameterEntryC__get_somtIDLScopedName;
  170. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtCScopedName(SOMTParameterEntryC *somSelf);
  171. typedef somTP_SOMTParameterEntryC__get_somtCScopedName *somTD_SOMTParameterEntryC__get_somtCScopedName;
  172. typedef string   SOMLINK somTP_SOMTParameterEntryC_somtGetModifierValue(SOMTParameterEntryC *somSelf, 
  173.         string modifierName);
  174. typedef somTP_SOMTParameterEntryC_somtGetModifierValue *somTD_SOMTParameterEntryC_somtGetModifierValue;
  175. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somtGetFirstModifier(SOMTParameterEntryC *somSelf, 
  176.         string* modifierName, 
  177.         string* modifierValue);
  178. typedef somTP_SOMTParameterEntryC_somtGetFirstModifier *somTD_SOMTParameterEntryC_somtGetFirstModifier;
  179. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somtGetNextModifier(SOMTParameterEntryC *somSelf, 
  180.         string* modifierName, 
  181.         string* modifierValue);
  182. typedef somTP_SOMTParameterEntryC_somtGetNextModifier *somTD_SOMTParameterEntryC_somtGetNextModifier;
  183. typedef long   SOMLINK somTP_SOMTParameterEntryC_somtFormatModifier(SOMTParameterEntryC *somSelf, 
  184.         string buffer, 
  185.         string name, 
  186.         string value);
  187. typedef somTP_SOMTParameterEntryC_somtFormatModifier *somTD_SOMTParameterEntryC_somtFormatModifier;
  188. typedef long   SOMLINK somTP_SOMTParameterEntryC_somtGetModifierList(SOMTParameterEntryC *somSelf, 
  189.         string buffer);
  190. typedef somTP_SOMTParameterEntryC_somtGetModifierList *somTD_SOMTParameterEntryC_somtGetModifierList;
  191. typedef void   SOMLINK somTP_SOMTParameterEntryC_somtSetEntryStruct(SOMTParameterEntryC *somSelf, 
  192.         Entry* es);
  193. typedef somTP_SOMTParameterEntryC_somtSetEntryStruct *somTD_SOMTParameterEntryC_somtSetEntryStruct;
  194. typedef void   SOMLINK somTP_SOMTParameterEntryC_somInit(SOMTParameterEntryC *somSelf);
  195. typedef somTP_SOMTParameterEntryC_somInit *somTD_SOMTParameterEntryC_somInit;
  196. typedef void   SOMLINK somTP_SOMTParameterEntryC_somUninit(SOMTParameterEntryC *somSelf);
  197. typedef somTP_SOMTParameterEntryC_somUninit *somTD_SOMTParameterEntryC_somUninit;
  198. typedef SOMObject*   SOMLINK somTP_SOMTParameterEntryC_somPrintSelf(SOMTParameterEntryC *somSelf);
  199. typedef somTP_SOMTParameterEntryC_somPrintSelf *somTD_SOMTParameterEntryC_somPrintSelf;
  200. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDumpSelf(SOMTParameterEntryC *somSelf, 
  201.         long level);
  202. typedef somTP_SOMTParameterEntryC_somDumpSelf *somTD_SOMTParameterEntryC_somDumpSelf;
  203. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultInit(SOMTParameterEntryC *somSelf, 
  204.         som3InitCtrl* ctrl);
  205. typedef somTP_SOMTParameterEntryC_somDefaultInit *somTD_SOMTParameterEntryC_somDefaultInit;
  206. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDestruct(SOMTParameterEntryC *somSelf, 
  207.         octet doFree, 
  208.         som3DestructCtrl* ctrl);
  209. typedef somTP_SOMTParameterEntryC_somDestruct *somTD_SOMTParameterEntryC_somDestruct;
  210. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultCopyInit(SOMTParameterEntryC *somSelf, 
  211.         som3InitCtrl* ctrl, 
  212.         SOMObject* fromObj);
  213. typedef somTP_SOMTParameterEntryC_somDefaultCopyInit *somTD_SOMTParameterEntryC_somDefaultCopyInit;
  214. typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTParameterEntryC_somDefaultAssign(SOMTParameterEntryC *somSelf, 
  215.         som3AssignCtrl* ctrl, 
  216.         SOMObject* fromObj);
  217. typedef somTP_SOMTParameterEntryC_somDefaultAssign *somTD_SOMTParameterEntryC_somDefaultAssign;
  218. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultConstCopyInit(SOMTParameterEntryC *somSelf, 
  219.         som3InitCtrl* ctrl, 
  220.         SOMObject* fromObj);
  221. typedef somTP_SOMTParameterEntryC_somDefaultConstCopyInit *somTD_SOMTParameterEntryC_somDefaultConstCopyInit;
  222. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultVCopyInit(SOMTParameterEntryC *somSelf, 
  223.         som3InitCtrl* ctrl, 
  224.         SOMObject* fromObj);
  225. typedef somTP_SOMTParameterEntryC_somDefaultVCopyInit *somTD_SOMTParameterEntryC_somDefaultVCopyInit;
  226. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultConstVCopyInit(SOMTParameterEntryC *somSelf, 
  227.         som3InitCtrl* ctrl, 
  228.         SOMObject* fromObj);
  229. typedef somTP_SOMTParameterEntryC_somDefaultConstVCopyInit *somTD_SOMTParameterEntryC_somDefaultConstVCopyInit;
  230. typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTParameterEntryC_somDefaultConstAssign(SOMTParameterEntryC *somSelf, 
  231.         som3AssignCtrl* ctrl, 
  232.         SOMObject* fromObj);
  233. typedef somTP_SOMTParameterEntryC_somDefaultConstAssign *somTD_SOMTParameterEntryC_somDefaultConstAssign;
  234. typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTParameterEntryC_somDefaultVAssign(SOMTParameterEntryC *somSelf, 
  235.         som3AssignCtrl* ctrl, 
  236.         SOMObject* fromObj);
  237. typedef somTP_SOMTParameterEntryC_somDefaultVAssign *somTD_SOMTParameterEntryC_somDefaultVAssign;
  238. typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTParameterEntryC_somDefaultConstVAssign(SOMTParameterEntryC *somSelf, 
  239.         som3AssignCtrl* ctrl, 
  240.         SOMObject* fromObj);
  241. typedef somTP_SOMTParameterEntryC_somDefaultConstVAssign *somTD_SOMTParameterEntryC_somDefaultConstVAssign;
  242. typedef void   SOMLINK somTP_SOMTParameterEntryC_somFree(SOMTParameterEntryC *somSelf);
  243. typedef somTP_SOMTParameterEntryC_somFree *somTD_SOMTParameterEntryC_somFree;
  244. typedef SOMClass*   SOMLINK somTP_SOMTParameterEntryC_somGetClass(SOMTParameterEntryC *somSelf);
  245. typedef somTP_SOMTParameterEntryC_somGetClass *somTD_SOMTParameterEntryC_somGetClass;
  246. typedef string   SOMLINK somTP_SOMTParameterEntryC_somGetClassName(SOMTParameterEntryC *somSelf);
  247. typedef somTP_SOMTParameterEntryC_somGetClassName *somTD_SOMTParameterEntryC_somGetClassName;
  248. typedef long   SOMLINK somTP_SOMTParameterEntryC_somGetSize(SOMTParameterEntryC *somSelf);
  249. typedef somTP_SOMTParameterEntryC_somGetSize *somTD_SOMTParameterEntryC_somGetSize;
  250. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somIsA(SOMTParameterEntryC *somSelf, 
  251.         SOMClass* aClassObj);
  252. typedef somTP_SOMTParameterEntryC_somIsA *somTD_SOMTParameterEntryC_somIsA;
  253. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somIsInstanceOf(SOMTParameterEntryC *somSelf, 
  254.         SOMClass* aClassObj);
  255. typedef somTP_SOMTParameterEntryC_somIsInstanceOf *somTD_SOMTParameterEntryC_somIsInstanceOf;
  256. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somRespondsTo(SOMTParameterEntryC *somSelf, 
  257.         somId mId);
  258. typedef somTP_SOMTParameterEntryC_somRespondsTo *somTD_SOMTParameterEntryC_somRespondsTo;
  259. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somDispatch(SOMTParameterEntryC *somSelf, 
  260.         somToken* retValue, 
  261.         somId methodId, 
  262.         va_list ap);
  263. typedef somTP_SOMTParameterEntryC_somDispatch *somTD_SOMTParameterEntryC_somDispatch;
  264. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somClassDispatch(SOMTParameterEntryC *somSelf, 
  265.         SOMClass* clsObj, 
  266.         somToken* retValue, 
  267.         somId methodId, 
  268.         va_list ap);
  269. typedef somTP_SOMTParameterEntryC_somClassDispatch *somTD_SOMTParameterEntryC_somClassDispatch;
  270. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somCastObj(SOMTParameterEntryC *somSelf, 
  271.         SOMClass* cls);
  272. typedef somTP_SOMTParameterEntryC_somCastObj *somTD_SOMTParameterEntryC_somCastObj;
  273. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somResetObj(SOMTParameterEntryC *somSelf);
  274. typedef somTP_SOMTParameterEntryC_somResetObj *somTD_SOMTParameterEntryC_somResetObj;
  275. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDispatchV(SOMTParameterEntryC *somSelf, 
  276.         somId methodId, 
  277.         somId descriptor, 
  278.         va_list ap);
  279. typedef somTP_SOMTParameterEntryC_somDispatchV *somTD_SOMTParameterEntryC_somDispatchV;
  280. typedef long   SOMLINK somTP_SOMTParameterEntryC_somDispatchL(SOMTParameterEntryC *somSelf, 
  281.         somId methodId, 
  282.         somId descriptor, 
  283.         va_list ap);
  284. typedef somTP_SOMTParameterEntryC_somDispatchL *somTD_SOMTParameterEntryC_somDispatchL;
  285. typedef void*   SOMLINK somTP_SOMTParameterEntryC_somDispatchA(SOMTParameterEntryC *somSelf, 
  286.         somId methodId, 
  287.         somId descriptor, 
  288.         va_list ap);
  289. typedef somTP_SOMTParameterEntryC_somDispatchA *somTD_SOMTParameterEntryC_somDispatchA;
  290. typedef double   SOMLINK somTP_SOMTParameterEntryC_somDispatchD(SOMTParameterEntryC *somSelf, 
  291.         somId methodId, 
  292.         somId descriptor, 
  293.         va_list ap);
  294. typedef somTP_SOMTParameterEntryC_somDispatchD *somTD_SOMTParameterEntryC_somDispatchD;
  295. }
  296.  
  297. #endif /* SOMTParameterEntryC_API */
  298.  
  299.  
  300. /*
  301.  * -- This emitter treats Method Tokens as Thunks by default.
  302.  * -- Use the sc modifier "nothunks" to change this default
  303.  */
  304. #undef somresolve_
  305. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  306.  
  307. /*
  308.  * -- The C++ Wrapper Class for SOMTParameterEntryC
  309.  */
  310. class SOMTParameterEntryC : public SOMTCommonEntryC
  311. {
  312. public:
  313.  
  314. // SOMTParameterEntryC::new creates the class object if necessary, and then uses somNewNoInit
  315. // to allocate memory and create the object. Initialization is in ctors.
  316. void *operator new(size_t)
  317. {
  318.    if (!_SOMTParameterEntryC) SOMTParameterEntryCNewClass(SOMTParameterEntryC_MajorVersion,SOMTParameterEntryC_MinorVersion);
  319.    return (void*)
  320.       SOM_Resolve(_SOMTParameterEntryC,SOMClass,somNewNoInit)
  321.          ((SOMClass *)((void*)_SOMTParameterEntryC));
  322. }
  323.  
  324. // SOMTParameterEntryC::delete uses somDestruct.
  325. void operator delete(void * obj)
  326. {
  327.    if (obj && *(void**)obj) {
  328.       SOM_Resolve(obj,SOMObject,somFree)
  329.          ((SOMObject*)obj);
  330.    }
  331. }
  332.  
  333. SOMTParameterEntryC& operator=(SOMTParameterEntryC& fromObj)
  334. {
  335.    this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
  336.    return *this;
  337. }
  338.  
  339. SOMTParameterEntryC()
  340. {
  341.    if (*(void**)this != 
  342.        ((somParentMtabStructPtr)
  343.         (SOMTParameterEntryCCClassData.parentMtab))->mtab)
  344.       return;
  345.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  346. }
  347.  
  348. SOMTParameterEntryC(SOMTParameterEntryC* fromObj)
  349. {
  350.    if (*(void**)this != 
  351.        ((somParentMtabStructPtr)
  352.         (SOMTParameterEntryCCClassData.parentMtab))->mtab)
  353.       return;
  354.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  355. }
  356.  
  357. #ifdef __IBMCPP__
  358. #pragma info(nocnv,nopar)
  359. #endif
  360. SOMTParameterEntryC(const SOMTParameterEntryC* fromObj)
  361. {
  362.    if (*(void**)this != 
  363.        ((somParentMtabStructPtr)
  364.         (SOMTParameterEntryCCClassData.parentMtab))->mtab)
  365.       return;
  366.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  367. }
  368. #ifdef __IBMCPP__
  369. #pragma info(restore)
  370. #endif
  371.  
  372.  
  373. /* method: _get_somtParameterDirection */
  374. somtParameterDirectionT   _get_somtParameterDirection()
  375. {
  376. /*
  377.  *  The direction for this parameter. (somtInE, somtOutE, or somtInOutE).
  378.  */
  379.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTParameterEntryC,_get_somtParameterDirection)
  380.     (this);
  381. }
  382.  
  383.  
  384. /* method: _get_somtIDLParameterDeclaration */
  385. string   _get_somtIDLParameterDeclaration()
  386. {
  387. /*
  388.  *  The IDL declaration of the parameter, including the type and name.
  389.  */
  390.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTParameterEntryC,_get_somtIDLParameterDeclaration)
  391.     (this);
  392. }
  393.  
  394.  
  395. /* method: _get_somtCParameterDeclaration */
  396. string   _get_somtCParameterDeclaration()
  397. {
  398. /*
  399.  *  The declaration for the parameter within a C method procedure prototype.
  400.  *  It includes the parameter's type and name.
  401.  *  This may differ from the parameter's IDL declaration.
  402.  *  In particular, pointer stars may be added.
  403.  */
  404.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTParameterEntryC,_get_somtCParameterDeclaration)
  405.     (this);
  406. }
  407.  
  408.  
  409. /*
  410.  * Reintroduce inherited methods
  411.  */
  412.  
  413. /* method: _get_somtTypeObj */
  414. SOMTEntryC*   _get_somtTypeObj()
  415. {
  416. /*
  417.  *  The object representing the base type of the entry.
  418.  *  This does not include pointer stars or array declarators.
  419.  */
  420.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtTypeObj)
  421.     (this);
  422. }
  423.  
  424.  
  425. /* method: _get_somtPtrs */
  426. string   _get_somtPtrs()
  427. {
  428. /*
  429.  *  The string of stars associated with the entry's type.
  430.  *  For example, an object of type "foo" would have somtPtrs = NULL,
  431.  *  type "foo *" would have somtPtrs = "*", type
  432.  *  "foo **" would have somtPtrs = "**", etc.
  433.  */
  434.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtPtrs)
  435.     (this);
  436. }
  437.  
  438.  
  439. /* method: _get_somtArrayDimsString */
  440. string   _get_somtArrayDimsString()
  441. {
  442. /*
  443.  *  Array dimensions in string form.
  444.  */
  445.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtArrayDimsString)
  446.     (this);
  447. }
  448.  
  449.  
  450. /* method: somtGetFirstArrayDimension */
  451. unsigned long   somtGetFirstArrayDimension()
  452. {
  453. /*
  454.  *  The first array dimension, for items of type array.
  455.  *  Zero indicates that the item is not an array.
  456.  */
  457.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,somtGetFirstArrayDimension)
  458.     (this);
  459. }
  460.  
  461.  
  462. /* method: somtGetNextArrayDimension */
  463. unsigned long   somtGetNextArrayDimension()
  464. {
  465. /*
  466.  *  The next array dimension, for items of type array,
  467.  *  relative to the previous call to this method or to
  468.  *  somtGetFirstArrayDimension.  Zero indicates no more dimensions.
  469.  */
  470.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,somtGetNextArrayDimension)
  471.     (this);
  472. }
  473.  
  474.  
  475. /* method: _get_somtSourceText */
  476. string   _get_somtSourceText()
  477. {
  478. /*
  479.  *  The un-parsed source text for this entry, with leading and
  480.  *  trailing white space removed.  For attribute/typedef declarators
  481.  *  and for user-defined types, this attribute only provides the
  482.  *  source text for the entry's name.  For methods, arguments,
  483.  *  and instance variables, however, this attribute provides the
  484.  *  full definition.
  485.  */
  486.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtSourceText)
  487.     (this);
  488. }
  489.  
  490.  
  491. /* method: _get_somtType */
  492. string   _get_somtType()
  493. {
  494. /*
  495.  *  The IDL type for this entry in string form. For methods this is the
  496.  *  return type.  For data or parameters this is the type of the data
  497.  *  item or parameter. For user-defined types, this is the type specification.
  498.  *  It is of the form:   <typename><pointer-stars> <array-declarators>
  499.  */
  500.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtType)
  501.     (this);
  502. }
  503.  
  504.  
  505. /* method: _get_somtVisibility */
  506. somtVisibilityT   _get_somtVisibility()
  507. {
  508. /*
  509.  *  The visibility of this entry.  Note: the visibility of
  510.  *  parameter entries will always be public, and methods can never be
  511.  *  internal.
  512.  */
  513.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtVisibility)
  514.     (this);
  515. }
  516.  
  517.  
  518. /* method: somtIsArray */
  519. boolean   somtIsArray(long* size)
  520. {
  521. /*
  522.  *  Returns 1 (true) if the type involves an array.  When the type
  523.  *  involves an array then <size> is set to be the size of the
  524.  *  array.
  525.  */
  526.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,somtIsArray)
  527.     (this,size);
  528. }
  529.  
  530.  
  531. /* method: somtIsPointer */
  532. boolean   somtIsPointer()
  533. {
  534. /*
  535.  *  Returns 1 (true) if the type involves a pointer, and 0 (false)
  536.  *  otherwise
  537.  */
  538.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,somtIsPointer)
  539.     (this);
  540. }
  541.  
  542.  
  543. /* method: somDumpSelfInt */
  544. void   somDumpSelfInt(long level)
  545. {
  546.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDumpSelfInt)
  547.     (this,level);
  548. }
  549.  
  550.  
  551. /* method: somtSetSymbolsOnEntry */
  552. long   somtSetSymbolsOnEntry(SOMTEmitC* emitter, 
  553.         string prefix)
  554. {
  555.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtSetSymbolsOnEntry)
  556.     (this,emitter,prefix);
  557. }
  558.  
  559.  
  560. /* method: _get_somtEntryName */
  561. string   _get_somtEntryName()
  562. {
  563. /*
  564.  *  The name associated with this entry.  Eg, the name of
  565.  *  the data item, the class, the method, the type, etc.
  566.  */
  567.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtEntryName)
  568.     (this);
  569. }
  570.  
  571.  
  572. /* method: _set_somtEntryName */
  573. void   _set_somtEntryName(string somtEntryName)
  574. {
  575. /*
  576.  *  The name associated with this entry.  Eg, the name of
  577.  *  the data item, the class, the method, the type, etc.
  578.  */
  579.    SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_set_somtEntryName)
  580.     (this,somtEntryName);
  581. }
  582.  
  583.  
  584. /* method: _get_somtElementType */
  585. SOMTTypes   _get_somtElementType()
  586. {
  587. /*
  588.  *  Returns the type of this entry.
  589.  *  This is not datatype, but entry type (method, class,
  590.  *  passthru, etc.). The value is defined by SOMTTypes.
  591.  */
  592.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtElementType)
  593.     (this);
  594. }
  595.  
  596.  
  597. /* method: _set_somtElementType */
  598. void   _set_somtElementType(SOMTTypes somtElementType)
  599. {
  600. /*
  601.  *  Returns the type of this entry.
  602.  *  This is not datatype, but entry type (method, class,
  603.  *  passthru, etc.). The value is defined by SOMTTypes.
  604.  */
  605.    SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_set_somtElementType)
  606.     (this,somtElementType);
  607. }
  608.  
  609.  
  610. /* method: _get_somtElementTypeName */
  611. string   _get_somtElementTypeName()
  612. {
  613. /*
  614.  *  String version of somtElementType.
  615.  */
  616.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtElementTypeName)
  617.     (this);
  618. }
  619.  
  620.  
  621. /* method: _get_somtEntryComment */
  622. string   _get_somtEntryComment()
  623. {
  624. /*
  625.  *  Returns the comment associated with this entry, or NULL is this
  626.  *  entry has no associated comment.  Comments will have comment
  627.  *  delimitors removed, but will retain newline characters as
  628.  *  specified in the source file. (use smLookupComment)
  629.  */
  630.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtEntryComment)
  631.     (this);
  632. }
  633.  
  634.  
  635. /* method: _get_somtSourceLineNumber */
  636. unsigned long   _get_somtSourceLineNumber()
  637. {
  638. /*
  639.  *  Returns the line number in the source file where this entry's
  640.  *  syntactic form ended.
  641.  */
  642.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtSourceLineNumber)
  643.     (this);
  644. }
  645.  
  646.  
  647. /* method: _get_somtTypeCode */
  648. TypeCode   _get_somtTypeCode()
  649. {
  650. /*
  651.  *  The typecode, if appropriate, or NULL.
  652.  */
  653.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtTypeCode)
  654.     (this);
  655. }
  656.  
  657.  
  658. /* method: _get_somtIsReference */
  659. boolean   _get_somtIsReference()
  660. {
  661. /*
  662.  *  Whether the entry is just a reference to the real type (TRUE)
  663.  *  rather than a declaration of it (FALSE).
  664.  */
  665.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtIsReference)
  666.     (this);
  667. }
  668.  
  669.  
  670. /* method: _get_somtIDLScopedName */
  671. string   _get_somtIDLScopedName()
  672. {
  673. /*
  674.  *  The IDL scoped name of the entry (using double colon as delimiter).
  675.  */
  676.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtIDLScopedName)
  677.     (this);
  678. }
  679.  
  680.  
  681. /* method: _get_somtCScopedName */
  682. string   _get_somtCScopedName()
  683. {
  684. /*
  685.  *  The C scoped name of the entry (using underscore as delimiter).
  686.  */
  687.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtCScopedName)
  688.     (this);
  689. }
  690.  
  691.  
  692. /* method: somtGetModifierValue */
  693. string   somtGetModifierValue(string modifierName)
  694. {
  695. /*
  696.  *  Returns the value of the named modifier if this entry has the
  697.  *  named modifier and NULL otherwise. Note: if the modifier is
  698.  *  present but does not have a value then a value of <'\1'> is
  699.  *  returned.
  700.  */
  701.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtGetModifierValue)
  702.     (this,modifierName);
  703. }
  704.  
  705.  
  706. /* method: somtGetFirstModifier */
  707. boolean   somtGetFirstModifier(string* modifierName, 
  708.         string* modifierValue)
  709. {
  710. /*
  711.  *  Returns the first modifier associated with this entry.  1 (true)
  712.  *  is returned if the entry has at least one modifier and 0 (false)
  713.  *  otherwise.
  714.  */
  715.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtGetFirstModifier)
  716.     (this,modifierName,modifierValue);
  717. }
  718.  
  719.  
  720. /* method: somtGetNextModifier */
  721. boolean   somtGetNextModifier(string* modifierName, 
  722.         string* modifierValue)
  723. {
  724. /*
  725.  *  Returns the next modifier (with respect to the last call to
  726.  *  <somtGetNextModifier> or <somtGetFirstModifier>)
  727.  *  associated with this entry.  1 (true) is returned if the entry
  728.  *  had another modifier and 0 (false) otherwise.
  729.  */
  730.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtGetNextModifier)
  731.     (this,modifierName,modifierValue);
  732. }
  733.  
  734.  
  735. /* method: somtFormatModifier */
  736. long   somtFormatModifier(string buffer, 
  737.         string name, 
  738.         string value)
  739. {
  740. /*
  741.  *  Formats the indicated name/value pair into buffer.  Buffer must
  742.  *  be big enough to hold all the formatted pair, no checks are made.
  743.  *  The number of characters added to buffer are returned (not
  744.  *  including the trailing null character).
  745.  *  Note: value may be null
  746.  *  You will probably never call this method, it is provided so that
  747.  *  you can override it to control the format returned in
  748.  *  <somtGetModifierList>.
  749.  */
  750.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtFormatModifier)
  751.     (this,buffer,name,value);
  752. }
  753.  
  754.  
  755. /* method: somtGetModifierList */
  756. long   somtGetModifierList(string buffer)
  757. {
  758. /*
  759.  *  The modifiers for this entry are placed in <buffer> in template
  760.  *  list form (newline separated).  Buffer must be big enough to
  761.  *  hold all the modifiers, no checks are made. The number of
  762.  *  modifiers is returned.
  763.  */
  764.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtGetModifierList)
  765.     (this,buffer);
  766. }
  767.  
  768.  
  769. /* method: somtSetEntryStruct */
  770. void   somtSetEntryStruct(Entry* es)
  771. {
  772. /*
  773.  *  Sets the entry struct data member.
  774.  *  Note, when overridding this method, it is important to call the
  775.  *  parent version of the method first and then do your processing.
  776.  */
  777.    SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtSetEntryStruct)
  778.     (this,es);
  779. }
  780.  
  781.  
  782. /* method: somInit */
  783. void   somInit()
  784. {
  785.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somInit)
  786.     (this);
  787. }
  788.  
  789.  
  790. /* method: somUninit */
  791. void   somUninit()
  792. {
  793.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somUninit)
  794.     (this);
  795. }
  796.  
  797.  
  798. /* method: somPrintSelf */
  799. SOMObject*   somPrintSelf()
  800. {
  801.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somPrintSelf)
  802.     (this);
  803. }
  804.  
  805.  
  806. /* method: somDumpSelf */
  807. void   somDumpSelf(long level)
  808. {
  809.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDumpSelf)
  810.     (this,level);
  811. }
  812.  
  813.  
  814. /* initializer method: somDefaultInit */
  815. void   somDefaultInit(som3InitCtrl* ctrl)
  816. {
  817. /*
  818.  *  A default initializer for a SOM object. Passing a null ctrl
  819.  *  indicates to the receiver that its class is the class of the
  820.  *  object being initialized, whereby the initializer will determine
  821.  *  an appropriate control structure.
  822.  */
  823.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultInit)
  824.     (this,ctrl);
  825. }
  826.  
  827.  
  828. /* method: somDestruct */
  829. void   somDestruct(octet doFree, 
  830.         som3DestructCtrl* ctrl)
  831. {
  832. /*
  833.  *  The default destructor for a SOM object. A nonzero <doFree>
  834.  *  indicates that the object storage should be freed by the
  835.  *  object's class (via somDeallocate) after uninitialization.
  836.  *  As with somDefaultInit, a null ctrl can be passed.
  837.  */
  838.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDestruct)
  839.     (this,doFree,ctrl);
  840. }
  841.  
  842.  
  843. /* initializer method: somDefaultCopyInit */
  844. void   somDefaultCopyInit(som3InitCtrl* ctrl, 
  845.         SOMObject* fromObj)
  846. {
  847. /*
  848.  *  A default copy constructor. Use this to make copies of objects for
  849.  *  calling methods with "by-value" argument semantics.
  850.  */
  851.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultCopyInit)
  852.     (this,ctrl,fromObj);
  853. }
  854.  
  855.  
  856. /* method: somDefaultAssign */
  857. SOMTParameterEntryC*  somDefaultAssign(som3AssignCtrl* ctrl, 
  858.         SOMObject* fromObj)
  859. {
  860. /*
  861.  *  A default assignment operator. Use this to "assign" the state of one
  862.  *  object to another.
  863.  */
  864.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultAssign)
  865.     (this,ctrl,fromObj);
  866. }
  867.  
  868.  
  869. /* initializer method: somDefaultConstCopyInit */
  870. void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
  871.         SOMObject* fromObj)
  872. {
  873. /*
  874.  *  A default copy constructor that uses a const fromObj.
  875.  */
  876.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultConstCopyInit)
  877.     (this,ctrl,fromObj);
  878. }
  879.  
  880.  
  881. /* initializer method: somDefaultVCopyInit */
  882. void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
  883.         SOMObject* fromObj)
  884. {
  885. /*
  886.  *  A default copy constructor that uses a volatile fromObj.
  887.  */
  888.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultVCopyInit)
  889.     (this,ctrl,fromObj);
  890. }
  891.  
  892.  
  893. /* initializer method: somDefaultConstVCopyInit */
  894. void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
  895.         SOMObject* fromObj)
  896. {
  897. /*
  898.  *  A default copy constructor that uses a const volatile fromObj.
  899.  */
  900.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultConstVCopyInit)
  901.     (this,ctrl,fromObj);
  902. }
  903.  
  904.  
  905. /* method: somDefaultConstAssign */
  906. SOMTParameterEntryC*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
  907.         SOMObject* fromObj)
  908. {
  909. /*
  910.  *  A default assignment operator that uses a const fromObj.
  911.  */
  912.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultConstAssign)
  913.     (this,ctrl,fromObj);
  914. }
  915.  
  916.  
  917. /* method: somDefaultVAssign */
  918. SOMTParameterEntryC*  somDefaultVAssign(som3AssignCtrl* ctrl, 
  919.         SOMObject* fromObj)
  920. {
  921. /*
  922.  *  A default assignment operator that uses a volatile fromObj.
  923.  */
  924.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultVAssign)
  925.     (this,ctrl,fromObj);
  926. }
  927.  
  928.  
  929. /* method: somDefaultConstVAssign */
  930. SOMTParameterEntryC*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
  931.         SOMObject* fromObj)
  932. {
  933. /*
  934.  *  A default assignment operator that uses a const volatile fromObj.
  935.  */
  936.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultConstVAssign)
  937.     (this,ctrl,fromObj);
  938. }
  939.  
  940.  
  941. /* method: somFree */
  942. void   somFree()
  943. {
  944. /*
  945.  *  Use as directed by framework implementations.
  946.  */
  947.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somFree)
  948.     (this);
  949. }
  950.  
  951.  
  952. /* method: somGetClass */
  953. SOMClass*   somGetClass()
  954. {
  955. /*
  956.  *  Return the receiver's class.
  957.  */
  958.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somGetClass)
  959.     (this);
  960. }
  961.  
  962.  
  963. /* method: somGetClassName */
  964. string   somGetClassName()
  965. {
  966. /*
  967.  *  Return the name of the receiver's class.
  968.  */
  969.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somGetClassName)
  970.     (this);
  971. }
  972.  
  973.  
  974. /* method: somGetSize */
  975. long   somGetSize()
  976. {
  977. /*
  978.  *  Return the size of the receiver.
  979.  */
  980.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somGetSize)
  981.     (this);
  982. }
  983.  
  984.  
  985. /* method: somIsA */
  986. boolean   somIsA(SOMClass* aClassObj)
  987. {
  988. /*
  989.  *  Returns 1 (true) if the receiver responds to methods
  990.  *  introduced by <aClassObj>, and 0 (false) otherwise.
  991.  */
  992.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somIsA)
  993.     (this,aClassObj);
  994. }
  995.  
  996.  
  997. /* method: somIsInstanceOf */
  998. boolean   somIsInstanceOf(SOMClass* aClassObj)
  999. {
  1000. /*
  1001.  *  Returns 1 (true) if the receiver is an instance of
  1002.  *  <aClassObj> and 0 (false) otherwise.
  1003.  */
  1004.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somIsInstanceOf)
  1005.     (this,aClassObj);
  1006. }
  1007.  
  1008.  
  1009. /* method: somRespondsTo */
  1010. boolean   somRespondsTo(somId mId)
  1011. {
  1012. /*
  1013.  *  Returns 1 (true) if the indicated method can be invoked
  1014.  *  on the receiver and 0 (false) otherwise.
  1015.  */
  1016.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somRespondsTo)
  1017.     (this,mId);
  1018. }
  1019.  
  1020.  
  1021. /* va_list method: somDispatch */
  1022.  
  1023. /*
  1024.  *  This method provides a generic, class-specific dispatch mechanism.
  1025.  *  It accepts as input <retValue> a pointer to the memory area to be
  1026.  *  loaded with the result of dispatching the method indicated by
  1027.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  1028.  *  on which the method is to be invoked as the first argument.
  1029.  */
  1030. /* the va_list invocation form */
  1031. boolean   SOMTParameterEntryC_somDispatch(somToken* retValue, 
  1032.         somId methodId, 
  1033.         va_list ap)
  1034. {return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatch)
  1035.     (this,retValue,methodId,ap);
  1036. }
  1037.  
  1038. /* the varargs invocation form */
  1039. boolean   somDispatch(somToken* retValue, 
  1040.         somId methodId, 
  1041.         ...)
  1042. {
  1043. /*
  1044.  *  This method provides a generic, class-specific dispatch mechanism.
  1045.  *  It accepts as input <retValue> a pointer to the memory area to be
  1046.  *  loaded with the result of dispatching the method indicated by
  1047.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  1048.  *  on which the method is to be invoked as the first argument.
  1049.  */
  1050.    va_list ap;
  1051.    va_start(ap, methodId);
  1052.    boolean __somResult = 
  1053.       SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatch)
  1054.     (this,retValue,methodId,ap);
  1055.    va_end(ap);
  1056.    return __somResult;
  1057. }
  1058.  
  1059.  
  1060. /* va_list method: somClassDispatch */
  1061.  
  1062. /*
  1063.  *  Like somDispatch, but method resolution for static methods is done
  1064.  *  according to the clsObj instance method table.
  1065.  */
  1066. /* the va_list invocation form */
  1067. boolean   SOMTParameterEntryC_somClassDispatch(SOMClass* clsObj, 
  1068.         somToken* retValue, 
  1069.         somId methodId, 
  1070.         va_list ap)
  1071. {return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somClassDispatch)
  1072.     (this,clsObj,retValue,methodId,ap);
  1073. }
  1074.  
  1075. /* the varargs invocation form */
  1076. boolean   somClassDispatch(SOMClass* clsObj, 
  1077.         somToken* retValue, 
  1078.         somId methodId, 
  1079.         ...)
  1080. {
  1081. /*
  1082.  *  Like somDispatch, but method resolution for static methods is done
  1083.  *  according to the clsObj instance method table.
  1084.  */
  1085.    va_list ap;
  1086.    va_start(ap, methodId);
  1087.    boolean __somResult = 
  1088.       SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somClassDispatch)
  1089.     (this,clsObj,retValue,methodId,ap);
  1090.    va_end(ap);
  1091.    return __somResult;
  1092. }
  1093.  
  1094.  
  1095. /* method: somCastObj */
  1096. boolean   somCastObj(SOMClass* cls)
  1097. {
  1098. /*
  1099.  *  cast the receiving object to cls (which must be an ancestor of the
  1100.  *  objects true class. Returns true on success.
  1101.  */
  1102.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somCastObj)
  1103.     (this,cls);
  1104. }
  1105.  
  1106.  
  1107. /* method: somResetObj */
  1108. boolean   somResetObj()
  1109. {
  1110. /*
  1111.  *  reset an object to its true class. Returns true always.
  1112.  */
  1113.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somResetObj)
  1114.     (this);
  1115. }
  1116.  
  1117.  
  1118. /* va_list method: somDispatchV */
  1119.  
  1120. /*
  1121.  *  Obsolete. Use somDispatch instead.
  1122.  */
  1123. /* the va_list invocation form */
  1124. void   SOMTParameterEntryC_somDispatchV(somId methodId, 
  1125.         somId descriptor, 
  1126.         va_list ap)
  1127. {   SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatchV)
  1128.     (this,methodId,descriptor,ap);
  1129. }
  1130.  
  1131. /* the varargs invocation form */
  1132. void   somDispatchV(somId methodId, 
  1133.         somId descriptor, 
  1134.         ...)
  1135. {
  1136. /*
  1137.  *  Obsolete. Use somDispatch instead.
  1138.  */
  1139.    va_list ap;
  1140.    va_start(ap, descriptor);
  1141.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatchV)
  1142.     (this,methodId,descriptor,ap);
  1143.    va_end(ap);
  1144. }
  1145.  
  1146.  
  1147. /* va_list method: somDispatchL */
  1148.  
  1149. /*
  1150.  *  Obsolete. Use somDispatch instead.
  1151.  */
  1152. /* the va_list invocation form */
  1153. long   SOMTParameterEntryC_somDispatchL(somId methodId, 
  1154.         somId descriptor, 
  1155.         va_list ap)
  1156. {return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatchL)
  1157.     (this,methodId,descriptor,ap);
  1158. }
  1159.  
  1160. /* the varargs invocation form */
  1161. long   somDispatchL(somId methodId, 
  1162.         somId descriptor, 
  1163.         ...)
  1164. {
  1165. /*
  1166.  *  Obsolete. Use somDispatch instead.
  1167.  */
  1168.    va_list ap;
  1169.    va_start(ap, descriptor);
  1170.    long __somResult = 
  1171.       SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatchL)
  1172.     (this,methodId,descriptor,ap);
  1173.    va_end(ap);
  1174.    return __somResult;
  1175. }
  1176.  
  1177.  
  1178. /* va_list method: somDispatchA */
  1179.  
  1180. /*
  1181.  *  Obsolete. Use somDispatch instead.
  1182.  */
  1183. /* the va_list invocation form */
  1184. void*   SOMTParameterEntryC_somDispatchA(somId methodId, 
  1185.         somId descriptor, 
  1186.         va_list ap)
  1187. {return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatchA)
  1188.     (this,methodId,descriptor,ap);
  1189. }
  1190.  
  1191. /* the varargs invocation form */
  1192. void*   somDispatchA(somId methodId, 
  1193.         somId descriptor, 
  1194.         ...)
  1195. {
  1196. /*
  1197.  *  Obsolete. Use somDispatch instead.
  1198.  */
  1199.    va_list ap;
  1200.    va_start(ap, descriptor);
  1201.    void* __somResult = 
  1202.       SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatchA)
  1203.     (this,methodId,descriptor,ap);
  1204.    va_end(ap);
  1205.    return __somResult;
  1206. }
  1207.  
  1208.  
  1209. /* va_list method: somDispatchD */
  1210.  
  1211. /*
  1212.  *  Obsolete. Use somDispatch instead.
  1213.  */
  1214. /* the va_list invocation form */
  1215. double   SOMTParameterEntryC_somDispatchD(somId methodId, 
  1216.         somId descriptor, 
  1217.         va_list ap)
  1218. {return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatchD)
  1219.     (this,methodId,descriptor,ap);
  1220. }
  1221.  
  1222. /* the varargs invocation form */
  1223. double   somDispatchD(somId methodId, 
  1224.         somId descriptor, 
  1225.         ...)
  1226. {
  1227. /*
  1228.  *  Obsolete. Use somDispatch instead.
  1229.  */
  1230.    va_list ap;
  1231.    va_start(ap, descriptor);
  1232.    double __somResult = 
  1233.       SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatchD)
  1234.     (this,methodId,descriptor,ap);
  1235.    va_end(ap);
  1236.    return __somResult;
  1237. }
  1238.  
  1239.  
  1240.  
  1241. };   /* SOMTParameterEntryC */
  1242.  
  1243.  
  1244.  
  1245. #endif       /* SOM_SOMTParameterEntryC_xh */
  1246.