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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: sctdef.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_SOMTTypedefEntryC_xh
  27. #define SOM_SOMTTypedefEntryC_xh
  28.  
  29. class SOMTTypedefEntryC;
  30.  
  31. #define SOMTTypedefEntryC_MajorVersion 2
  32. #define SOMTTypedefEntryC_MinorVersion 2
  33.  
  34. /* C++ SOM defs */
  35. #include <somcls.xh>
  36. #include <somcm.xh>
  37.  
  38. /* C++ parent defs */
  39. #ifndef SOM_SOMTEntryC_xh
  40. #include <scentry.xh>
  41. #endif
  42.  
  43. #ifndef SOMTTypedefEntryC_API
  44. #define SOMTTypedefEntryC_API
  45. /*
  46.  * -- The Class API
  47.  */
  48.  
  49. /*
  50.  * Start of bindings for IDL types
  51.  */
  52.  
  53. class SOMClass;
  54. class SOMObject;
  55. class SOMTEntryC;
  56. class SOMTEmitC;
  57. class SOMTMetaClassEntryC;
  58. class SOMTAttributeEntryC;
  59. class SOMTTypedefEntryC;
  60. class SOMTBaseClassEntryC;
  61. class SOMTPassthruEntryC;
  62. class SOMTDataEntryC;
  63. class SOMTMethodEntryC;
  64. class SOMTClassEntryC;
  65. class SOMTModuleEntryC;
  66. class SOMTParameterEntryC;
  67. class SOMTStructEntryC;
  68. class SOMTUnionEntryC;
  69. class SOMTEnumEntryC;
  70. class SOMTConstEntryC;
  71. class SOMTSequenceEntryC;
  72. class SOMTStringEntryC;
  73. class SOMTEnumNameEntryC;
  74. class SOMTCommonEntryC;
  75. class SOMTUserDefinedTypeEntryC;
  76.  
  77. /*
  78.  * End of bindings for IDL types.
  79.  */
  80.  
  81. /* A procedure to create the SOMTTypedefEntryC Class */
  82. SOMEXTERN SOMClass * SOMLINK SOMTTypedefEntryCNewClass(
  83.         integer4 majorVersion,
  84.         integer4 minorVersion);
  85.  
  86. /* The API to the SOMTTypedefEntryC class object, and the methods it introduces. */
  87. SOMEXTERN struct SOMTTypedefEntryCClassDataStructure {
  88.     SOMClass *classObject;
  89.     somMToken _get_somtTypedefType;
  90.     somMToken somtGetFirstDeclarator;
  91.     somMToken somtGetNextDeclarator;
  92. } SOMDLINK SOMTTypedefEntryCClassData;
  93. #define _SOMTTypedefEntryC SOMTTypedefEntryCClassData.classObject
  94.  
  95. /* The API to parentMtabs for SOMTTypedefEntryC, and the instance data it introduces. */
  96. SOMEXTERN struct SOMTTypedefEntryCCClassDataStructure {
  97.     somMethodTabs parentMtab;
  98.     somDToken              instanceDataToken;
  99. } SOMDLINK SOMTTypedefEntryCCClassData;
  100.  
  101. /*
  102.  * -- Typedefs for SOMTTypedefEntryC Method Procedures
  103.  */
  104. SOMEXTERN {
  105. typedef SOMTEntryC*   SOMLINK somTP_SOMTTypedefEntryC__get_somtTypedefType(SOMTTypedefEntryC *somSelf);
  106. typedef somTP_SOMTTypedefEntryC__get_somtTypedefType *somTD_SOMTTypedefEntryC__get_somtTypedefType;
  107. typedef SOMTCommonEntryC*   SOMLINK somTP_SOMTTypedefEntryC_somtGetFirstDeclarator(SOMTTypedefEntryC *somSelf);
  108. typedef somTP_SOMTTypedefEntryC_somtGetFirstDeclarator *somTD_SOMTTypedefEntryC_somtGetFirstDeclarator;
  109. typedef SOMTCommonEntryC*   SOMLINK somTP_SOMTTypedefEntryC_somtGetNextDeclarator(SOMTTypedefEntryC *somSelf);
  110. typedef somTP_SOMTTypedefEntryC_somtGetNextDeclarator *somTD_SOMTTypedefEntryC_somtGetNextDeclarator;
  111.  
  112. /*
  113.  * -- Typedefs for Reintroduced Wrapper Methods
  114.  */
  115. typedef string   SOMLINK somTP_SOMTTypedefEntryC__get_somtEntryName(SOMTTypedefEntryC *somSelf);
  116. typedef somTP_SOMTTypedefEntryC__get_somtEntryName *somTD_SOMTTypedefEntryC__get_somtEntryName;
  117. typedef void   SOMLINK somTP_SOMTTypedefEntryC__set_somtEntryName(SOMTTypedefEntryC *somSelf, 
  118.         string somtEntryName);
  119. typedef somTP_SOMTTypedefEntryC__set_somtEntryName *somTD_SOMTTypedefEntryC__set_somtEntryName;
  120. typedef SOMTTypes   SOMLINK somTP_SOMTTypedefEntryC__get_somtElementType(SOMTTypedefEntryC *somSelf);
  121. typedef somTP_SOMTTypedefEntryC__get_somtElementType *somTD_SOMTTypedefEntryC__get_somtElementType;
  122. typedef void   SOMLINK somTP_SOMTTypedefEntryC__set_somtElementType(SOMTTypedefEntryC *somSelf, 
  123.         SOMTTypes somtElementType);
  124. typedef somTP_SOMTTypedefEntryC__set_somtElementType *somTD_SOMTTypedefEntryC__set_somtElementType;
  125. typedef string   SOMLINK somTP_SOMTTypedefEntryC__get_somtElementTypeName(SOMTTypedefEntryC *somSelf);
  126. typedef somTP_SOMTTypedefEntryC__get_somtElementTypeName *somTD_SOMTTypedefEntryC__get_somtElementTypeName;
  127. typedef string   SOMLINK somTP_SOMTTypedefEntryC__get_somtEntryComment(SOMTTypedefEntryC *somSelf);
  128. typedef somTP_SOMTTypedefEntryC__get_somtEntryComment *somTD_SOMTTypedefEntryC__get_somtEntryComment;
  129. typedef unsigned long   SOMLINK somTP_SOMTTypedefEntryC__get_somtSourceLineNumber(SOMTTypedefEntryC *somSelf);
  130. typedef somTP_SOMTTypedefEntryC__get_somtSourceLineNumber *somTD_SOMTTypedefEntryC__get_somtSourceLineNumber;
  131. typedef TypeCode   SOMLINK somTP_SOMTTypedefEntryC__get_somtTypeCode(SOMTTypedefEntryC *somSelf);
  132. typedef somTP_SOMTTypedefEntryC__get_somtTypeCode *somTD_SOMTTypedefEntryC__get_somtTypeCode;
  133. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC__get_somtIsReference(SOMTTypedefEntryC *somSelf);
  134. typedef somTP_SOMTTypedefEntryC__get_somtIsReference *somTD_SOMTTypedefEntryC__get_somtIsReference;
  135. typedef string   SOMLINK somTP_SOMTTypedefEntryC__get_somtIDLScopedName(SOMTTypedefEntryC *somSelf);
  136. typedef somTP_SOMTTypedefEntryC__get_somtIDLScopedName *somTD_SOMTTypedefEntryC__get_somtIDLScopedName;
  137. typedef string   SOMLINK somTP_SOMTTypedefEntryC__get_somtCScopedName(SOMTTypedefEntryC *somSelf);
  138. typedef somTP_SOMTTypedefEntryC__get_somtCScopedName *somTD_SOMTTypedefEntryC__get_somtCScopedName;
  139. typedef string   SOMLINK somTP_SOMTTypedefEntryC_somtGetModifierValue(SOMTTypedefEntryC *somSelf, 
  140.         string modifierName);
  141. typedef somTP_SOMTTypedefEntryC_somtGetModifierValue *somTD_SOMTTypedefEntryC_somtGetModifierValue;
  142. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somtGetFirstModifier(SOMTTypedefEntryC *somSelf, 
  143.         string* modifierName, 
  144.         string* modifierValue);
  145. typedef somTP_SOMTTypedefEntryC_somtGetFirstModifier *somTD_SOMTTypedefEntryC_somtGetFirstModifier;
  146. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somtGetNextModifier(SOMTTypedefEntryC *somSelf, 
  147.         string* modifierName, 
  148.         string* modifierValue);
  149. typedef somTP_SOMTTypedefEntryC_somtGetNextModifier *somTD_SOMTTypedefEntryC_somtGetNextModifier;
  150. typedef long   SOMLINK somTP_SOMTTypedefEntryC_somtFormatModifier(SOMTTypedefEntryC *somSelf, 
  151.         string buffer, 
  152.         string name, 
  153.         string value);
  154. typedef somTP_SOMTTypedefEntryC_somtFormatModifier *somTD_SOMTTypedefEntryC_somtFormatModifier;
  155. typedef long   SOMLINK somTP_SOMTTypedefEntryC_somtGetModifierList(SOMTTypedefEntryC *somSelf, 
  156.         string buffer);
  157. typedef somTP_SOMTTypedefEntryC_somtGetModifierList *somTD_SOMTTypedefEntryC_somtGetModifierList;
  158. typedef long   SOMLINK somTP_SOMTTypedefEntryC_somtSetSymbolsOnEntry(SOMTTypedefEntryC *somSelf, 
  159.         SOMTEmitC* emitter, 
  160.         string prefix);
  161. typedef somTP_SOMTTypedefEntryC_somtSetSymbolsOnEntry *somTD_SOMTTypedefEntryC_somtSetSymbolsOnEntry;
  162. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somtSetEntryStruct(SOMTTypedefEntryC *somSelf, 
  163.         Entry* es);
  164. typedef somTP_SOMTTypedefEntryC_somtSetEntryStruct *somTD_SOMTTypedefEntryC_somtSetEntryStruct;
  165. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somInit(SOMTTypedefEntryC *somSelf);
  166. typedef somTP_SOMTTypedefEntryC_somInit *somTD_SOMTTypedefEntryC_somInit;
  167. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somUninit(SOMTTypedefEntryC *somSelf);
  168. typedef somTP_SOMTTypedefEntryC_somUninit *somTD_SOMTTypedefEntryC_somUninit;
  169. typedef SOMObject*   SOMLINK somTP_SOMTTypedefEntryC_somPrintSelf(SOMTTypedefEntryC *somSelf);
  170. typedef somTP_SOMTTypedefEntryC_somPrintSelf *somTD_SOMTTypedefEntryC_somPrintSelf;
  171. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDumpSelfInt(SOMTTypedefEntryC *somSelf, 
  172.         long level);
  173. typedef somTP_SOMTTypedefEntryC_somDumpSelfInt *somTD_SOMTTypedefEntryC_somDumpSelfInt;
  174. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDumpSelf(SOMTTypedefEntryC *somSelf, 
  175.         long level);
  176. typedef somTP_SOMTTypedefEntryC_somDumpSelf *somTD_SOMTTypedefEntryC_somDumpSelf;
  177. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDefaultInit(SOMTTypedefEntryC *somSelf, 
  178.         som3InitCtrl* ctrl);
  179. typedef somTP_SOMTTypedefEntryC_somDefaultInit *somTD_SOMTTypedefEntryC_somDefaultInit;
  180. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDestruct(SOMTTypedefEntryC *somSelf, 
  181.         octet doFree, 
  182.         som3DestructCtrl* ctrl);
  183. typedef somTP_SOMTTypedefEntryC_somDestruct *somTD_SOMTTypedefEntryC_somDestruct;
  184. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDefaultCopyInit(SOMTTypedefEntryC *somSelf, 
  185.         som3InitCtrl* ctrl, 
  186.         SOMObject* fromObj);
  187. typedef somTP_SOMTTypedefEntryC_somDefaultCopyInit *somTD_SOMTTypedefEntryC_somDefaultCopyInit;
  188. typedef SOMTTypedefEntryC*   SOMLINK somTP_SOMTTypedefEntryC_somDefaultAssign(SOMTTypedefEntryC *somSelf, 
  189.         som3AssignCtrl* ctrl, 
  190.         SOMObject* fromObj);
  191. typedef somTP_SOMTTypedefEntryC_somDefaultAssign *somTD_SOMTTypedefEntryC_somDefaultAssign;
  192. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDefaultConstCopyInit(SOMTTypedefEntryC *somSelf, 
  193.         som3InitCtrl* ctrl, 
  194.         SOMObject* fromObj);
  195. typedef somTP_SOMTTypedefEntryC_somDefaultConstCopyInit *somTD_SOMTTypedefEntryC_somDefaultConstCopyInit;
  196. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDefaultVCopyInit(SOMTTypedefEntryC *somSelf, 
  197.         som3InitCtrl* ctrl, 
  198.         SOMObject* fromObj);
  199. typedef somTP_SOMTTypedefEntryC_somDefaultVCopyInit *somTD_SOMTTypedefEntryC_somDefaultVCopyInit;
  200. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDefaultConstVCopyInit(SOMTTypedefEntryC *somSelf, 
  201.         som3InitCtrl* ctrl, 
  202.         SOMObject* fromObj);
  203. typedef somTP_SOMTTypedefEntryC_somDefaultConstVCopyInit *somTD_SOMTTypedefEntryC_somDefaultConstVCopyInit;
  204. typedef SOMTTypedefEntryC*   SOMLINK somTP_SOMTTypedefEntryC_somDefaultConstAssign(SOMTTypedefEntryC *somSelf, 
  205.         som3AssignCtrl* ctrl, 
  206.         SOMObject* fromObj);
  207. typedef somTP_SOMTTypedefEntryC_somDefaultConstAssign *somTD_SOMTTypedefEntryC_somDefaultConstAssign;
  208. typedef SOMTTypedefEntryC*   SOMLINK somTP_SOMTTypedefEntryC_somDefaultVAssign(SOMTTypedefEntryC *somSelf, 
  209.         som3AssignCtrl* ctrl, 
  210.         SOMObject* fromObj);
  211. typedef somTP_SOMTTypedefEntryC_somDefaultVAssign *somTD_SOMTTypedefEntryC_somDefaultVAssign;
  212. typedef SOMTTypedefEntryC*   SOMLINK somTP_SOMTTypedefEntryC_somDefaultConstVAssign(SOMTTypedefEntryC *somSelf, 
  213.         som3AssignCtrl* ctrl, 
  214.         SOMObject* fromObj);
  215. typedef somTP_SOMTTypedefEntryC_somDefaultConstVAssign *somTD_SOMTTypedefEntryC_somDefaultConstVAssign;
  216. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somFree(SOMTTypedefEntryC *somSelf);
  217. typedef somTP_SOMTTypedefEntryC_somFree *somTD_SOMTTypedefEntryC_somFree;
  218. typedef SOMClass*   SOMLINK somTP_SOMTTypedefEntryC_somGetClass(SOMTTypedefEntryC *somSelf);
  219. typedef somTP_SOMTTypedefEntryC_somGetClass *somTD_SOMTTypedefEntryC_somGetClass;
  220. typedef string   SOMLINK somTP_SOMTTypedefEntryC_somGetClassName(SOMTTypedefEntryC *somSelf);
  221. typedef somTP_SOMTTypedefEntryC_somGetClassName *somTD_SOMTTypedefEntryC_somGetClassName;
  222. typedef long   SOMLINK somTP_SOMTTypedefEntryC_somGetSize(SOMTTypedefEntryC *somSelf);
  223. typedef somTP_SOMTTypedefEntryC_somGetSize *somTD_SOMTTypedefEntryC_somGetSize;
  224. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somIsA(SOMTTypedefEntryC *somSelf, 
  225.         SOMClass* aClassObj);
  226. typedef somTP_SOMTTypedefEntryC_somIsA *somTD_SOMTTypedefEntryC_somIsA;
  227. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somIsInstanceOf(SOMTTypedefEntryC *somSelf, 
  228.         SOMClass* aClassObj);
  229. typedef somTP_SOMTTypedefEntryC_somIsInstanceOf *somTD_SOMTTypedefEntryC_somIsInstanceOf;
  230. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somRespondsTo(SOMTTypedefEntryC *somSelf, 
  231.         somId mId);
  232. typedef somTP_SOMTTypedefEntryC_somRespondsTo *somTD_SOMTTypedefEntryC_somRespondsTo;
  233. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somDispatch(SOMTTypedefEntryC *somSelf, 
  234.         somToken* retValue, 
  235.         somId methodId, 
  236.         va_list ap);
  237. typedef somTP_SOMTTypedefEntryC_somDispatch *somTD_SOMTTypedefEntryC_somDispatch;
  238. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somClassDispatch(SOMTTypedefEntryC *somSelf, 
  239.         SOMClass* clsObj, 
  240.         somToken* retValue, 
  241.         somId methodId, 
  242.         va_list ap);
  243. typedef somTP_SOMTTypedefEntryC_somClassDispatch *somTD_SOMTTypedefEntryC_somClassDispatch;
  244. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somCastObj(SOMTTypedefEntryC *somSelf, 
  245.         SOMClass* cls);
  246. typedef somTP_SOMTTypedefEntryC_somCastObj *somTD_SOMTTypedefEntryC_somCastObj;
  247. typedef boolean   SOMLINK somTP_SOMTTypedefEntryC_somResetObj(SOMTTypedefEntryC *somSelf);
  248. typedef somTP_SOMTTypedefEntryC_somResetObj *somTD_SOMTTypedefEntryC_somResetObj;
  249. typedef void   SOMLINK somTP_SOMTTypedefEntryC_somDispatchV(SOMTTypedefEntryC *somSelf, 
  250.         somId methodId, 
  251.         somId descriptor, 
  252.         va_list ap);
  253. typedef somTP_SOMTTypedefEntryC_somDispatchV *somTD_SOMTTypedefEntryC_somDispatchV;
  254. typedef long   SOMLINK somTP_SOMTTypedefEntryC_somDispatchL(SOMTTypedefEntryC *somSelf, 
  255.         somId methodId, 
  256.         somId descriptor, 
  257.         va_list ap);
  258. typedef somTP_SOMTTypedefEntryC_somDispatchL *somTD_SOMTTypedefEntryC_somDispatchL;
  259. typedef void*   SOMLINK somTP_SOMTTypedefEntryC_somDispatchA(SOMTTypedefEntryC *somSelf, 
  260.         somId methodId, 
  261.         somId descriptor, 
  262.         va_list ap);
  263. typedef somTP_SOMTTypedefEntryC_somDispatchA *somTD_SOMTTypedefEntryC_somDispatchA;
  264. typedef double   SOMLINK somTP_SOMTTypedefEntryC_somDispatchD(SOMTTypedefEntryC *somSelf, 
  265.         somId methodId, 
  266.         somId descriptor, 
  267.         va_list ap);
  268. typedef somTP_SOMTTypedefEntryC_somDispatchD *somTD_SOMTTypedefEntryC_somDispatchD;
  269. }
  270.  
  271. #endif /* SOMTTypedefEntryC_API */
  272.  
  273.  
  274. /*
  275.  * -- This emitter treats Method Tokens as Thunks by default.
  276.  * -- Use the sc modifier "nothunks" to change this default
  277.  */
  278. #undef somresolve_
  279. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  280.  
  281. /*
  282.  * -- The C++ Wrapper Class for SOMTTypedefEntryC
  283.  */
  284. class SOMTTypedefEntryC : public SOMTEntryC
  285. {
  286. public:
  287.  
  288. // SOMTTypedefEntryC::new creates the class object if necessary, and then uses somNewNoInit
  289. // to allocate memory and create the object. Initialization is in ctors.
  290. void *operator new(size_t)
  291. {
  292.    if (!_SOMTTypedefEntryC) SOMTTypedefEntryCNewClass(SOMTTypedefEntryC_MajorVersion,SOMTTypedefEntryC_MinorVersion);
  293.    return (void*)
  294.       SOM_Resolve(_SOMTTypedefEntryC,SOMClass,somNewNoInit)
  295.          ((SOMClass *)((void*)_SOMTTypedefEntryC));
  296. }
  297.  
  298. // SOMTTypedefEntryC::delete uses somDestruct.
  299. void operator delete(void * obj)
  300. {
  301.    if (obj && *(void**)obj) {
  302.       SOM_Resolve(obj,SOMObject,somFree)
  303.          ((SOMObject*)obj);
  304.    }
  305. }
  306.  
  307. SOMTTypedefEntryC& operator=(SOMTTypedefEntryC& fromObj)
  308. {
  309.    this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
  310.    return *this;
  311. }
  312.  
  313. SOMTTypedefEntryC()
  314. {
  315.    if (*(void**)this != 
  316.        ((somParentMtabStructPtr)
  317.         (SOMTTypedefEntryCCClassData.parentMtab))->mtab)
  318.       return;
  319.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  320. }
  321.  
  322. SOMTTypedefEntryC(SOMTTypedefEntryC* fromObj)
  323. {
  324.    if (*(void**)this != 
  325.        ((somParentMtabStructPtr)
  326.         (SOMTTypedefEntryCCClassData.parentMtab))->mtab)
  327.       return;
  328.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  329. }
  330.  
  331. #ifdef __IBMCPP__
  332. #pragma info(nocnv,nopar)
  333. #endif
  334. SOMTTypedefEntryC(const SOMTTypedefEntryC* fromObj)
  335. {
  336.    if (*(void**)this != 
  337.        ((somParentMtabStructPtr)
  338.         (SOMTTypedefEntryCCClassData.parentMtab))->mtab)
  339.       return;
  340.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  341. }
  342. #ifdef __IBMCPP__
  343. #pragma info(restore)
  344. #endif
  345.  
  346.  
  347. /* method: _get_somtTypedefType */
  348. SOMTEntryC*   _get_somtTypedefType()
  349. {
  350. /*
  351.  *  The type of the typedef. This does not include pointer stars or
  352.  *  array declarators.   These must be obtained by examining each
  353.  *  of the declarators.
  354.  */
  355.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTTypedefEntryC,_get_somtTypedefType)
  356.     (this);
  357. }
  358.  
  359.  
  360. /* method: somtGetFirstDeclarator */
  361. SOMTCommonEntryC*   somtGetFirstDeclarator()
  362. {
  363. /*
  364.  *  The first declarator for this typedef.
  365.  *  Declarators of struct members will be instances of SOMTDataEntryC,
  366.  *  while declarators of typedefs will be instances of SOMTUserDefinedTypeEntryC.
  367.  */
  368.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTTypedefEntryC,somtGetFirstDeclarator)
  369.     (this);
  370. }
  371.  
  372.  
  373. /* method: somtGetNextDeclarator */
  374. SOMTCommonEntryC*   somtGetNextDeclarator()
  375. {
  376. /*
  377.  *  The next declarator for this typedef, relative to the previous
  378.  *  call to this method or somtGetFirstDeclarator.
  379.  *  Declarators of struct members will be instances of SOMTDataEntryC,
  380.  *  while declarators of typedefs will be instances of SOMTUserDefinedTypeEntryC.
  381.  */
  382.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTTypedefEntryC,somtGetNextDeclarator)
  383.     (this);
  384. }
  385.  
  386.  
  387. /*
  388.  * Reintroduce inherited methods
  389.  */
  390.  
  391. /* method: _get_somtEntryName */
  392. string   _get_somtEntryName()
  393. {
  394. /*
  395.  *  The name associated with this entry.  Eg, the name of
  396.  *  the data item, the class, the method, the type, etc.
  397.  */
  398.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtEntryName)
  399.     (this);
  400. }
  401.  
  402.  
  403. /* method: _set_somtEntryName */
  404. void   _set_somtEntryName(string somtEntryName)
  405. {
  406. /*
  407.  *  The name associated with this entry.  Eg, the name of
  408.  *  the data item, the class, the method, the type, etc.
  409.  */
  410.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_set_somtEntryName)
  411.     (this,somtEntryName);
  412. }
  413.  
  414.  
  415. /* method: _get_somtElementType */
  416. SOMTTypes   _get_somtElementType()
  417. {
  418. /*
  419.  *  Returns the type of this entry.
  420.  *  This is not datatype, but entry type (method, class,
  421.  *  passthru, etc.). The value is defined by SOMTTypes.
  422.  */
  423.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtElementType)
  424.     (this);
  425. }
  426.  
  427.  
  428. /* method: _set_somtElementType */
  429. void   _set_somtElementType(SOMTTypes somtElementType)
  430. {
  431. /*
  432.  *  Returns the type of this entry.
  433.  *  This is not datatype, but entry type (method, class,
  434.  *  passthru, etc.). The value is defined by SOMTTypes.
  435.  */
  436.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_set_somtElementType)
  437.     (this,somtElementType);
  438. }
  439.  
  440.  
  441. /* method: _get_somtElementTypeName */
  442. string   _get_somtElementTypeName()
  443. {
  444. /*
  445.  *  String version of somtElementType.
  446.  */
  447.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtElementTypeName)
  448.     (this);
  449. }
  450.  
  451.  
  452. /* method: _get_somtEntryComment */
  453. string   _get_somtEntryComment()
  454. {
  455. /*
  456.  *  Returns the comment associated with this entry, or NULL is this
  457.  *  entry has no associated comment.  Comments will have comment
  458.  *  delimitors removed, but will retain newline characters as
  459.  *  specified in the source file. (use smLookupComment)
  460.  */
  461.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtEntryComment)
  462.     (this);
  463. }
  464.  
  465.  
  466. /* method: _get_somtSourceLineNumber */
  467. unsigned long   _get_somtSourceLineNumber()
  468. {
  469. /*
  470.  *  Returns the line number in the source file where this entry's
  471.  *  syntactic form ended.
  472.  */
  473.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtSourceLineNumber)
  474.     (this);
  475. }
  476.  
  477.  
  478. /* method: _get_somtTypeCode */
  479. TypeCode   _get_somtTypeCode()
  480. {
  481. /*
  482.  *  The typecode, if appropriate, or NULL.
  483.  */
  484.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtTypeCode)
  485.     (this);
  486. }
  487.  
  488.  
  489. /* method: _get_somtIsReference */
  490. boolean   _get_somtIsReference()
  491. {
  492. /*
  493.  *  Whether the entry is just a reference to the real type (TRUE)
  494.  *  rather than a declaration of it (FALSE).
  495.  */
  496.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtIsReference)
  497.     (this);
  498. }
  499.  
  500.  
  501. /* method: _get_somtIDLScopedName */
  502. string   _get_somtIDLScopedName()
  503. {
  504. /*
  505.  *  The IDL scoped name of the entry (using double colon as delimiter).
  506.  */
  507.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtIDLScopedName)
  508.     (this);
  509. }
  510.  
  511.  
  512. /* method: _get_somtCScopedName */
  513. string   _get_somtCScopedName()
  514. {
  515. /*
  516.  *  The C scoped name of the entry (using underscore as delimiter).
  517.  */
  518.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,_get_somtCScopedName)
  519.     (this);
  520. }
  521.  
  522.  
  523. /* method: somtGetModifierValue */
  524. string   somtGetModifierValue(string modifierName)
  525. {
  526. /*
  527.  *  Returns the value of the named modifier if this entry has the
  528.  *  named modifier and NULL otherwise. Note: if the modifier is
  529.  *  present but does not have a value then a value of <'\1'> is
  530.  *  returned.
  531.  */
  532.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,somtGetModifierValue)
  533.     (this,modifierName);
  534. }
  535.  
  536.  
  537. /* method: somtGetFirstModifier */
  538. boolean   somtGetFirstModifier(string* modifierName, 
  539.         string* modifierValue)
  540. {
  541. /*
  542.  *  Returns the first modifier associated with this entry.  1 (true)
  543.  *  is returned if the entry has at least one modifier and 0 (false)
  544.  *  otherwise.
  545.  */
  546.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,somtGetFirstModifier)
  547.     (this,modifierName,modifierValue);
  548. }
  549.  
  550.  
  551. /* method: somtGetNextModifier */
  552. boolean   somtGetNextModifier(string* modifierName, 
  553.         string* modifierValue)
  554. {
  555. /*
  556.  *  Returns the next modifier (with respect to the last call to
  557.  *  <somtGetNextModifier> or <somtGetFirstModifier>)
  558.  *  associated with this entry.  1 (true) is returned if the entry
  559.  *  had another modifier and 0 (false) otherwise.
  560.  */
  561.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,somtGetNextModifier)
  562.     (this,modifierName,modifierValue);
  563. }
  564.  
  565.  
  566. /* method: somtFormatModifier */
  567. long   somtFormatModifier(string buffer, 
  568.         string name, 
  569.         string value)
  570. {
  571. /*
  572.  *  Formats the indicated name/value pair into buffer.  Buffer must
  573.  *  be big enough to hold all the formatted pair, no checks are made.
  574.  *  The number of characters added to buffer are returned (not
  575.  *  including the trailing null character).
  576.  *  Note: value may be null
  577.  *  You will probably never call this method, it is provided so that
  578.  *  you can override it to control the format returned in
  579.  *  <somtGetModifierList>.
  580.  */
  581.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,somtFormatModifier)
  582.     (this,buffer,name,value);
  583. }
  584.  
  585.  
  586. /* method: somtGetModifierList */
  587. long   somtGetModifierList(string buffer)
  588. {
  589. /*
  590.  *  The modifiers for this entry are placed in <buffer> in template
  591.  *  list form (newline separated).  Buffer must be big enough to
  592.  *  hold all the modifiers, no checks are made. The number of
  593.  *  modifiers is returned.
  594.  */
  595.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,somtGetModifierList)
  596.     (this,buffer);
  597. }
  598.  
  599.  
  600. /* method: somtSetSymbolsOnEntry */
  601. long   somtSetSymbolsOnEntry(SOMTEmitC* emitter, 
  602.         string prefix)
  603. {
  604. /*
  605.  *  Places a number of symbol/value pairs in <t>.  All the symbols
  606.  *  will begin with <prefix>.
  607.  */
  608.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,somtSetSymbolsOnEntry)
  609.     (this,emitter,prefix);
  610. }
  611.  
  612.  
  613. /* method: somtSetEntryStruct */
  614. void   somtSetEntryStruct(Entry* es)
  615. {
  616. /*
  617.  *  Sets the entry struct data member.
  618.  *  Note, when overridding this method, it is important to call the
  619.  *  parent version of the method first and then do your processing.
  620.  */
  621.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMTEntryC,somtSetEntryStruct)
  622.     (this,es);
  623. }
  624.  
  625.  
  626. /* method: somInit */
  627. void   somInit()
  628. {
  629.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somInit)
  630.     (this);
  631. }
  632.  
  633.  
  634. /* method: somUninit */
  635. void   somUninit()
  636. {
  637.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somUninit)
  638.     (this);
  639. }
  640.  
  641.  
  642. /* method: somPrintSelf */
  643. SOMObject*   somPrintSelf()
  644. {
  645.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somPrintSelf)
  646.     (this);
  647. }
  648.  
  649.  
  650. /* method: somDumpSelfInt */
  651. void   somDumpSelfInt(long level)
  652. {
  653.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDumpSelfInt)
  654.     (this,level);
  655. }
  656.  
  657.  
  658. /* method: somDumpSelf */
  659. void   somDumpSelf(long level)
  660. {
  661.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDumpSelf)
  662.     (this,level);
  663. }
  664.  
  665.  
  666. /* initializer method: somDefaultInit */
  667. void   somDefaultInit(som3InitCtrl* ctrl)
  668. {
  669. /*
  670.  *  A default initializer for a SOM object. Passing a null ctrl
  671.  *  indicates to the receiver that its class is the class of the
  672.  *  object being initialized, whereby the initializer will determine
  673.  *  an appropriate control structure.
  674.  */
  675.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultInit)
  676.     (this,ctrl);
  677. }
  678.  
  679.  
  680. /* method: somDestruct */
  681. void   somDestruct(octet doFree, 
  682.         som3DestructCtrl* ctrl)
  683. {
  684. /*
  685.  *  The default destructor for a SOM object. A nonzero <doFree>
  686.  *  indicates that the object storage should be freed by the
  687.  *  object's class (via somDeallocate) after uninitialization.
  688.  *  As with somDefaultInit, a null ctrl can be passed.
  689.  */
  690.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDestruct)
  691.     (this,doFree,ctrl);
  692. }
  693.  
  694.  
  695. /* initializer method: somDefaultCopyInit */
  696. void   somDefaultCopyInit(som3InitCtrl* ctrl, 
  697.         SOMObject* fromObj)
  698. {
  699. /*
  700.  *  A default copy constructor. Use this to make copies of objects for
  701.  *  calling methods with "by-value" argument semantics.
  702.  */
  703.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultCopyInit)
  704.     (this,ctrl,fromObj);
  705. }
  706.  
  707.  
  708. /* method: somDefaultAssign */
  709. SOMTTypedefEntryC*  somDefaultAssign(som3AssignCtrl* ctrl, 
  710.         SOMObject* fromObj)
  711. {
  712. /*
  713.  *  A default assignment operator. Use this to "assign" the state of one
  714.  *  object to another.
  715.  */
  716.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultAssign)
  717.     (this,ctrl,fromObj);
  718. }
  719.  
  720.  
  721. /* initializer method: somDefaultConstCopyInit */
  722. void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
  723.         SOMObject* fromObj)
  724. {
  725. /*
  726.  *  A default copy constructor that uses a const fromObj.
  727.  */
  728.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultConstCopyInit)
  729.     (this,ctrl,fromObj);
  730. }
  731.  
  732.  
  733. /* initializer method: somDefaultVCopyInit */
  734. void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
  735.         SOMObject* fromObj)
  736. {
  737. /*
  738.  *  A default copy constructor that uses a volatile fromObj.
  739.  */
  740.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultVCopyInit)
  741.     (this,ctrl,fromObj);
  742. }
  743.  
  744.  
  745. /* initializer method: somDefaultConstVCopyInit */
  746. void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
  747.         SOMObject* fromObj)
  748. {
  749. /*
  750.  *  A default copy constructor that uses a const volatile fromObj.
  751.  */
  752.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultConstVCopyInit)
  753.     (this,ctrl,fromObj);
  754. }
  755.  
  756.  
  757. /* method: somDefaultConstAssign */
  758. SOMTTypedefEntryC*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
  759.         SOMObject* fromObj)
  760. {
  761. /*
  762.  *  A default assignment operator that uses a const fromObj.
  763.  */
  764.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultConstAssign)
  765.     (this,ctrl,fromObj);
  766. }
  767.  
  768.  
  769. /* method: somDefaultVAssign */
  770. SOMTTypedefEntryC*  somDefaultVAssign(som3AssignCtrl* ctrl, 
  771.         SOMObject* fromObj)
  772. {
  773. /*
  774.  *  A default assignment operator that uses a volatile fromObj.
  775.  */
  776.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultVAssign)
  777.     (this,ctrl,fromObj);
  778. }
  779.  
  780.  
  781. /* method: somDefaultConstVAssign */
  782. SOMTTypedefEntryC*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
  783.         SOMObject* fromObj)
  784. {
  785. /*
  786.  *  A default assignment operator that uses a const volatile fromObj.
  787.  */
  788.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDefaultConstVAssign)
  789.     (this,ctrl,fromObj);
  790. }
  791.  
  792.  
  793. /* method: somFree */
  794. void   somFree()
  795. {
  796. /*
  797.  *  Use as directed by framework implementations.
  798.  */
  799.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somFree)
  800.     (this);
  801. }
  802.  
  803.  
  804. /* method: somGetClass */
  805. SOMClass*   somGetClass()
  806. {
  807. /*
  808.  *  Return the receiver's class.
  809.  */
  810.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somGetClass)
  811.     (this);
  812. }
  813.  
  814.  
  815. /* method: somGetClassName */
  816. string   somGetClassName()
  817. {
  818. /*
  819.  *  Return the name of the receiver's class.
  820.  */
  821.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somGetClassName)
  822.     (this);
  823. }
  824.  
  825.  
  826. /* method: somGetSize */
  827. long   somGetSize()
  828. {
  829. /*
  830.  *  Return the size of the receiver.
  831.  */
  832.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somGetSize)
  833.     (this);
  834. }
  835.  
  836.  
  837. /* method: somIsA */
  838. boolean   somIsA(SOMClass* aClassObj)
  839. {
  840. /*
  841.  *  Returns 1 (true) if the receiver responds to methods
  842.  *  introduced by <aClassObj>, and 0 (false) otherwise.
  843.  */
  844.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somIsA)
  845.     (this,aClassObj);
  846. }
  847.  
  848.  
  849. /* method: somIsInstanceOf */
  850. boolean   somIsInstanceOf(SOMClass* aClassObj)
  851. {
  852. /*
  853.  *  Returns 1 (true) if the receiver is an instance of
  854.  *  <aClassObj> and 0 (false) otherwise.
  855.  */
  856.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somIsInstanceOf)
  857.     (this,aClassObj);
  858. }
  859.  
  860.  
  861. /* method: somRespondsTo */
  862. boolean   somRespondsTo(somId mId)
  863. {
  864. /*
  865.  *  Returns 1 (true) if the indicated method can be invoked
  866.  *  on the receiver and 0 (false) otherwise.
  867.  */
  868.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somRespondsTo)
  869.     (this,mId);
  870. }
  871.  
  872.  
  873. /* va_list method: somDispatch */
  874.  
  875. /*
  876.  *  This method provides a generic, class-specific dispatch mechanism.
  877.  *  It accepts as input <retValue> a pointer to the memory area to be
  878.  *  loaded with the result of dispatching the method indicated by
  879.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  880.  *  on which the method is to be invoked as the first argument.
  881.  */
  882. /* the va_list invocation form */
  883. boolean   SOMTTypedefEntryC_somDispatch(somToken* retValue, 
  884.         somId methodId, 
  885.         va_list ap)
  886. {return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatch)
  887.     (this,retValue,methodId,ap);
  888. }
  889.  
  890. /* the varargs invocation form */
  891. boolean   somDispatch(somToken* retValue, 
  892.         somId methodId, 
  893.         ...)
  894. {
  895. /*
  896.  *  This method provides a generic, class-specific dispatch mechanism.
  897.  *  It accepts as input <retValue> a pointer to the memory area to be
  898.  *  loaded with the result of dispatching the method indicated by
  899.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  900.  *  on which the method is to be invoked as the first argument.
  901.  */
  902.    va_list ap;
  903.    va_start(ap, methodId);
  904.    boolean __somResult = 
  905.       SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatch)
  906.     (this,retValue,methodId,ap);
  907.    va_end(ap);
  908.    return __somResult;
  909. }
  910.  
  911.  
  912. /* va_list method: somClassDispatch */
  913.  
  914. /*
  915.  *  Like somDispatch, but method resolution for static methods is done
  916.  *  according to the clsObj instance method table.
  917.  */
  918. /* the va_list invocation form */
  919. boolean   SOMTTypedefEntryC_somClassDispatch(SOMClass* clsObj, 
  920.         somToken* retValue, 
  921.         somId methodId, 
  922.         va_list ap)
  923. {return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somClassDispatch)
  924.     (this,clsObj,retValue,methodId,ap);
  925. }
  926.  
  927. /* the varargs invocation form */
  928. boolean   somClassDispatch(SOMClass* clsObj, 
  929.         somToken* retValue, 
  930.         somId methodId, 
  931.         ...)
  932. {
  933. /*
  934.  *  Like somDispatch, but method resolution for static methods is done
  935.  *  according to the clsObj instance method table.
  936.  */
  937.    va_list ap;
  938.    va_start(ap, methodId);
  939.    boolean __somResult = 
  940.       SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somClassDispatch)
  941.     (this,clsObj,retValue,methodId,ap);
  942.    va_end(ap);
  943.    return __somResult;
  944. }
  945.  
  946.  
  947. /* method: somCastObj */
  948. boolean   somCastObj(SOMClass* cls)
  949. {
  950. /*
  951.  *  cast the receiving object to cls (which must be an ancestor of the
  952.  *  objects true class. Returns true on success.
  953.  */
  954.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somCastObj)
  955.     (this,cls);
  956. }
  957.  
  958.  
  959. /* method: somResetObj */
  960. boolean   somResetObj()
  961. {
  962. /*
  963.  *  reset an object to its true class. Returns true always.
  964.  */
  965.    return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somResetObj)
  966.     (this);
  967. }
  968.  
  969.  
  970. /* va_list method: somDispatchV */
  971.  
  972. /*
  973.  *  Obsolete. Use somDispatch instead.
  974.  */
  975. /* the va_list invocation form */
  976. void   SOMTTypedefEntryC_somDispatchV(somId methodId, 
  977.         somId descriptor, 
  978.         va_list ap)
  979. {   SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatchV)
  980.     (this,methodId,descriptor,ap);
  981. }
  982.  
  983. /* the varargs invocation form */
  984. void   somDispatchV(somId methodId, 
  985.         somId descriptor, 
  986.         ...)
  987. {
  988. /*
  989.  *  Obsolete. Use somDispatch instead.
  990.  */
  991.    va_list ap;
  992.    va_start(ap, descriptor);
  993.    SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatchV)
  994.     (this,methodId,descriptor,ap);
  995.    va_end(ap);
  996. }
  997.  
  998.  
  999. /* va_list method: somDispatchL */
  1000.  
  1001. /*
  1002.  *  Obsolete. Use somDispatch instead.
  1003.  */
  1004. /* the va_list invocation form */
  1005. long   SOMTTypedefEntryC_somDispatchL(somId methodId, 
  1006.         somId descriptor, 
  1007.         va_list ap)
  1008. {return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatchL)
  1009.     (this,methodId,descriptor,ap);
  1010. }
  1011.  
  1012. /* the varargs invocation form */
  1013. long   somDispatchL(somId methodId, 
  1014.         somId descriptor, 
  1015.         ...)
  1016. {
  1017. /*
  1018.  *  Obsolete. Use somDispatch instead.
  1019.  */
  1020.    va_list ap;
  1021.    va_start(ap, descriptor);
  1022.    long __somResult = 
  1023.       SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatchL)
  1024.     (this,methodId,descriptor,ap);
  1025.    va_end(ap);
  1026.    return __somResult;
  1027. }
  1028.  
  1029.  
  1030. /* va_list method: somDispatchA */
  1031.  
  1032. /*
  1033.  *  Obsolete. Use somDispatch instead.
  1034.  */
  1035. /* the va_list invocation form */
  1036. void*   SOMTTypedefEntryC_somDispatchA(somId methodId, 
  1037.         somId descriptor, 
  1038.         va_list ap)
  1039. {return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatchA)
  1040.     (this,methodId,descriptor,ap);
  1041. }
  1042.  
  1043. /* the varargs invocation form */
  1044. void*   somDispatchA(somId methodId, 
  1045.         somId descriptor, 
  1046.         ...)
  1047. {
  1048. /*
  1049.  *  Obsolete. Use somDispatch instead.
  1050.  */
  1051.    va_list ap;
  1052.    va_start(ap, descriptor);
  1053.    void* __somResult = 
  1054.       SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatchA)
  1055.     (this,methodId,descriptor,ap);
  1056.    va_end(ap);
  1057.    return __somResult;
  1058. }
  1059.  
  1060.  
  1061. /* va_list method: somDispatchD */
  1062.  
  1063. /*
  1064.  *  Obsolete. Use somDispatch instead.
  1065.  */
  1066. /* the va_list invocation form */
  1067. double   SOMTTypedefEntryC_somDispatchD(somId methodId, 
  1068.         somId descriptor, 
  1069.         va_list ap)
  1070. {return SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatchD)
  1071.     (this,methodId,descriptor,ap);
  1072. }
  1073.  
  1074. /* the varargs invocation form */
  1075. double   somDispatchD(somId methodId, 
  1076.         somId descriptor, 
  1077.         ...)
  1078. {
  1079. /*
  1080.  *  Obsolete. Use somDispatch instead.
  1081.  */
  1082.    va_list ap;
  1083.    va_start(ap, descriptor);
  1084.    double __somResult = 
  1085.       SOM_ResolveD(this,SOMTTypedefEntryC,SOMObject,somDispatchD)
  1086.     (this,methodId,descriptor,ap);
  1087.    va_end(ap);
  1088.    return __somResult;
  1089. }
  1090.  
  1091.  
  1092.  
  1093. };   /* SOMTTypedefEntryC */
  1094.  
  1095.  
  1096.  
  1097. #endif       /* SOM_SOMTTypedefEntryC_xh */
  1098.