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

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