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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: scdata.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_SOMTDataEntryC_xh
  27. #define SOM_SOMTDataEntryC_xh
  28.  
  29. class SOMTDataEntryC;
  30.  
  31. #define SOMTDataEntryC_MajorVersion 2
  32. #define SOMTDataEntryC_MinorVersion 1
  33.  
  34. /* C++ SOM defs */
  35. #include <somcls.xh>
  36. #include <somcm.xh>
  37.  
  38. /* C++ parent defs */
  39. #ifndef SOM_SOMTCommonEntryC_xh
  40. #include <sccommon.xh>
  41. #endif
  42.  
  43. #ifndef SOMTDataEntryC_API
  44. #define SOMTDataEntryC_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 SOMTDataEntryC Class */
  82. SOMEXTERN SOMClass * SOMLINK SOMTDataEntryCNewClass(
  83.         integer4 majorVersion,
  84.         integer4 minorVersion);
  85.  
  86. /* The API to the SOMTDataEntryC class object, and the methods it introduces. */
  87. SOMEXTERN struct SOMTDataEntryCClassDataStructure {
  88.     SOMClass *classObject;
  89.     somMToken _get_somtIsSelfRef;
  90. } SOMDLINK SOMTDataEntryCClassData;
  91. #define _SOMTDataEntryC SOMTDataEntryCClassData.classObject
  92.  
  93. /* The API to parentMtabs for SOMTDataEntryC, and the instance data it introduces. */
  94. SOMEXTERN struct SOMTDataEntryCCClassDataStructure {
  95.     somMethodTabs parentMtab;
  96.     somDToken              instanceDataToken;
  97. } SOMDLINK SOMTDataEntryCCClassData;
  98.  
  99. /*
  100.  * -- Typedefs for SOMTDataEntryC Method Procedures
  101.  */
  102. SOMEXTERN {
  103. typedef boolean   SOMLINK somTP_SOMTDataEntryC__get_somtIsSelfRef(SOMTDataEntryC *somSelf);
  104. typedef somTP_SOMTDataEntryC__get_somtIsSelfRef *somTD_SOMTDataEntryC__get_somtIsSelfRef;
  105.  
  106. /*
  107.  * -- Typedefs for Reintroduced Wrapper Methods
  108.  */
  109. typedef SOMTEntryC*   SOMLINK somTP_SOMTDataEntryC__get_somtTypeObj(SOMTDataEntryC *somSelf);
  110. typedef somTP_SOMTDataEntryC__get_somtTypeObj *somTD_SOMTDataEntryC__get_somtTypeObj;
  111. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtPtrs(SOMTDataEntryC *somSelf);
  112. typedef somTP_SOMTDataEntryC__get_somtPtrs *somTD_SOMTDataEntryC__get_somtPtrs;
  113. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtArrayDimsString(SOMTDataEntryC *somSelf);
  114. typedef somTP_SOMTDataEntryC__get_somtArrayDimsString *somTD_SOMTDataEntryC__get_somtArrayDimsString;
  115. typedef unsigned long   SOMLINK somTP_SOMTDataEntryC_somtGetFirstArrayDimension(SOMTDataEntryC *somSelf);
  116. typedef somTP_SOMTDataEntryC_somtGetFirstArrayDimension *somTD_SOMTDataEntryC_somtGetFirstArrayDimension;
  117. typedef unsigned long   SOMLINK somTP_SOMTDataEntryC_somtGetNextArrayDimension(SOMTDataEntryC *somSelf);
  118. typedef somTP_SOMTDataEntryC_somtGetNextArrayDimension *somTD_SOMTDataEntryC_somtGetNextArrayDimension;
  119. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtSourceText(SOMTDataEntryC *somSelf);
  120. typedef somTP_SOMTDataEntryC__get_somtSourceText *somTD_SOMTDataEntryC__get_somtSourceText;
  121. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtType(SOMTDataEntryC *somSelf);
  122. typedef somTP_SOMTDataEntryC__get_somtType *somTD_SOMTDataEntryC__get_somtType;
  123. typedef somtVisibilityT   SOMLINK somTP_SOMTDataEntryC__get_somtVisibility(SOMTDataEntryC *somSelf);
  124. typedef somTP_SOMTDataEntryC__get_somtVisibility *somTD_SOMTDataEntryC__get_somtVisibility;
  125. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somtIsArray(SOMTDataEntryC *somSelf, 
  126.         long* size);
  127. typedef somTP_SOMTDataEntryC_somtIsArray *somTD_SOMTDataEntryC_somtIsArray;
  128. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somtIsPointer(SOMTDataEntryC *somSelf);
  129. typedef somTP_SOMTDataEntryC_somtIsPointer *somTD_SOMTDataEntryC_somtIsPointer;
  130. typedef void   SOMLINK somTP_SOMTDataEntryC_somDumpSelfInt(SOMTDataEntryC *somSelf, 
  131.         long level);
  132. typedef somTP_SOMTDataEntryC_somDumpSelfInt *somTD_SOMTDataEntryC_somDumpSelfInt;
  133. typedef long   SOMLINK somTP_SOMTDataEntryC_somtSetSymbolsOnEntry(SOMTDataEntryC *somSelf, 
  134.         SOMTEmitC* emitter, 
  135.         string prefix);
  136. typedef somTP_SOMTDataEntryC_somtSetSymbolsOnEntry *somTD_SOMTDataEntryC_somtSetSymbolsOnEntry;
  137. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtEntryName(SOMTDataEntryC *somSelf);
  138. typedef somTP_SOMTDataEntryC__get_somtEntryName *somTD_SOMTDataEntryC__get_somtEntryName;
  139. typedef void   SOMLINK somTP_SOMTDataEntryC__set_somtEntryName(SOMTDataEntryC *somSelf, 
  140.         string somtEntryName);
  141. typedef somTP_SOMTDataEntryC__set_somtEntryName *somTD_SOMTDataEntryC__set_somtEntryName;
  142. typedef SOMTTypes   SOMLINK somTP_SOMTDataEntryC__get_somtElementType(SOMTDataEntryC *somSelf);
  143. typedef somTP_SOMTDataEntryC__get_somtElementType *somTD_SOMTDataEntryC__get_somtElementType;
  144. typedef void   SOMLINK somTP_SOMTDataEntryC__set_somtElementType(SOMTDataEntryC *somSelf, 
  145.         SOMTTypes somtElementType);
  146. typedef somTP_SOMTDataEntryC__set_somtElementType *somTD_SOMTDataEntryC__set_somtElementType;
  147. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtElementTypeName(SOMTDataEntryC *somSelf);
  148. typedef somTP_SOMTDataEntryC__get_somtElementTypeName *somTD_SOMTDataEntryC__get_somtElementTypeName;
  149. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtEntryComment(SOMTDataEntryC *somSelf);
  150. typedef somTP_SOMTDataEntryC__get_somtEntryComment *somTD_SOMTDataEntryC__get_somtEntryComment;
  151. typedef unsigned long   SOMLINK somTP_SOMTDataEntryC__get_somtSourceLineNumber(SOMTDataEntryC *somSelf);
  152. typedef somTP_SOMTDataEntryC__get_somtSourceLineNumber *somTD_SOMTDataEntryC__get_somtSourceLineNumber;
  153. typedef TypeCode   SOMLINK somTP_SOMTDataEntryC__get_somtTypeCode(SOMTDataEntryC *somSelf);
  154. typedef somTP_SOMTDataEntryC__get_somtTypeCode *somTD_SOMTDataEntryC__get_somtTypeCode;
  155. typedef boolean   SOMLINK somTP_SOMTDataEntryC__get_somtIsReference(SOMTDataEntryC *somSelf);
  156. typedef somTP_SOMTDataEntryC__get_somtIsReference *somTD_SOMTDataEntryC__get_somtIsReference;
  157. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtIDLScopedName(SOMTDataEntryC *somSelf);
  158. typedef somTP_SOMTDataEntryC__get_somtIDLScopedName *somTD_SOMTDataEntryC__get_somtIDLScopedName;
  159. typedef string   SOMLINK somTP_SOMTDataEntryC__get_somtCScopedName(SOMTDataEntryC *somSelf);
  160. typedef somTP_SOMTDataEntryC__get_somtCScopedName *somTD_SOMTDataEntryC__get_somtCScopedName;
  161. typedef string   SOMLINK somTP_SOMTDataEntryC_somtGetModifierValue(SOMTDataEntryC *somSelf, 
  162.         string modifierName);
  163. typedef somTP_SOMTDataEntryC_somtGetModifierValue *somTD_SOMTDataEntryC_somtGetModifierValue;
  164. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somtGetFirstModifier(SOMTDataEntryC *somSelf, 
  165.         string* modifierName, 
  166.         string* modifierValue);
  167. typedef somTP_SOMTDataEntryC_somtGetFirstModifier *somTD_SOMTDataEntryC_somtGetFirstModifier;
  168. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somtGetNextModifier(SOMTDataEntryC *somSelf, 
  169.         string* modifierName, 
  170.         string* modifierValue);
  171. typedef somTP_SOMTDataEntryC_somtGetNextModifier *somTD_SOMTDataEntryC_somtGetNextModifier;
  172. typedef long   SOMLINK somTP_SOMTDataEntryC_somtFormatModifier(SOMTDataEntryC *somSelf, 
  173.         string buffer, 
  174.         string name, 
  175.         string value);
  176. typedef somTP_SOMTDataEntryC_somtFormatModifier *somTD_SOMTDataEntryC_somtFormatModifier;
  177. typedef long   SOMLINK somTP_SOMTDataEntryC_somtGetModifierList(SOMTDataEntryC *somSelf, 
  178.         string buffer);
  179. typedef somTP_SOMTDataEntryC_somtGetModifierList *somTD_SOMTDataEntryC_somtGetModifierList;
  180. typedef void   SOMLINK somTP_SOMTDataEntryC_somtSetEntryStruct(SOMTDataEntryC *somSelf, 
  181.         Entry* es);
  182. typedef somTP_SOMTDataEntryC_somtSetEntryStruct *somTD_SOMTDataEntryC_somtSetEntryStruct;
  183. typedef void   SOMLINK somTP_SOMTDataEntryC_somInit(SOMTDataEntryC *somSelf);
  184. typedef somTP_SOMTDataEntryC_somInit *somTD_SOMTDataEntryC_somInit;
  185. typedef void   SOMLINK somTP_SOMTDataEntryC_somUninit(SOMTDataEntryC *somSelf);
  186. typedef somTP_SOMTDataEntryC_somUninit *somTD_SOMTDataEntryC_somUninit;
  187. typedef SOMObject*   SOMLINK somTP_SOMTDataEntryC_somPrintSelf(SOMTDataEntryC *somSelf);
  188. typedef somTP_SOMTDataEntryC_somPrintSelf *somTD_SOMTDataEntryC_somPrintSelf;
  189. typedef void   SOMLINK somTP_SOMTDataEntryC_somDumpSelf(SOMTDataEntryC *somSelf, 
  190.         long level);
  191. typedef somTP_SOMTDataEntryC_somDumpSelf *somTD_SOMTDataEntryC_somDumpSelf;
  192. typedef void   SOMLINK somTP_SOMTDataEntryC_somDefaultInit(SOMTDataEntryC *somSelf, 
  193.         som3InitCtrl* ctrl);
  194. typedef somTP_SOMTDataEntryC_somDefaultInit *somTD_SOMTDataEntryC_somDefaultInit;
  195. typedef void   SOMLINK somTP_SOMTDataEntryC_somDestruct(SOMTDataEntryC *somSelf, 
  196.         octet doFree, 
  197.         som3DestructCtrl* ctrl);
  198. typedef somTP_SOMTDataEntryC_somDestruct *somTD_SOMTDataEntryC_somDestruct;
  199. typedef void   SOMLINK somTP_SOMTDataEntryC_somDefaultCopyInit(SOMTDataEntryC *somSelf, 
  200.         som3InitCtrl* ctrl, 
  201.         SOMObject* fromObj);
  202. typedef somTP_SOMTDataEntryC_somDefaultCopyInit *somTD_SOMTDataEntryC_somDefaultCopyInit;
  203. typedef SOMTDataEntryC*   SOMLINK somTP_SOMTDataEntryC_somDefaultAssign(SOMTDataEntryC *somSelf, 
  204.         som3AssignCtrl* ctrl, 
  205.         SOMObject* fromObj);
  206. typedef somTP_SOMTDataEntryC_somDefaultAssign *somTD_SOMTDataEntryC_somDefaultAssign;
  207. typedef void   SOMLINK somTP_SOMTDataEntryC_somDefaultConstCopyInit(SOMTDataEntryC *somSelf, 
  208.         som3InitCtrl* ctrl, 
  209.         SOMObject* fromObj);
  210. typedef somTP_SOMTDataEntryC_somDefaultConstCopyInit *somTD_SOMTDataEntryC_somDefaultConstCopyInit;
  211. typedef void   SOMLINK somTP_SOMTDataEntryC_somDefaultVCopyInit(SOMTDataEntryC *somSelf, 
  212.         som3InitCtrl* ctrl, 
  213.         SOMObject* fromObj);
  214. typedef somTP_SOMTDataEntryC_somDefaultVCopyInit *somTD_SOMTDataEntryC_somDefaultVCopyInit;
  215. typedef void   SOMLINK somTP_SOMTDataEntryC_somDefaultConstVCopyInit(SOMTDataEntryC *somSelf, 
  216.         som3InitCtrl* ctrl, 
  217.         SOMObject* fromObj);
  218. typedef somTP_SOMTDataEntryC_somDefaultConstVCopyInit *somTD_SOMTDataEntryC_somDefaultConstVCopyInit;
  219. typedef SOMTDataEntryC*   SOMLINK somTP_SOMTDataEntryC_somDefaultConstAssign(SOMTDataEntryC *somSelf, 
  220.         som3AssignCtrl* ctrl, 
  221.         SOMObject* fromObj);
  222. typedef somTP_SOMTDataEntryC_somDefaultConstAssign *somTD_SOMTDataEntryC_somDefaultConstAssign;
  223. typedef SOMTDataEntryC*   SOMLINK somTP_SOMTDataEntryC_somDefaultVAssign(SOMTDataEntryC *somSelf, 
  224.         som3AssignCtrl* ctrl, 
  225.         SOMObject* fromObj);
  226. typedef somTP_SOMTDataEntryC_somDefaultVAssign *somTD_SOMTDataEntryC_somDefaultVAssign;
  227. typedef SOMTDataEntryC*   SOMLINK somTP_SOMTDataEntryC_somDefaultConstVAssign(SOMTDataEntryC *somSelf, 
  228.         som3AssignCtrl* ctrl, 
  229.         SOMObject* fromObj);
  230. typedef somTP_SOMTDataEntryC_somDefaultConstVAssign *somTD_SOMTDataEntryC_somDefaultConstVAssign;
  231. typedef void   SOMLINK somTP_SOMTDataEntryC_somFree(SOMTDataEntryC *somSelf);
  232. typedef somTP_SOMTDataEntryC_somFree *somTD_SOMTDataEntryC_somFree;
  233. typedef SOMClass*   SOMLINK somTP_SOMTDataEntryC_somGetClass(SOMTDataEntryC *somSelf);
  234. typedef somTP_SOMTDataEntryC_somGetClass *somTD_SOMTDataEntryC_somGetClass;
  235. typedef string   SOMLINK somTP_SOMTDataEntryC_somGetClassName(SOMTDataEntryC *somSelf);
  236. typedef somTP_SOMTDataEntryC_somGetClassName *somTD_SOMTDataEntryC_somGetClassName;
  237. typedef long   SOMLINK somTP_SOMTDataEntryC_somGetSize(SOMTDataEntryC *somSelf);
  238. typedef somTP_SOMTDataEntryC_somGetSize *somTD_SOMTDataEntryC_somGetSize;
  239. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somIsA(SOMTDataEntryC *somSelf, 
  240.         SOMClass* aClassObj);
  241. typedef somTP_SOMTDataEntryC_somIsA *somTD_SOMTDataEntryC_somIsA;
  242. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somIsInstanceOf(SOMTDataEntryC *somSelf, 
  243.         SOMClass* aClassObj);
  244. typedef somTP_SOMTDataEntryC_somIsInstanceOf *somTD_SOMTDataEntryC_somIsInstanceOf;
  245. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somRespondsTo(SOMTDataEntryC *somSelf, 
  246.         somId mId);
  247. typedef somTP_SOMTDataEntryC_somRespondsTo *somTD_SOMTDataEntryC_somRespondsTo;
  248. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somDispatch(SOMTDataEntryC *somSelf, 
  249.         somToken* retValue, 
  250.         somId methodId, 
  251.         va_list ap);
  252. typedef somTP_SOMTDataEntryC_somDispatch *somTD_SOMTDataEntryC_somDispatch;
  253. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somClassDispatch(SOMTDataEntryC *somSelf, 
  254.         SOMClass* clsObj, 
  255.         somToken* retValue, 
  256.         somId methodId, 
  257.         va_list ap);
  258. typedef somTP_SOMTDataEntryC_somClassDispatch *somTD_SOMTDataEntryC_somClassDispatch;
  259. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somCastObj(SOMTDataEntryC *somSelf, 
  260.         SOMClass* cls);
  261. typedef somTP_SOMTDataEntryC_somCastObj *somTD_SOMTDataEntryC_somCastObj;
  262. typedef boolean   SOMLINK somTP_SOMTDataEntryC_somResetObj(SOMTDataEntryC *somSelf);
  263. typedef somTP_SOMTDataEntryC_somResetObj *somTD_SOMTDataEntryC_somResetObj;
  264. typedef void   SOMLINK somTP_SOMTDataEntryC_somDispatchV(SOMTDataEntryC *somSelf, 
  265.         somId methodId, 
  266.         somId descriptor, 
  267.         va_list ap);
  268. typedef somTP_SOMTDataEntryC_somDispatchV *somTD_SOMTDataEntryC_somDispatchV;
  269. typedef long   SOMLINK somTP_SOMTDataEntryC_somDispatchL(SOMTDataEntryC *somSelf, 
  270.         somId methodId, 
  271.         somId descriptor, 
  272.         va_list ap);
  273. typedef somTP_SOMTDataEntryC_somDispatchL *somTD_SOMTDataEntryC_somDispatchL;
  274. typedef void*   SOMLINK somTP_SOMTDataEntryC_somDispatchA(SOMTDataEntryC *somSelf, 
  275.         somId methodId, 
  276.         somId descriptor, 
  277.         va_list ap);
  278. typedef somTP_SOMTDataEntryC_somDispatchA *somTD_SOMTDataEntryC_somDispatchA;
  279. typedef double   SOMLINK somTP_SOMTDataEntryC_somDispatchD(SOMTDataEntryC *somSelf, 
  280.         somId methodId, 
  281.         somId descriptor, 
  282.         va_list ap);
  283. typedef somTP_SOMTDataEntryC_somDispatchD *somTD_SOMTDataEntryC_somDispatchD;
  284. }
  285.  
  286. #endif /* SOMTDataEntryC_API */
  287.  
  288.  
  289. /*
  290.  * -- This emitter treats Method Tokens as Thunks by default.
  291.  * -- Use the sc modifier "nothunks" to change this default
  292.  */
  293. #undef somresolve_
  294. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  295.  
  296. /*
  297.  * -- The C++ Wrapper Class for SOMTDataEntryC
  298.  */
  299. class SOMTDataEntryC : public SOMTCommonEntryC
  300. {
  301. public:
  302.  
  303. // SOMTDataEntryC::new creates the class object if necessary, and then uses somNewNoInit
  304. // to allocate memory and create the object. Initialization is in ctors.
  305. void *operator new(size_t)
  306. {
  307.    if (!_SOMTDataEntryC) SOMTDataEntryCNewClass(SOMTDataEntryC_MajorVersion,SOMTDataEntryC_MinorVersion);
  308.    return (void*)
  309.       SOM_Resolve(_SOMTDataEntryC,SOMClass,somNewNoInit)
  310.          ((SOMClass *)((void*)_SOMTDataEntryC));
  311. }
  312.  
  313. // SOMTDataEntryC::delete uses somDestruct.
  314. void operator delete(void * obj)
  315. {
  316.    if (obj && *(void**)obj) {
  317.       SOM_Resolve(obj,SOMObject,somFree)
  318.          ((SOMObject*)obj);
  319.    }
  320. }
  321.  
  322. SOMTDataEntryC& operator=(SOMTDataEntryC& fromObj)
  323. {
  324.    this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
  325.    return *this;
  326. }
  327.  
  328. SOMTDataEntryC()
  329. {
  330.    if (*(void**)this != 
  331.        ((somParentMtabStructPtr)
  332.         (SOMTDataEntryCCClassData.parentMtab))->mtab)
  333.       return;
  334.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  335. }
  336.  
  337. SOMTDataEntryC(SOMTDataEntryC* fromObj)
  338. {
  339.    if (*(void**)this != 
  340.        ((somParentMtabStructPtr)
  341.         (SOMTDataEntryCCClassData.parentMtab))->mtab)
  342.       return;
  343.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  344. }
  345.  
  346. #ifdef __IBMCPP__
  347. #pragma info(nocnv,nopar)
  348. #endif
  349. SOMTDataEntryC(const SOMTDataEntryC* fromObj)
  350. {
  351.    if (*(void**)this != 
  352.        ((somParentMtabStructPtr)
  353.         (SOMTDataEntryCCClassData.parentMtab))->mtab)
  354.       return;
  355.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  356. }
  357. #ifdef __IBMCPP__
  358. #pragma info(restore)
  359. #endif
  360.  
  361.  
  362. /* method: _get_somtIsSelfRef */
  363. boolean   _get_somtIsSelfRef()
  364. {
  365. /*
  366.  *  Whether a declarator of a struct is self-referential.
  367.  */
  368.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTDataEntryC,_get_somtIsSelfRef)
  369.     (this);
  370. }
  371.  
  372.  
  373. /*
  374.  * Reintroduce inherited methods
  375.  */
  376.  
  377. /* method: _get_somtTypeObj */
  378. SOMTEntryC*   _get_somtTypeObj()
  379. {
  380. /*
  381.  *  The object representing the base type of the entry.
  382.  *  This does not include pointer stars or array declarators.
  383.  */
  384.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,_get_somtTypeObj)
  385.     (this);
  386. }
  387.  
  388.  
  389. /* method: _get_somtPtrs */
  390. string   _get_somtPtrs()
  391. {
  392. /*
  393.  *  The string of stars associated with the entry's type.
  394.  *  For example, an object of type "foo" would have somtPtrs = NULL,
  395.  *  type "foo *" would have somtPtrs = "*", type
  396.  *  "foo **" would have somtPtrs = "**", etc.
  397.  */
  398.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,_get_somtPtrs)
  399.     (this);
  400. }
  401.  
  402.  
  403. /* method: _get_somtArrayDimsString */
  404. string   _get_somtArrayDimsString()
  405. {
  406. /*
  407.  *  Array dimensions in string form.
  408.  */
  409.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,_get_somtArrayDimsString)
  410.     (this);
  411. }
  412.  
  413.  
  414. /* method: somtGetFirstArrayDimension */
  415. unsigned long   somtGetFirstArrayDimension()
  416. {
  417. /*
  418.  *  The first array dimension, for items of type array.
  419.  *  Zero indicates that the item is not an array.
  420.  */
  421.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,somtGetFirstArrayDimension)
  422.     (this);
  423. }
  424.  
  425.  
  426. /* method: somtGetNextArrayDimension */
  427. unsigned long   somtGetNextArrayDimension()
  428. {
  429. /*
  430.  *  The next array dimension, for items of type array,
  431.  *  relative to the previous call to this method or to
  432.  *  somtGetFirstArrayDimension.  Zero indicates no more dimensions.
  433.  */
  434.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,somtGetNextArrayDimension)
  435.     (this);
  436. }
  437.  
  438.  
  439. /* method: _get_somtSourceText */
  440. string   _get_somtSourceText()
  441. {
  442. /*
  443.  *  The un-parsed source text for this entry, with leading and
  444.  *  trailing white space removed.  For attribute/typedef declarators
  445.  *  and for user-defined types, this attribute only provides the
  446.  *  source text for the entry's name.  For methods, arguments,
  447.  *  and instance variables, however, this attribute provides the
  448.  *  full definition.
  449.  */
  450.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,_get_somtSourceText)
  451.     (this);
  452. }
  453.  
  454.  
  455. /* method: _get_somtType */
  456. string   _get_somtType()
  457. {
  458. /*
  459.  *  The IDL type for this entry in string form. For methods this is the
  460.  *  return type.  For data or parameters this is the type of the data
  461.  *  item or parameter. For user-defined types, this is the type specification.
  462.  *  It is of the form:   <typename><pointer-stars> <array-declarators>
  463.  */
  464.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,_get_somtType)
  465.     (this);
  466. }
  467.  
  468.  
  469. /* method: _get_somtVisibility */
  470. somtVisibilityT   _get_somtVisibility()
  471. {
  472. /*
  473.  *  The visibility of this entry.  Note: the visibility of
  474.  *  parameter entries will always be public, and methods can never be
  475.  *  internal.
  476.  */
  477.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,_get_somtVisibility)
  478.     (this);
  479. }
  480.  
  481.  
  482. /* method: somtIsArray */
  483. boolean   somtIsArray(long* size)
  484. {
  485. /*
  486.  *  Returns 1 (true) if the type involves an array.  When the type
  487.  *  involves an array then <size> is set to be the size of the
  488.  *  array.
  489.  */
  490.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,somtIsArray)
  491.     (this,size);
  492. }
  493.  
  494.  
  495. /* method: somtIsPointer */
  496. boolean   somtIsPointer()
  497. {
  498. /*
  499.  *  Returns 1 (true) if the type involves a pointer, and 0 (false)
  500.  *  otherwise
  501.  */
  502.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTCommonEntryC,somtIsPointer)
  503.     (this);
  504. }
  505.  
  506.  
  507. /* method: somDumpSelfInt */
  508. void   somDumpSelfInt(long level)
  509. {
  510.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDumpSelfInt)
  511.     (this,level);
  512. }
  513.  
  514.  
  515. /* method: somtSetSymbolsOnEntry */
  516. long   somtSetSymbolsOnEntry(SOMTEmitC* emitter, 
  517.         string prefix)
  518. {
  519.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,somtSetSymbolsOnEntry)
  520.     (this,emitter,prefix);
  521. }
  522.  
  523.  
  524. /* method: _get_somtEntryName */
  525. string   _get_somtEntryName()
  526. {
  527. /*
  528.  *  The name associated with this entry.  Eg, the name of
  529.  *  the data item, the class, the method, the type, etc.
  530.  */
  531.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtEntryName)
  532.     (this);
  533. }
  534.  
  535.  
  536. /* method: _set_somtEntryName */
  537. void   _set_somtEntryName(string somtEntryName)
  538. {
  539. /*
  540.  *  The name associated with this entry.  Eg, the name of
  541.  *  the data item, the class, the method, the type, etc.
  542.  */
  543.    SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_set_somtEntryName)
  544.     (this,somtEntryName);
  545. }
  546.  
  547.  
  548. /* method: _get_somtElementType */
  549. SOMTTypes   _get_somtElementType()
  550. {
  551. /*
  552.  *  Returns the type of this entry.
  553.  *  This is not datatype, but entry type (method, class,
  554.  *  passthru, etc.). The value is defined by SOMTTypes.
  555.  */
  556.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtElementType)
  557.     (this);
  558. }
  559.  
  560.  
  561. /* method: _set_somtElementType */
  562. void   _set_somtElementType(SOMTTypes somtElementType)
  563. {
  564. /*
  565.  *  Returns the type of this entry.
  566.  *  This is not datatype, but entry type (method, class,
  567.  *  passthru, etc.). The value is defined by SOMTTypes.
  568.  */
  569.    SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_set_somtElementType)
  570.     (this,somtElementType);
  571. }
  572.  
  573.  
  574. /* method: _get_somtElementTypeName */
  575. string   _get_somtElementTypeName()
  576. {
  577. /*
  578.  *  String version of somtElementType.
  579.  */
  580.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtElementTypeName)
  581.     (this);
  582. }
  583.  
  584.  
  585. /* method: _get_somtEntryComment */
  586. string   _get_somtEntryComment()
  587. {
  588. /*
  589.  *  Returns the comment associated with this entry, or NULL is this
  590.  *  entry has no associated comment.  Comments will have comment
  591.  *  delimitors removed, but will retain newline characters as
  592.  *  specified in the source file. (use smLookupComment)
  593.  */
  594.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtEntryComment)
  595.     (this);
  596. }
  597.  
  598.  
  599. /* method: _get_somtSourceLineNumber */
  600. unsigned long   _get_somtSourceLineNumber()
  601. {
  602. /*
  603.  *  Returns the line number in the source file where this entry's
  604.  *  syntactic form ended.
  605.  */
  606.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtSourceLineNumber)
  607.     (this);
  608. }
  609.  
  610.  
  611. /* method: _get_somtTypeCode */
  612. TypeCode   _get_somtTypeCode()
  613. {
  614. /*
  615.  *  The typecode, if appropriate, or NULL.
  616.  */
  617.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtTypeCode)
  618.     (this);
  619. }
  620.  
  621.  
  622. /* method: _get_somtIsReference */
  623. boolean   _get_somtIsReference()
  624. {
  625. /*
  626.  *  Whether the entry is just a reference to the real type (TRUE)
  627.  *  rather than a declaration of it (FALSE).
  628.  */
  629.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtIsReference)
  630.     (this);
  631. }
  632.  
  633.  
  634. /* method: _get_somtIDLScopedName */
  635. string   _get_somtIDLScopedName()
  636. {
  637. /*
  638.  *  The IDL scoped name of the entry (using double colon as delimiter).
  639.  */
  640.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtIDLScopedName)
  641.     (this);
  642. }
  643.  
  644.  
  645. /* method: _get_somtCScopedName */
  646. string   _get_somtCScopedName()
  647. {
  648. /*
  649.  *  The C scoped name of the entry (using underscore as delimiter).
  650.  */
  651.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,_get_somtCScopedName)
  652.     (this);
  653. }
  654.  
  655.  
  656. /* method: somtGetModifierValue */
  657. string   somtGetModifierValue(string modifierName)
  658. {
  659. /*
  660.  *  Returns the value of the named modifier if this entry has the
  661.  *  named modifier and NULL otherwise. Note: if the modifier is
  662.  *  present but does not have a value then a value of <'\1'> is
  663.  *  returned.
  664.  */
  665.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,somtGetModifierValue)
  666.     (this,modifierName);
  667. }
  668.  
  669.  
  670. /* method: somtGetFirstModifier */
  671. boolean   somtGetFirstModifier(string* modifierName, 
  672.         string* modifierValue)
  673. {
  674. /*
  675.  *  Returns the first modifier associated with this entry.  1 (true)
  676.  *  is returned if the entry has at least one modifier and 0 (false)
  677.  *  otherwise.
  678.  */
  679.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,somtGetFirstModifier)
  680.     (this,modifierName,modifierValue);
  681. }
  682.  
  683.  
  684. /* method: somtGetNextModifier */
  685. boolean   somtGetNextModifier(string* modifierName, 
  686.         string* modifierValue)
  687. {
  688. /*
  689.  *  Returns the next modifier (with respect to the last call to
  690.  *  <somtGetNextModifier> or <somtGetFirstModifier>)
  691.  *  associated with this entry.  1 (true) is returned if the entry
  692.  *  had another modifier and 0 (false) otherwise.
  693.  */
  694.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,somtGetNextModifier)
  695.     (this,modifierName,modifierValue);
  696. }
  697.  
  698.  
  699. /* method: somtFormatModifier */
  700. long   somtFormatModifier(string buffer, 
  701.         string name, 
  702.         string value)
  703. {
  704. /*
  705.  *  Formats the indicated name/value pair into buffer.  Buffer must
  706.  *  be big enough to hold all the formatted pair, no checks are made.
  707.  *  The number of characters added to buffer are returned (not
  708.  *  including the trailing null character).
  709.  *  Note: value may be null
  710.  *  You will probably never call this method, it is provided so that
  711.  *  you can override it to control the format returned in
  712.  *  <somtGetModifierList>.
  713.  */
  714.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,somtFormatModifier)
  715.     (this,buffer,name,value);
  716. }
  717.  
  718.  
  719. /* method: somtGetModifierList */
  720. long   somtGetModifierList(string buffer)
  721. {
  722. /*
  723.  *  The modifiers for this entry are placed in <buffer> in template
  724.  *  list form (newline separated).  Buffer must be big enough to
  725.  *  hold all the modifiers, no checks are made. The number of
  726.  *  modifiers is returned.
  727.  */
  728.    return SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,somtGetModifierList)
  729.     (this,buffer);
  730. }
  731.  
  732.  
  733. /* method: somtSetEntryStruct */
  734. void   somtSetEntryStruct(Entry* es)
  735. {
  736. /*
  737.  *  Sets the entry struct data member.
  738.  *  Note, when overridding this method, it is important to call the
  739.  *  parent version of the method first and then do your processing.
  740.  */
  741.    SOM_ResolveD(this,SOMTDataEntryC,SOMTEntryC,somtSetEntryStruct)
  742.     (this,es);
  743. }
  744.  
  745.  
  746. /* method: somInit */
  747. void   somInit()
  748. {
  749.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somInit)
  750.     (this);
  751. }
  752.  
  753.  
  754. /* method: somUninit */
  755. void   somUninit()
  756. {
  757.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somUninit)
  758.     (this);
  759. }
  760.  
  761.  
  762. /* method: somPrintSelf */
  763. SOMObject*   somPrintSelf()
  764. {
  765.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somPrintSelf)
  766.     (this);
  767. }
  768.  
  769.  
  770. /* method: somDumpSelf */
  771. void   somDumpSelf(long level)
  772. {
  773.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDumpSelf)
  774.     (this,level);
  775. }
  776.  
  777.  
  778. /* initializer method: somDefaultInit */
  779. void   somDefaultInit(som3InitCtrl* ctrl)
  780. {
  781. /*
  782.  *  A default initializer for a SOM object. Passing a null ctrl
  783.  *  indicates to the receiver that its class is the class of the
  784.  *  object being initialized, whereby the initializer will determine
  785.  *  an appropriate control structure.
  786.  */
  787.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultInit)
  788.     (this,ctrl);
  789. }
  790.  
  791.  
  792. /* method: somDestruct */
  793. void   somDestruct(octet doFree, 
  794.         som3DestructCtrl* ctrl)
  795. {
  796. /*
  797.  *  The default destructor for a SOM object. A nonzero <doFree>
  798.  *  indicates that the object storage should be freed by the
  799.  *  object's class (via somDeallocate) after uninitialization.
  800.  *  As with somDefaultInit, a null ctrl can be passed.
  801.  */
  802.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDestruct)
  803.     (this,doFree,ctrl);
  804. }
  805.  
  806.  
  807. /* initializer method: somDefaultCopyInit */
  808. void   somDefaultCopyInit(som3InitCtrl* ctrl, 
  809.         SOMObject* fromObj)
  810. {
  811. /*
  812.  *  A default copy constructor. Use this to make copies of objects for
  813.  *  calling methods with "by-value" argument semantics.
  814.  */
  815.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultCopyInit)
  816.     (this,ctrl,fromObj);
  817. }
  818.  
  819.  
  820. /* method: somDefaultAssign */
  821. SOMTDataEntryC*  somDefaultAssign(som3AssignCtrl* ctrl, 
  822.         SOMObject* fromObj)
  823. {
  824. /*
  825.  *  A default assignment operator. Use this to "assign" the state of one
  826.  *  object to another.
  827.  */
  828.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultAssign)
  829.     (this,ctrl,fromObj);
  830. }
  831.  
  832.  
  833. /* initializer method: somDefaultConstCopyInit */
  834. void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
  835.         SOMObject* fromObj)
  836. {
  837. /*
  838.  *  A default copy constructor that uses a const fromObj.
  839.  */
  840.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultConstCopyInit)
  841.     (this,ctrl,fromObj);
  842. }
  843.  
  844.  
  845. /* initializer method: somDefaultVCopyInit */
  846. void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
  847.         SOMObject* fromObj)
  848. {
  849. /*
  850.  *  A default copy constructor that uses a volatile fromObj.
  851.  */
  852.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultVCopyInit)
  853.     (this,ctrl,fromObj);
  854. }
  855.  
  856.  
  857. /* initializer method: somDefaultConstVCopyInit */
  858. void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
  859.         SOMObject* fromObj)
  860. {
  861. /*
  862.  *  A default copy constructor that uses a const volatile fromObj.
  863.  */
  864.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultConstVCopyInit)
  865.     (this,ctrl,fromObj);
  866. }
  867.  
  868.  
  869. /* method: somDefaultConstAssign */
  870. SOMTDataEntryC*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
  871.         SOMObject* fromObj)
  872. {
  873. /*
  874.  *  A default assignment operator that uses a const fromObj.
  875.  */
  876.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultConstAssign)
  877.     (this,ctrl,fromObj);
  878. }
  879.  
  880.  
  881. /* method: somDefaultVAssign */
  882. SOMTDataEntryC*  somDefaultVAssign(som3AssignCtrl* ctrl, 
  883.         SOMObject* fromObj)
  884. {
  885. /*
  886.  *  A default assignment operator that uses a volatile fromObj.
  887.  */
  888.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultVAssign)
  889.     (this,ctrl,fromObj);
  890. }
  891.  
  892.  
  893. /* method: somDefaultConstVAssign */
  894. SOMTDataEntryC*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
  895.         SOMObject* fromObj)
  896. {
  897. /*
  898.  *  A default assignment operator that uses a const volatile fromObj.
  899.  */
  900.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDefaultConstVAssign)
  901.     (this,ctrl,fromObj);
  902. }
  903.  
  904.  
  905. /* method: somFree */
  906. void   somFree()
  907. {
  908. /*
  909.  *  Use as directed by framework implementations.
  910.  */
  911.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somFree)
  912.     (this);
  913. }
  914.  
  915.  
  916. /* method: somGetClass */
  917. SOMClass*   somGetClass()
  918. {
  919. /*
  920.  *  Return the receiver's class.
  921.  */
  922.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somGetClass)
  923.     (this);
  924. }
  925.  
  926.  
  927. /* method: somGetClassName */
  928. string   somGetClassName()
  929. {
  930. /*
  931.  *  Return the name of the receiver's class.
  932.  */
  933.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somGetClassName)
  934.     (this);
  935. }
  936.  
  937.  
  938. /* method: somGetSize */
  939. long   somGetSize()
  940. {
  941. /*
  942.  *  Return the size of the receiver.
  943.  */
  944.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somGetSize)
  945.     (this);
  946. }
  947.  
  948.  
  949. /* method: somIsA */
  950. boolean   somIsA(SOMClass* aClassObj)
  951. {
  952. /*
  953.  *  Returns 1 (true) if the receiver responds to methods
  954.  *  introduced by <aClassObj>, and 0 (false) otherwise.
  955.  */
  956.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somIsA)
  957.     (this,aClassObj);
  958. }
  959.  
  960.  
  961. /* method: somIsInstanceOf */
  962. boolean   somIsInstanceOf(SOMClass* aClassObj)
  963. {
  964. /*
  965.  *  Returns 1 (true) if the receiver is an instance of
  966.  *  <aClassObj> and 0 (false) otherwise.
  967.  */
  968.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somIsInstanceOf)
  969.     (this,aClassObj);
  970. }
  971.  
  972.  
  973. /* method: somRespondsTo */
  974. boolean   somRespondsTo(somId mId)
  975. {
  976. /*
  977.  *  Returns 1 (true) if the indicated method can be invoked
  978.  *  on the receiver and 0 (false) otherwise.
  979.  */
  980.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somRespondsTo)
  981.     (this,mId);
  982. }
  983.  
  984.  
  985. /* va_list method: somDispatch */
  986.  
  987. /*
  988.  *  This method provides a generic, class-specific dispatch mechanism.
  989.  *  It accepts as input <retValue> a pointer to the memory area to be
  990.  *  loaded with the result of dispatching the method indicated by
  991.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  992.  *  on which the method is to be invoked as the first argument.
  993.  */
  994. /* the va_list invocation form */
  995. boolean   SOMTDataEntryC_somDispatch(somToken* retValue, 
  996.         somId methodId, 
  997.         va_list ap)
  998. {return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatch)
  999.     (this,retValue,methodId,ap);
  1000. }
  1001.  
  1002. /* the varargs invocation form */
  1003. boolean   somDispatch(somToken* retValue, 
  1004.         somId methodId, 
  1005.         ...)
  1006. {
  1007. /*
  1008.  *  This method provides a generic, class-specific dispatch mechanism.
  1009.  *  It accepts as input <retValue> a pointer to the memory area to be
  1010.  *  loaded with the result of dispatching the method indicated by
  1011.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  1012.  *  on which the method is to be invoked as the first argument.
  1013.  */
  1014.    va_list ap;
  1015.    va_start(ap, methodId);
  1016.    boolean __somResult = 
  1017.       SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatch)
  1018.     (this,retValue,methodId,ap);
  1019.    va_end(ap);
  1020.    return __somResult;
  1021. }
  1022.  
  1023.  
  1024. /* va_list method: somClassDispatch */
  1025.  
  1026. /*
  1027.  *  Like somDispatch, but method resolution for static methods is done
  1028.  *  according to the clsObj instance method table.
  1029.  */
  1030. /* the va_list invocation form */
  1031. boolean   SOMTDataEntryC_somClassDispatch(SOMClass* clsObj, 
  1032.         somToken* retValue, 
  1033.         somId methodId, 
  1034.         va_list ap)
  1035. {return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somClassDispatch)
  1036.     (this,clsObj,retValue,methodId,ap);
  1037. }
  1038.  
  1039. /* the varargs invocation form */
  1040. boolean   somClassDispatch(SOMClass* clsObj, 
  1041.         somToken* retValue, 
  1042.         somId methodId, 
  1043.         ...)
  1044. {
  1045. /*
  1046.  *  Like somDispatch, but method resolution for static methods is done
  1047.  *  according to the clsObj instance method table.
  1048.  */
  1049.    va_list ap;
  1050.    va_start(ap, methodId);
  1051.    boolean __somResult = 
  1052.       SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somClassDispatch)
  1053.     (this,clsObj,retValue,methodId,ap);
  1054.    va_end(ap);
  1055.    return __somResult;
  1056. }
  1057.  
  1058.  
  1059. /* method: somCastObj */
  1060. boolean   somCastObj(SOMClass* cls)
  1061. {
  1062. /*
  1063.  *  cast the receiving object to cls (which must be an ancestor of the
  1064.  *  objects true class. Returns true on success.
  1065.  */
  1066.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somCastObj)
  1067.     (this,cls);
  1068. }
  1069.  
  1070.  
  1071. /* method: somResetObj */
  1072. boolean   somResetObj()
  1073. {
  1074. /*
  1075.  *  reset an object to its true class. Returns true always.
  1076.  */
  1077.    return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somResetObj)
  1078.     (this);
  1079. }
  1080.  
  1081.  
  1082. /* va_list method: somDispatchV */
  1083.  
  1084. /*
  1085.  *  Obsolete. Use somDispatch instead.
  1086.  */
  1087. /* the va_list invocation form */
  1088. void   SOMTDataEntryC_somDispatchV(somId methodId, 
  1089.         somId descriptor, 
  1090.         va_list ap)
  1091. {   SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatchV)
  1092.     (this,methodId,descriptor,ap);
  1093. }
  1094.  
  1095. /* the varargs invocation form */
  1096. void   somDispatchV(somId methodId, 
  1097.         somId descriptor, 
  1098.         ...)
  1099. {
  1100. /*
  1101.  *  Obsolete. Use somDispatch instead.
  1102.  */
  1103.    va_list ap;
  1104.    va_start(ap, descriptor);
  1105.    SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatchV)
  1106.     (this,methodId,descriptor,ap);
  1107.    va_end(ap);
  1108. }
  1109.  
  1110.  
  1111. /* va_list method: somDispatchL */
  1112.  
  1113. /*
  1114.  *  Obsolete. Use somDispatch instead.
  1115.  */
  1116. /* the va_list invocation form */
  1117. long   SOMTDataEntryC_somDispatchL(somId methodId, 
  1118.         somId descriptor, 
  1119.         va_list ap)
  1120. {return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatchL)
  1121.     (this,methodId,descriptor,ap);
  1122. }
  1123.  
  1124. /* the varargs invocation form */
  1125. long   somDispatchL(somId methodId, 
  1126.         somId descriptor, 
  1127.         ...)
  1128. {
  1129. /*
  1130.  *  Obsolete. Use somDispatch instead.
  1131.  */
  1132.    va_list ap;
  1133.    va_start(ap, descriptor);
  1134.    long __somResult = 
  1135.       SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatchL)
  1136.     (this,methodId,descriptor,ap);
  1137.    va_end(ap);
  1138.    return __somResult;
  1139. }
  1140.  
  1141.  
  1142. /* va_list method: somDispatchA */
  1143.  
  1144. /*
  1145.  *  Obsolete. Use somDispatch instead.
  1146.  */
  1147. /* the va_list invocation form */
  1148. void*   SOMTDataEntryC_somDispatchA(somId methodId, 
  1149.         somId descriptor, 
  1150.         va_list ap)
  1151. {return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatchA)
  1152.     (this,methodId,descriptor,ap);
  1153. }
  1154.  
  1155. /* the varargs invocation form */
  1156. void*   somDispatchA(somId methodId, 
  1157.         somId descriptor, 
  1158.         ...)
  1159. {
  1160. /*
  1161.  *  Obsolete. Use somDispatch instead.
  1162.  */
  1163.    va_list ap;
  1164.    va_start(ap, descriptor);
  1165.    void* __somResult = 
  1166.       SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatchA)
  1167.     (this,methodId,descriptor,ap);
  1168.    va_end(ap);
  1169.    return __somResult;
  1170. }
  1171.  
  1172.  
  1173. /* va_list method: somDispatchD */
  1174.  
  1175. /*
  1176.  *  Obsolete. Use somDispatch instead.
  1177.  */
  1178. /* the va_list invocation form */
  1179. double   SOMTDataEntryC_somDispatchD(somId methodId, 
  1180.         somId descriptor, 
  1181.         va_list ap)
  1182. {return SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatchD)
  1183.     (this,methodId,descriptor,ap);
  1184. }
  1185.  
  1186. /* the varargs invocation form */
  1187. double   somDispatchD(somId methodId, 
  1188.         somId descriptor, 
  1189.         ...)
  1190. {
  1191. /*
  1192.  *  Obsolete. Use somDispatch instead.
  1193.  */
  1194.    va_list ap;
  1195.    va_start(ap, descriptor);
  1196.    double __somResult = 
  1197.       SOM_ResolveD(this,SOMTDataEntryC,SOMObject,somDispatchD)
  1198.     (this,methodId,descriptor,ap);
  1199.    va_end(ap);
  1200.    return __somResult;
  1201. }
  1202.  
  1203.  
  1204.  
  1205. };   /* SOMTDataEntryC */
  1206.  
  1207.  
  1208.  
  1209. #endif       /* SOM_SOMTDataEntryC_xh */
  1210.