home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / scparm.xh < prev    next >
Encoding:
Text File  |  1996-02-22  |  28.8 KB  |  875 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: h:\somnt\include\scparm.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: Development
  7.  *     SOM Emitter emitxh.dll: Development
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *   COMPONENT_NAME: some
  13.  * 
  14.  *   ORIGINS: 27
  15.  * 
  16.  * 
  17.  *   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  18.  *   All Rights Reserved
  19.  *   Licensed Materials - Property of IBM
  20.  *   US Government Users Restricted Rights - Use, duplication or
  21.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  22.  *  %Z% %I% %W% %G% %U% [%H% %T%]
  23.  * 
  24.  */
  25.  
  26.  
  27. #ifndef SOM_SOMTParameterEntryC_xh
  28. #define SOM_SOMTParameterEntryC_xh
  29.  
  30. class SOMTParameterEntryC;
  31.  
  32. #define SOMTParameterEntryC_MajorVersion 2
  33. #define SOMTParameterEntryC_MinorVersion 1
  34.  
  35. /*
  36.  * Passthru lines: File: "C.xh", "before"
  37.  */
  38. typedef enum somtParameterDirectionT {somtInE,somtOutE,somtInOutE} somtParameterDirectionT;
  39.  
  40. /* C++ SOM defs */
  41. #include <somcls.xh>
  42. #include <somcm.xh>
  43.  
  44. /* C++ parent defs */
  45. #ifndef SOM_SOMTCommonEntryC_xh
  46. #include <sccommon.xh>
  47. #endif
  48.  
  49. #ifndef SOMTParameterEntryC_API
  50. #define SOMTParameterEntryC_API
  51. /*
  52.  * -- The Class API
  53.  */
  54.  
  55. /*
  56.  * Start of user-defined types:
  57.  */
  58. class SOMClass;
  59. class SOMObject;
  60. class SOMTEntryC;
  61. class SOMTEmitC;
  62. class SOMTMetaClassEntryC;
  63. class SOMTAttributeEntryC;
  64. class SOMTTypedefEntryC;
  65. class SOMTBaseClassEntryC;
  66. class SOMTPassthruEntryC;
  67. class SOMTDataEntryC;
  68. class SOMTMethodEntryC;
  69. class SOMTClassEntryC;
  70. class SOMTModuleEntryC;
  71. class SOMTParameterEntryC;
  72. class SOMTStructEntryC;
  73. class SOMTUnionEntryC;
  74. class SOMTEnumEntryC;
  75. class SOMTConstEntryC;
  76. class SOMTSequenceEntryC;
  77. class SOMTStringEntryC;
  78. class SOMTEnumNameEntryC;
  79. class SOMTCommonEntryC;
  80. class SOMTUserDefinedTypeEntryC;
  81.  
  82. /*
  83.  * End of user-defined types.
  84.  */
  85.  
  86. /* A procedure to create the SOMTParameterEntryC Class */
  87. SOMEXTERN
  88. #if (defined(SOM_Module_scparm_Source) || defined(SOMTParameterEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTParameterEntryC))
  89. WIN32_DLLEXPORT
  90. #else
  91. WIN32_DLLIMPORT
  92. #endif
  93. SOMClass * SOMLINK SOMTParameterEntryCNewClass(
  94.         integer4,
  95.         integer4 );
  96.  
  97. /* The API to the SOMTParameterEntryC class object, and the methods it introduces. */
  98. SOMEXTERN struct SOMTParameterEntryCClassDataStructure {
  99.     SOMClass *classObject;
  100.     somMToken _get_somtParameterDirection;
  101.     somMToken _get_somtCParameterDeclaration;
  102.     somMToken _get_somtIDLParameterDeclaration;
  103. }
  104. #if !(defined(SOM_Module_scparm_Source) || defined(SOMTParameterEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTParameterEntryC))
  105. WIN32_DLLIMPORT
  106. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  107. WIN32_DLLEXPORT
  108. #endif
  109. SOMDLINK SOMTParameterEntryCClassData;
  110. #define _SOMTParameterEntryC SOMTParameterEntryCClassData.classObject
  111.  
  112. /* The API to parentMtabs for SOMTParameterEntryC, and the instance data it introduces. */
  113. SOMEXTERN struct SOMTParameterEntryCCClassDataStructure {
  114.     somMethodTabs parentMtab;
  115.     somDToken              instanceDataToken;
  116. }
  117. #if !(defined(SOM_Module_scparm_Source) || defined(SOMTParameterEntryC_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_SOMTParameterEntryC))
  118. WIN32_DLLIMPORT
  119. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  120. WIN32_DLLEXPORT
  121. #endif
  122. SOMDLINK SOMTParameterEntryCCClassData;
  123.  
  124. /*
  125.  * -- Typedefs for SOMTParameterEntryC Method Procedures
  126.  */
  127. extern "C" {
  128. typedef somtParameterDirectionT   SOMLINK somTP_SOMTParameterEntryC__get_somtParameterDirection(SOMTParameterEntryC *somSelf);
  129. typedef somTP_SOMTParameterEntryC__get_somtParameterDirection *somTD_SOMTParameterEntryC__get_somtParameterDirection;
  130. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtIDLParameterDeclaration(SOMTParameterEntryC *somSelf);
  131. typedef somTP_SOMTParameterEntryC__get_somtIDLParameterDeclaration *somTD_SOMTParameterEntryC__get_somtIDLParameterDeclaration;
  132. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtCParameterDeclaration(SOMTParameterEntryC *somSelf);
  133. typedef somTP_SOMTParameterEntryC__get_somtCParameterDeclaration *somTD_SOMTParameterEntryC__get_somtCParameterDeclaration;
  134.  
  135. /*
  136.  * -- Typedefs for Reintroduced Wrapper Methods
  137.  */
  138. typedef SOMTEntryC*   SOMLINK somTP_SOMTParameterEntryC__get_somtTypeObj(SOMTParameterEntryC *somSelf);
  139. typedef somTP_SOMTParameterEntryC__get_somtTypeObj *somTD_SOMTParameterEntryC__get_somtTypeObj;
  140. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtPtrs(SOMTParameterEntryC *somSelf);
  141. typedef somTP_SOMTParameterEntryC__get_somtPtrs *somTD_SOMTParameterEntryC__get_somtPtrs;
  142. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtArrayDimsString(SOMTParameterEntryC *somSelf);
  143. typedef somTP_SOMTParameterEntryC__get_somtArrayDimsString *somTD_SOMTParameterEntryC__get_somtArrayDimsString;
  144. typedef unsigned long   SOMLINK somTP_SOMTParameterEntryC_somtGetFirstArrayDimension(SOMTParameterEntryC *somSelf);
  145. typedef somTP_SOMTParameterEntryC_somtGetFirstArrayDimension *somTD_SOMTParameterEntryC_somtGetFirstArrayDimension;
  146. typedef unsigned long   SOMLINK somTP_SOMTParameterEntryC_somtGetNextArrayDimension(SOMTParameterEntryC *somSelf);
  147. typedef somTP_SOMTParameterEntryC_somtGetNextArrayDimension *somTD_SOMTParameterEntryC_somtGetNextArrayDimension;
  148. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtSourceText(SOMTParameterEntryC *somSelf);
  149. typedef somTP_SOMTParameterEntryC__get_somtSourceText *somTD_SOMTParameterEntryC__get_somtSourceText;
  150. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtType(SOMTParameterEntryC *somSelf);
  151. typedef somTP_SOMTParameterEntryC__get_somtType *somTD_SOMTParameterEntryC__get_somtType;
  152. typedef somtVisibilityT   SOMLINK somTP_SOMTParameterEntryC__get_somtVisibility(SOMTParameterEntryC *somSelf);
  153. typedef somTP_SOMTParameterEntryC__get_somtVisibility *somTD_SOMTParameterEntryC__get_somtVisibility;
  154. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somtIsArray(SOMTParameterEntryC *somSelf,
  155.         long* size);
  156. typedef somTP_SOMTParameterEntryC_somtIsArray *somTD_SOMTParameterEntryC_somtIsArray;
  157. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somtIsPointer(SOMTParameterEntryC *somSelf);
  158. typedef somTP_SOMTParameterEntryC_somtIsPointer *somTD_SOMTParameterEntryC_somtIsPointer;
  159. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDumpSelfInt(SOMTParameterEntryC *somSelf,
  160.         long level);
  161. typedef somTP_SOMTParameterEntryC_somDumpSelfInt *somTD_SOMTParameterEntryC_somDumpSelfInt;
  162. typedef long   SOMLINK somTP_SOMTParameterEntryC_somtSetSymbolsOnEntry(SOMTParameterEntryC *somSelf,
  163.         SOMTEmitC* emitter,
  164.         string prefix);
  165. typedef somTP_SOMTParameterEntryC_somtSetSymbolsOnEntry *somTD_SOMTParameterEntryC_somtSetSymbolsOnEntry;
  166. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtEntryName(SOMTParameterEntryC *somSelf);
  167. typedef somTP_SOMTParameterEntryC__get_somtEntryName *somTD_SOMTParameterEntryC__get_somtEntryName;
  168. typedef void   SOMLINK somTP_SOMTParameterEntryC__set_somtEntryName(SOMTParameterEntryC *somSelf,
  169.         string somtEntryName);
  170. typedef somTP_SOMTParameterEntryC__set_somtEntryName *somTD_SOMTParameterEntryC__set_somtEntryName;
  171. typedef SOMTTypes   SOMLINK somTP_SOMTParameterEntryC__get_somtElementType(SOMTParameterEntryC *somSelf);
  172. typedef somTP_SOMTParameterEntryC__get_somtElementType *somTD_SOMTParameterEntryC__get_somtElementType;
  173. typedef void   SOMLINK somTP_SOMTParameterEntryC__set_somtElementType(SOMTParameterEntryC *somSelf,
  174.         SOMTTypes somtElementType);
  175. typedef somTP_SOMTParameterEntryC__set_somtElementType *somTD_SOMTParameterEntryC__set_somtElementType;
  176. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtElementTypeName(SOMTParameterEntryC *somSelf);
  177. typedef somTP_SOMTParameterEntryC__get_somtElementTypeName *somTD_SOMTParameterEntryC__get_somtElementTypeName;
  178. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtEntryComment(SOMTParameterEntryC *somSelf);
  179. typedef somTP_SOMTParameterEntryC__get_somtEntryComment *somTD_SOMTParameterEntryC__get_somtEntryComment;
  180. typedef unsigned long   SOMLINK somTP_SOMTParameterEntryC__get_somtSourceLineNumber(SOMTParameterEntryC *somSelf);
  181. typedef somTP_SOMTParameterEntryC__get_somtSourceLineNumber *somTD_SOMTParameterEntryC__get_somtSourceLineNumber;
  182. typedef TypeCode   SOMLINK somTP_SOMTParameterEntryC__get_somtTypeCode(SOMTParameterEntryC *somSelf);
  183. typedef somTP_SOMTParameterEntryC__get_somtTypeCode *somTD_SOMTParameterEntryC__get_somtTypeCode;
  184. typedef boolean   SOMLINK somTP_SOMTParameterEntryC__get_somtIsReference(SOMTParameterEntryC *somSelf);
  185. typedef somTP_SOMTParameterEntryC__get_somtIsReference *somTD_SOMTParameterEntryC__get_somtIsReference;
  186. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtIDLScopedName(SOMTParameterEntryC *somSelf);
  187. typedef somTP_SOMTParameterEntryC__get_somtIDLScopedName *somTD_SOMTParameterEntryC__get_somtIDLScopedName;
  188. typedef string   SOMLINK somTP_SOMTParameterEntryC__get_somtCScopedName(SOMTParameterEntryC *somSelf);
  189. typedef somTP_SOMTParameterEntryC__get_somtCScopedName *somTD_SOMTParameterEntryC__get_somtCScopedName;
  190. typedef string   SOMLINK somTP_SOMTParameterEntryC_somtGetModifierValue(SOMTParameterEntryC *somSelf,
  191.         string modifierName);
  192. typedef somTP_SOMTParameterEntryC_somtGetModifierValue *somTD_SOMTParameterEntryC_somtGetModifierValue;
  193. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somtGetFirstModifier(SOMTParameterEntryC *somSelf,
  194.         string* modifierName,
  195.         string* modifierValue);
  196. typedef somTP_SOMTParameterEntryC_somtGetFirstModifier *somTD_SOMTParameterEntryC_somtGetFirstModifier;
  197. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somtGetNextModifier(SOMTParameterEntryC *somSelf,
  198.         string* modifierName,
  199.         string* modifierValue);
  200. typedef somTP_SOMTParameterEntryC_somtGetNextModifier *somTD_SOMTParameterEntryC_somtGetNextModifier;
  201. typedef long   SOMLINK somTP_SOMTParameterEntryC_somtFormatModifier(SOMTParameterEntryC *somSelf,
  202.         string buffer,
  203.         string name,
  204.         string value);
  205. typedef somTP_SOMTParameterEntryC_somtFormatModifier *somTD_SOMTParameterEntryC_somtFormatModifier;
  206. typedef long   SOMLINK somTP_SOMTParameterEntryC_somtGetModifierList(SOMTParameterEntryC *somSelf,
  207.         string buffer);
  208. typedef somTP_SOMTParameterEntryC_somtGetModifierList *somTD_SOMTParameterEntryC_somtGetModifierList;
  209. typedef void   SOMLINK somTP_SOMTParameterEntryC_somtSetEntryStruct(SOMTParameterEntryC *somSelf,
  210.         Entry* es);
  211. typedef somTP_SOMTParameterEntryC_somtSetEntryStruct *somTD_SOMTParameterEntryC_somtSetEntryStruct;
  212. typedef void   SOMLINK somTP_SOMTParameterEntryC_somInit(SOMTParameterEntryC *somSelf);
  213. typedef somTP_SOMTParameterEntryC_somInit *somTD_SOMTParameterEntryC_somInit;
  214. typedef void   SOMLINK somTP_SOMTParameterEntryC_somUninit(SOMTParameterEntryC *somSelf);
  215. typedef somTP_SOMTParameterEntryC_somUninit *somTD_SOMTParameterEntryC_somUninit;
  216. typedef SOMObject*   SOMLINK somTP_SOMTParameterEntryC_somPrintSelf(SOMTParameterEntryC *somSelf);
  217. typedef somTP_SOMTParameterEntryC_somPrintSelf *somTD_SOMTParameterEntryC_somPrintSelf;
  218. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDumpSelf(SOMTParameterEntryC *somSelf,
  219.         long level);
  220. typedef somTP_SOMTParameterEntryC_somDumpSelf *somTD_SOMTParameterEntryC_somDumpSelf;
  221. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultInit(SOMTParameterEntryC *somSelf,
  222.         somInitCtrl* ctrl);
  223. typedef somTP_SOMTParameterEntryC_somDefaultInit *somTD_SOMTParameterEntryC_somDefaultInit;
  224. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDestruct(SOMTParameterEntryC *somSelf,
  225.         octet doFree,
  226.         somDestructCtrl* ctrl);
  227. typedef somTP_SOMTParameterEntryC_somDestruct *somTD_SOMTParameterEntryC_somDestruct;
  228. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultCopyInit(SOMTParameterEntryC *somSelf,
  229.         somInitCtrl* ctrl,
  230.         SOMObject* fromObj);
  231. typedef somTP_SOMTParameterEntryC_somDefaultCopyInit *somTD_SOMTParameterEntryC_somDefaultCopyInit;
  232. typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTParameterEntryC_somDefaultAssign(SOMTParameterEntryC *somSelf,
  233.         somAssignCtrl* ctrl,
  234.         SOMObject* fromObj);
  235. typedef somTP_SOMTParameterEntryC_somDefaultAssign *somTD_SOMTParameterEntryC_somDefaultAssign;
  236. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultConstCopyInit(SOMTParameterEntryC *somSelf,
  237.         somInitCtrl* ctrl,
  238.         SOMObject* fromObj);
  239. typedef somTP_SOMTParameterEntryC_somDefaultConstCopyInit *somTD_SOMTParameterEntryC_somDefaultConstCopyInit;
  240. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultVCopyInit(SOMTParameterEntryC *somSelf,
  241.         somInitCtrl* ctrl,
  242.         SOMObject* fromObj);
  243. typedef somTP_SOMTParameterEntryC_somDefaultVCopyInit *somTD_SOMTParameterEntryC_somDefaultVCopyInit;
  244. typedef void   SOMLINK somTP_SOMTParameterEntryC_somDefaultConstVCopyInit(SOMTParameterEntryC *somSelf,
  245.         somInitCtrl* ctrl,
  246.         SOMObject* fromObj);
  247. typedef somTP_SOMTParameterEntryC_somDefaultConstVCopyInit *somTD_SOMTParameterEntryC_somDefaultConstVCopyInit;
  248. typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTParameterEntryC_somDefaultConstAssign(SOMTParameterEntryC *somSelf,
  249.         somAssignCtrl* ctrl,
  250.         SOMObject* fromObj);
  251. typedef somTP_SOMTParameterEntryC_somDefaultConstAssign *somTD_SOMTParameterEntryC_somDefaultConstAssign;
  252. typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTParameterEntryC_somDefaultVAssign(SOMTParameterEntryC *somSelf,
  253.         somAssignCtrl* ctrl,
  254.         SOMObject* fromObj);
  255. typedef somTP_SOMTParameterEntryC_somDefaultVAssign *somTD_SOMTParameterEntryC_somDefaultVAssign;
  256. typedef SOMTParameterEntryC*   SOMLINK somTP_SOMTParameterEntryC_somDefaultConstVAssign(SOMTParameterEntryC *somSelf,
  257.         somAssignCtrl* ctrl,
  258.         SOMObject* fromObj);
  259. typedef somTP_SOMTParameterEntryC_somDefaultConstVAssign *somTD_SOMTParameterEntryC_somDefaultConstVAssign;
  260. typedef void   SOMLINK somTP_SOMTParameterEntryC_somFree(SOMTParameterEntryC *somSelf);
  261. typedef somTP_SOMTParameterEntryC_somFree *somTD_SOMTParameterEntryC_somFree;
  262. typedef SOMClass*   SOMLINK somTP_SOMTParameterEntryC_somGetClass(SOMTParameterEntryC *somSelf);
  263. typedef somTP_SOMTParameterEntryC_somGetClass *somTD_SOMTParameterEntryC_somGetClass;
  264. typedef string   SOMLINK somTP_SOMTParameterEntryC_somGetClassName(SOMTParameterEntryC *somSelf);
  265. typedef somTP_SOMTParameterEntryC_somGetClassName *somTD_SOMTParameterEntryC_somGetClassName;
  266. typedef long   SOMLINK somTP_SOMTParameterEntryC_somGetSize(SOMTParameterEntryC *somSelf);
  267. typedef somTP_SOMTParameterEntryC_somGetSize *somTD_SOMTParameterEntryC_somGetSize;
  268. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somIsA(SOMTParameterEntryC *somSelf,
  269.         SOMClass* aClassObj);
  270. typedef somTP_SOMTParameterEntryC_somIsA *somTD_SOMTParameterEntryC_somIsA;
  271. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somIsInstanceOf(SOMTParameterEntryC *somSelf,
  272.         SOMClass* aClassObj);
  273. typedef somTP_SOMTParameterEntryC_somIsInstanceOf *somTD_SOMTParameterEntryC_somIsInstanceOf;
  274. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somRespondsTo(SOMTParameterEntryC *somSelf,
  275.         somId mId);
  276. typedef somTP_SOMTParameterEntryC_somRespondsTo *somTD_SOMTParameterEntryC_somRespondsTo;
  277. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somDispatch(SOMTParameterEntryC *somSelf,
  278.         somToken* retValue,
  279.         somId methodId,
  280.         va_list ap);
  281. typedef somTP_SOMTParameterEntryC_somDispatch *somTD_SOMTParameterEntryC_somDispatch;
  282. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somClassDispatch(SOMTParameterEntryC *somSelf,
  283.         SOMClass* clsObj,
  284.         somToken* retValue,
  285.         somId methodId,
  286.         va_list ap);
  287. typedef somTP_SOMTParameterEntryC_somClassDispatch *somTD_SOMTParameterEntryC_somClassDispatch;
  288. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somCastObj(SOMTParameterEntryC *somSelf,
  289.         SOMClass* cls);
  290. typedef somTP_SOMTParameterEntryC_somCastObj *somTD_SOMTParameterEntryC_somCastObj;
  291. typedef boolean   SOMLINK somTP_SOMTParameterEntryC_somResetObj(SOMTParameterEntryC *somSelf);
  292. typedef somTP_SOMTParameterEntryC_somResetObj *somTD_SOMTParameterEntryC_somResetObj;
  293. }
  294.  
  295. #endif /* SOMTParameterEntryC_API */
  296.  
  297.  
  298. /*
  299.  * -- This emitter believes that method thunks are unavailable,
  300.  * -- so somResolve will be called.
  301.  */
  302. #undef somresolve_
  303. #define somresolve_(obj,mToken) (somResolve(obj,mToken))
  304.  
  305. /*
  306.  * -- The C++ Wrapper Class for SOMTParameterEntryC
  307.  */
  308. class SOMTParameterEntryC : public SOMTCommonEntryC
  309. {
  310. public:
  311.  
  312. // SOMTParameterEntryC::new creates the class object if necessary, and then uses somNewNoInit
  313. // to allocate memory and create the object. Initialization is in ctors.
  314. void *operator new(size_t)
  315. {
  316.    if (!_SOMTParameterEntryC) SOMTParameterEntryCNewClass(SOMTParameterEntryC_MajorVersion,SOMTParameterEntryC_MinorVersion);
  317.    return (void*)
  318.       SOM_Resolve(_SOMTParameterEntryC,SOMClass,somNewNoInit)
  319.          ((SOMClass *)((void*)_SOMTParameterEntryC));
  320. }
  321.  
  322. // SOMTParameterEntryC::delete uses somDestruct.
  323. void operator delete(void * obj)
  324. {
  325.    if (obj && *(void**)obj) {
  326.       SOM_Resolve(obj,SOMObject,somDestruct)
  327.          ((SOMObject*)obj, 1, 0);
  328.    }
  329. }
  330.  
  331. SOMTParameterEntryC()
  332. {
  333.    if (*(void**)this != 
  334.        ((somParentMtabStructPtr)
  335.         (SOMTParameterEntryCCClassData.parentMtab))->mtab)
  336.       return;
  337.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  338. }
  339.  
  340. SOMTParameterEntryC(SOMTParameterEntryC* fromObj)
  341. {
  342.    if (*(void**)this != 
  343.        ((somParentMtabStructPtr)
  344.         (SOMTParameterEntryCCClassData.parentMtab))->mtab)
  345.       return;
  346.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  347. }
  348.  
  349. SOMTParameterEntryC(const SOMTParameterEntryC* fromObj)
  350. {
  351.    if (*(void**)this != 
  352.        ((somParentMtabStructPtr)
  353.         (SOMTParameterEntryCCClassData.parentMtab))->mtab)
  354.       return;
  355.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  356. }
  357.  
  358.  
  359. /* method: _get_somtParameterDirection */
  360. somtParameterDirectionT   _get_somtParameterDirection()
  361. {
  362.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTParameterEntryC,_get_somtParameterDirection)
  363.     (this);
  364. }
  365.  
  366.  
  367. /* method: _get_somtIDLParameterDeclaration */
  368. string   _get_somtIDLParameterDeclaration()
  369. {
  370.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTParameterEntryC,_get_somtIDLParameterDeclaration)
  371.     (this);
  372. }
  373.  
  374.  
  375. /* method: _get_somtCParameterDeclaration */
  376. string   _get_somtCParameterDeclaration()
  377. {
  378.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTParameterEntryC,_get_somtCParameterDeclaration)
  379.     (this);
  380. }
  381.  
  382.  
  383. /*
  384.  * Reintroduce inherited methods
  385.  */
  386.  
  387. /* method: _get_somtTypeObj */
  388. SOMTEntryC*   _get_somtTypeObj()
  389. {
  390.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtTypeObj)
  391.     (this);
  392. }
  393.  
  394.  
  395. /* method: _get_somtPtrs */
  396. string   _get_somtPtrs()
  397. {
  398.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtPtrs)
  399.     (this);
  400. }
  401.  
  402.  
  403. /* method: _get_somtArrayDimsString */
  404. string   _get_somtArrayDimsString()
  405. {
  406.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtArrayDimsString)
  407.     (this);
  408. }
  409.  
  410.  
  411. /* method: somtGetFirstArrayDimension */
  412. unsigned long   somtGetFirstArrayDimension()
  413. {
  414.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,somtGetFirstArrayDimension)
  415.     (this);
  416. }
  417.  
  418.  
  419. /* method: somtGetNextArrayDimension */
  420. unsigned long   somtGetNextArrayDimension()
  421. {
  422.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,somtGetNextArrayDimension)
  423.     (this);
  424. }
  425.  
  426.  
  427. /* method: _get_somtSourceText */
  428. string   _get_somtSourceText()
  429. {
  430.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtSourceText)
  431.     (this);
  432. }
  433.  
  434.  
  435. /* method: _get_somtType */
  436. string   _get_somtType()
  437. {
  438.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtType)
  439.     (this);
  440. }
  441.  
  442.  
  443. /* method: _get_somtVisibility */
  444. somtVisibilityT   _get_somtVisibility()
  445. {
  446.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,_get_somtVisibility)
  447.     (this);
  448. }
  449.  
  450.  
  451. /* method: somtIsArray */
  452. boolean   somtIsArray(long* size)
  453. {
  454.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,somtIsArray)
  455.     (this,size);
  456. }
  457.  
  458.  
  459. /* method: somtIsPointer */
  460. boolean   somtIsPointer()
  461. {
  462.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTCommonEntryC,somtIsPointer)
  463.     (this);
  464. }
  465.  
  466.  
  467. /* method: somDumpSelfInt */
  468. void   somDumpSelfInt(long level)
  469. {
  470.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDumpSelfInt)
  471.     (this,level);
  472. }
  473.  
  474.  
  475. /* method: somtSetSymbolsOnEntry */
  476. long   somtSetSymbolsOnEntry(SOMTEmitC* emitter,
  477.         string prefix)
  478. {
  479.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtSetSymbolsOnEntry)
  480.     (this,emitter,prefix);
  481. }
  482.  
  483.  
  484. /* method: _get_somtEntryName */
  485. string   _get_somtEntryName()
  486. {
  487.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtEntryName)
  488.     (this);
  489. }
  490.  
  491.  
  492. /* method: _set_somtEntryName */
  493. void   _set_somtEntryName(string somtEntryName)
  494. {
  495.    SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_set_somtEntryName)
  496.     (this,somtEntryName);
  497. }
  498.  
  499.  
  500. /* method: _get_somtElementType */
  501. SOMTTypes   _get_somtElementType()
  502. {
  503.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtElementType)
  504.     (this);
  505. }
  506.  
  507.  
  508. /* method: _set_somtElementType */
  509. void   _set_somtElementType(SOMTTypes somtElementType)
  510. {
  511.    SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_set_somtElementType)
  512.     (this,somtElementType);
  513. }
  514.  
  515.  
  516. /* method: _get_somtElementTypeName */
  517. string   _get_somtElementTypeName()
  518. {
  519.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtElementTypeName)
  520.     (this);
  521. }
  522.  
  523.  
  524. /* method: _get_somtEntryComment */
  525. string   _get_somtEntryComment()
  526. {
  527.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtEntryComment)
  528.     (this);
  529. }
  530.  
  531.  
  532. /* method: _get_somtSourceLineNumber */
  533. unsigned long   _get_somtSourceLineNumber()
  534. {
  535.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtSourceLineNumber)
  536.     (this);
  537. }
  538.  
  539.  
  540. /* method: _get_somtTypeCode */
  541. TypeCode   _get_somtTypeCode()
  542. {
  543.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtTypeCode)
  544.     (this);
  545. }
  546.  
  547.  
  548. /* method: _get_somtIsReference */
  549. boolean   _get_somtIsReference()
  550. {
  551.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtIsReference)
  552.     (this);
  553. }
  554.  
  555.  
  556. /* method: _get_somtIDLScopedName */
  557. string   _get_somtIDLScopedName()
  558. {
  559.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtIDLScopedName)
  560.     (this);
  561. }
  562.  
  563.  
  564. /* method: _get_somtCScopedName */
  565. string   _get_somtCScopedName()
  566. {
  567.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,_get_somtCScopedName)
  568.     (this);
  569. }
  570.  
  571.  
  572. /* method: somtGetModifierValue */
  573. string   somtGetModifierValue(string modifierName)
  574. {
  575.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtGetModifierValue)
  576.     (this,modifierName);
  577. }
  578.  
  579.  
  580. /* method: somtGetFirstModifier */
  581. boolean   somtGetFirstModifier(string* modifierName,
  582.         string* modifierValue)
  583. {
  584.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtGetFirstModifier)
  585.     (this,modifierName,modifierValue);
  586. }
  587.  
  588.  
  589. /* method: somtGetNextModifier */
  590. boolean   somtGetNextModifier(string* modifierName,
  591.         string* modifierValue)
  592. {
  593.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtGetNextModifier)
  594.     (this,modifierName,modifierValue);
  595. }
  596.  
  597.  
  598. /* method: somtFormatModifier */
  599. long   somtFormatModifier(string buffer,
  600.         string name,
  601.         string value)
  602. {
  603.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtFormatModifier)
  604.     (this,buffer,name,value);
  605. }
  606.  
  607.  
  608. /* method: somtGetModifierList */
  609. long   somtGetModifierList(string buffer)
  610. {
  611.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtGetModifierList)
  612.     (this,buffer);
  613. }
  614.  
  615.  
  616. /* method: somtSetEntryStruct */
  617. void   somtSetEntryStruct(Entry* es)
  618. {
  619.    SOM_ResolveD(this,SOMTParameterEntryC,SOMTEntryC,somtSetEntryStruct)
  620.     (this,es);
  621. }
  622.  
  623.  
  624. /* method: somInit */
  625. void   somInit()
  626. {
  627.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somInit)
  628.     (this);
  629. }
  630.  
  631.  
  632. /* method: somUninit */
  633. void   somUninit()
  634. {
  635.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somUninit)
  636.     (this);
  637. }
  638.  
  639.  
  640. /* method: somPrintSelf */
  641. SOMObject*   somPrintSelf()
  642. {
  643.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somPrintSelf)
  644.     (this);
  645. }
  646.  
  647.  
  648. /* method: somDumpSelf */
  649. void   somDumpSelf(long level)
  650. {
  651.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDumpSelf)
  652.     (this,level);
  653. }
  654.  
  655.  
  656. /* initializer method: somDefaultInit */
  657. void   somDefaultInit(somInitCtrl* ctrl)
  658. {
  659.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultInit)
  660.     (this,ctrl);
  661. }
  662.  
  663.  
  664. /* method: somDestruct */
  665. void   somDestruct(octet doFree,
  666.         somDestructCtrl* ctrl)
  667. {
  668.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDestruct)
  669.     (this,doFree,ctrl);
  670. }
  671.  
  672.  
  673. /* initializer method: somDefaultCopyInit */
  674. void   somDefaultCopyInit(somInitCtrl* ctrl,
  675.         SOMObject* fromObj)
  676. {
  677.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultCopyInit)
  678.     (this,ctrl,fromObj);
  679. }
  680.  
  681.  
  682. /* method: somDefaultAssign */
  683. SOMTParameterEntryC*  somDefaultAssign(somAssignCtrl* ctrl,
  684.         SOMObject* fromObj)
  685. {
  686.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultAssign)
  687.     (this,ctrl,fromObj);
  688. }
  689.  
  690.  
  691. /* initializer method: somDefaultConstCopyInit */
  692. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  693.         SOMObject* fromObj)
  694. {
  695.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultConstCopyInit)
  696.     (this,ctrl,fromObj);
  697. }
  698.  
  699.  
  700. /* initializer method: somDefaultVCopyInit */
  701. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  702.         SOMObject* fromObj)
  703. {
  704.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultVCopyInit)
  705.     (this,ctrl,fromObj);
  706. }
  707.  
  708.  
  709. /* initializer method: somDefaultConstVCopyInit */
  710. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  711.         SOMObject* fromObj)
  712. {
  713.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultConstVCopyInit)
  714.     (this,ctrl,fromObj);
  715. }
  716.  
  717.  
  718. /* method: somDefaultConstAssign */
  719. SOMTParameterEntryC*  somDefaultConstAssign(somAssignCtrl* ctrl,
  720.         SOMObject* fromObj)
  721. {
  722.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultConstAssign)
  723.     (this,ctrl,fromObj);
  724. }
  725.  
  726.  
  727. /* method: somDefaultVAssign */
  728. SOMTParameterEntryC*  somDefaultVAssign(somAssignCtrl* ctrl,
  729.         SOMObject* fromObj)
  730. {
  731.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultVAssign)
  732.     (this,ctrl,fromObj);
  733. }
  734.  
  735.  
  736. /* method: somDefaultConstVAssign */
  737. SOMTParameterEntryC*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  738.         SOMObject* fromObj)
  739. {
  740.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDefaultConstVAssign)
  741.     (this,ctrl,fromObj);
  742. }
  743.  
  744.  
  745. /* method: somFree */
  746. void   somFree()
  747. {
  748.    SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somFree)
  749.     (this);
  750. }
  751.  
  752.  
  753. /* method: somGetClass */
  754. SOMClass*   somGetClass()
  755. {
  756.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somGetClass)
  757.     (this);
  758. }
  759.  
  760.  
  761. /* method: somGetClassName */
  762. string   somGetClassName()
  763. {
  764.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somGetClassName)
  765.     (this);
  766. }
  767.  
  768.  
  769. /* method: somGetSize */
  770. long   somGetSize()
  771. {
  772.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somGetSize)
  773.     (this);
  774. }
  775.  
  776.  
  777. /* method: somIsA */
  778. boolean   somIsA(SOMClass* aClassObj)
  779. {
  780.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somIsA)
  781.     (this,aClassObj);
  782. }
  783.  
  784.  
  785. /* method: somIsInstanceOf */
  786. boolean   somIsInstanceOf(SOMClass* aClassObj)
  787. {
  788.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somIsInstanceOf)
  789.     (this,aClassObj);
  790. }
  791.  
  792.  
  793. /* method: somRespondsTo */
  794. boolean   somRespondsTo(somId mId)
  795. {
  796.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somRespondsTo)
  797.     (this,mId);
  798. }
  799.  
  800.  
  801. /* va_list method: somDispatch */
  802. /* the va_list invocation form */
  803. boolean   SOMTParameterEntryC_somDispatch(somToken* retValue,
  804.         somId methodId,
  805.         va_list ap)
  806. {
  807. return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatch)
  808.     (this,retValue,methodId,ap);
  809. }
  810.  
  811. /* the varargs invocation form */
  812. boolean   somDispatch(somToken* retValue,
  813.         somId methodId,
  814.         ...)
  815. {
  816.    va_list ap;
  817.    va_start(ap, methodId);
  818.    boolean __somResult = 
  819.       SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somDispatch)
  820.     (this,retValue,methodId,ap);
  821.    va_end(ap);
  822.    return __somResult;
  823. }
  824.  
  825.  
  826. /* va_list method: somClassDispatch */
  827. /* the va_list invocation form */
  828. boolean   SOMTParameterEntryC_somClassDispatch(SOMClass* clsObj,
  829.         somToken* retValue,
  830.         somId methodId,
  831.         va_list ap)
  832. {
  833. return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somClassDispatch)
  834.     (this,clsObj,retValue,methodId,ap);
  835. }
  836.  
  837. /* the varargs invocation form */
  838. boolean   somClassDispatch(SOMClass* clsObj,
  839.         somToken* retValue,
  840.         somId methodId,
  841.         ...)
  842. {
  843.    va_list ap;
  844.    va_start(ap, methodId);
  845.    boolean __somResult = 
  846.       SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somClassDispatch)
  847.     (this,clsObj,retValue,methodId,ap);
  848.    va_end(ap);
  849.    return __somResult;
  850. }
  851.  
  852.  
  853. /* method: somCastObj */
  854. boolean   somCastObj(SOMClass* cls)
  855. {
  856.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somCastObj)
  857.     (this,cls);
  858. }
  859.  
  860.  
  861. /* method: somResetObj */
  862. boolean   somResetObj()
  863. {
  864.    return SOM_ResolveD(this,SOMTParameterEntryC,SOMObject,somResetObj)
  865.     (this);
  866. }
  867.  
  868.  
  869.  
  870. };   /* SOMTParameterEntryC */
  871.  
  872.  
  873.  
  874. #endif       /* SOM_SOMTParameterEntryC_xh */
  875.