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

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