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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: keycpjw.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emitxh: 2.47
  8.  */
  9.  
  10. /*
  11.  * Public definition of class.
  12.  */
  13.  
  14.  
  15. #ifndef SOM_dictKeyCharPjw_xh
  16. #define SOM_dictKeyCharPjw_xh
  17.  
  18. class dictKeyCharPjw;
  19.  
  20. #define dictKeyCharPjw_MajorVersion 0
  21. #define dictKeyCharPjw_MinorVersion 0
  22.  
  23. /* C++ SOM defs */
  24. #include <somcls.xh>
  25. #include <somcm.xh>
  26.  
  27. /* C++ parent defs */
  28. #ifndef SOM_SOMObject_xh
  29. #include <somobj.xh>
  30. #endif
  31.  
  32. #ifndef dictKeyCharPjw_API
  33. #define dictKeyCharPjw_API
  34. /*
  35.  * -- The Class API
  36.  */
  37.  
  38. /*
  39.  * Start of bindings for IDL types
  40.  */
  41.  
  42. class SOMClass;
  43. class SOMObject;
  44.  
  45. /*
  46.  * End of bindings for IDL types.
  47.  */
  48.  
  49. /* A procedure to create the dictKeyCharPjw Class */
  50. SOMEXTERN SOMClass * SOMLINK dictKeyCharPjwNewClass(
  51.         integer4 majorVersion,
  52.         integer4 minorVersion);
  53.  
  54. /* The API to the dictKeyCharPjw class object, and the methods it introduces. */
  55. SOMEXTERN struct dictKeyCharPjwClassDataStructure {
  56.     SOMClass *classObject;
  57. } SOMDLINK dictKeyCharPjwClassData;
  58. #define _dictKeyCharPjw dictKeyCharPjwClassData.classObject
  59.  
  60. /* The API to parentMtabs for dictKeyCharPjw, and the instance data it introduces. */
  61. SOMEXTERN struct dictKeyCharPjwCClassDataStructure {
  62.     somMethodTabs parentMtab;
  63.     somDToken              instanceDataToken;
  64. } SOMDLINK dictKeyCharPjwCClassData;
  65.  
  66. /*
  67.  * -- Typedefs for dictKeyCharPjw Method Procedures
  68.  */
  69. SOMEXTERN {
  70.  
  71. /*
  72.  * -- Typedefs for Reintroduced Wrapper Methods
  73.  */
  74. typedef void   SOMLINK somTP_dictKeyCharPjw_somDefaultInit(dictKeyCharPjw *somSelf, 
  75.         som3InitCtrl* ctrl);
  76. typedef somTP_dictKeyCharPjw_somDefaultInit *somTD_dictKeyCharPjw_somDefaultInit;
  77. typedef void   SOMLINK somTP_dictKeyCharPjw_somDestruct(dictKeyCharPjw *somSelf, 
  78.         octet doFree, 
  79.         som3DestructCtrl* ctrl);
  80. typedef somTP_dictKeyCharPjw_somDestruct *somTD_dictKeyCharPjw_somDestruct;
  81. typedef void   SOMLINK somTP_dictKeyCharPjw_somDefaultCopyInit(dictKeyCharPjw *somSelf, 
  82.         som3InitCtrl* ctrl, 
  83.         SOMObject* fromObj);
  84. typedef somTP_dictKeyCharPjw_somDefaultCopyInit *somTD_dictKeyCharPjw_somDefaultCopyInit;
  85. typedef dictKeyCharPjw*   SOMLINK somTP_dictKeyCharPjw_somDefaultAssign(dictKeyCharPjw *somSelf, 
  86.         som3AssignCtrl* ctrl, 
  87.         SOMObject* fromObj);
  88. typedef somTP_dictKeyCharPjw_somDefaultAssign *somTD_dictKeyCharPjw_somDefaultAssign;
  89. typedef void   SOMLINK somTP_dictKeyCharPjw_somDefaultConstCopyInit(dictKeyCharPjw *somSelf, 
  90.         som3InitCtrl* ctrl, 
  91.         SOMObject* fromObj);
  92. typedef somTP_dictKeyCharPjw_somDefaultConstCopyInit *somTD_dictKeyCharPjw_somDefaultConstCopyInit;
  93. typedef void   SOMLINK somTP_dictKeyCharPjw_somDefaultVCopyInit(dictKeyCharPjw *somSelf, 
  94.         som3InitCtrl* ctrl, 
  95.         SOMObject* fromObj);
  96. typedef somTP_dictKeyCharPjw_somDefaultVCopyInit *somTD_dictKeyCharPjw_somDefaultVCopyInit;
  97. typedef void   SOMLINK somTP_dictKeyCharPjw_somDefaultConstVCopyInit(dictKeyCharPjw *somSelf, 
  98.         som3InitCtrl* ctrl, 
  99.         SOMObject* fromObj);
  100. typedef somTP_dictKeyCharPjw_somDefaultConstVCopyInit *somTD_dictKeyCharPjw_somDefaultConstVCopyInit;
  101. typedef dictKeyCharPjw*   SOMLINK somTP_dictKeyCharPjw_somDefaultConstAssign(dictKeyCharPjw *somSelf, 
  102.         som3AssignCtrl* ctrl, 
  103.         SOMObject* fromObj);
  104. typedef somTP_dictKeyCharPjw_somDefaultConstAssign *somTD_dictKeyCharPjw_somDefaultConstAssign;
  105. typedef dictKeyCharPjw*   SOMLINK somTP_dictKeyCharPjw_somDefaultVAssign(dictKeyCharPjw *somSelf, 
  106.         som3AssignCtrl* ctrl, 
  107.         SOMObject* fromObj);
  108. typedef somTP_dictKeyCharPjw_somDefaultVAssign *somTD_dictKeyCharPjw_somDefaultVAssign;
  109. typedef dictKeyCharPjw*   SOMLINK somTP_dictKeyCharPjw_somDefaultConstVAssign(dictKeyCharPjw *somSelf, 
  110.         som3AssignCtrl* ctrl, 
  111.         SOMObject* fromObj);
  112. typedef somTP_dictKeyCharPjw_somDefaultConstVAssign *somTD_dictKeyCharPjw_somDefaultConstVAssign;
  113. typedef void   SOMLINK somTP_dictKeyCharPjw_somInit(dictKeyCharPjw *somSelf);
  114. typedef somTP_dictKeyCharPjw_somInit *somTD_dictKeyCharPjw_somInit;
  115. typedef void   SOMLINK somTP_dictKeyCharPjw_somFree(dictKeyCharPjw *somSelf);
  116. typedef somTP_dictKeyCharPjw_somFree *somTD_dictKeyCharPjw_somFree;
  117. typedef void   SOMLINK somTP_dictKeyCharPjw_somUninit(dictKeyCharPjw *somSelf);
  118. typedef somTP_dictKeyCharPjw_somUninit *somTD_dictKeyCharPjw_somUninit;
  119. typedef SOMClass*   SOMLINK somTP_dictKeyCharPjw_somGetClass(dictKeyCharPjw *somSelf);
  120. typedef somTP_dictKeyCharPjw_somGetClass *somTD_dictKeyCharPjw_somGetClass;
  121. typedef string   SOMLINK somTP_dictKeyCharPjw_somGetClassName(dictKeyCharPjw *somSelf);
  122. typedef somTP_dictKeyCharPjw_somGetClassName *somTD_dictKeyCharPjw_somGetClassName;
  123. typedef long   SOMLINK somTP_dictKeyCharPjw_somGetSize(dictKeyCharPjw *somSelf);
  124. typedef somTP_dictKeyCharPjw_somGetSize *somTD_dictKeyCharPjw_somGetSize;
  125. typedef boolean   SOMLINK somTP_dictKeyCharPjw_somIsA(dictKeyCharPjw *somSelf, 
  126.         SOMClass* aClassObj);
  127. typedef somTP_dictKeyCharPjw_somIsA *somTD_dictKeyCharPjw_somIsA;
  128. typedef boolean   SOMLINK somTP_dictKeyCharPjw_somIsInstanceOf(dictKeyCharPjw *somSelf, 
  129.         SOMClass* aClassObj);
  130. typedef somTP_dictKeyCharPjw_somIsInstanceOf *somTD_dictKeyCharPjw_somIsInstanceOf;
  131. typedef boolean   SOMLINK somTP_dictKeyCharPjw_somRespondsTo(dictKeyCharPjw *somSelf, 
  132.         somId mId);
  133. typedef somTP_dictKeyCharPjw_somRespondsTo *somTD_dictKeyCharPjw_somRespondsTo;
  134. typedef boolean   SOMLINK somTP_dictKeyCharPjw_somDispatch(dictKeyCharPjw *somSelf, 
  135.         somToken* retValue, 
  136.         somId methodId, 
  137.         va_list ap);
  138. typedef somTP_dictKeyCharPjw_somDispatch *somTD_dictKeyCharPjw_somDispatch;
  139. typedef boolean   SOMLINK somTP_dictKeyCharPjw_somClassDispatch(dictKeyCharPjw *somSelf, 
  140.         SOMClass* clsObj, 
  141.         somToken* retValue, 
  142.         somId methodId, 
  143.         va_list ap);
  144. typedef somTP_dictKeyCharPjw_somClassDispatch *somTD_dictKeyCharPjw_somClassDispatch;
  145. typedef boolean   SOMLINK somTP_dictKeyCharPjw_somCastObj(dictKeyCharPjw *somSelf, 
  146.         SOMClass* cls);
  147. typedef somTP_dictKeyCharPjw_somCastObj *somTD_dictKeyCharPjw_somCastObj;
  148. typedef boolean   SOMLINK somTP_dictKeyCharPjw_somResetObj(dictKeyCharPjw *somSelf);
  149. typedef somTP_dictKeyCharPjw_somResetObj *somTD_dictKeyCharPjw_somResetObj;
  150. typedef void   SOMLINK somTP_dictKeyCharPjw_somDispatchV(dictKeyCharPjw *somSelf, 
  151.         somId methodId, 
  152.         somId descriptor, 
  153.         va_list ap);
  154. typedef somTP_dictKeyCharPjw_somDispatchV *somTD_dictKeyCharPjw_somDispatchV;
  155. typedef long   SOMLINK somTP_dictKeyCharPjw_somDispatchL(dictKeyCharPjw *somSelf, 
  156.         somId methodId, 
  157.         somId descriptor, 
  158.         va_list ap);
  159. typedef somTP_dictKeyCharPjw_somDispatchL *somTD_dictKeyCharPjw_somDispatchL;
  160. typedef void*   SOMLINK somTP_dictKeyCharPjw_somDispatchA(dictKeyCharPjw *somSelf, 
  161.         somId methodId, 
  162.         somId descriptor, 
  163.         va_list ap);
  164. typedef somTP_dictKeyCharPjw_somDispatchA *somTD_dictKeyCharPjw_somDispatchA;
  165. typedef double   SOMLINK somTP_dictKeyCharPjw_somDispatchD(dictKeyCharPjw *somSelf, 
  166.         somId methodId, 
  167.         somId descriptor, 
  168.         va_list ap);
  169. typedef somTP_dictKeyCharPjw_somDispatchD *somTD_dictKeyCharPjw_somDispatchD;
  170. typedef SOMObject*   SOMLINK somTP_dictKeyCharPjw_somPrintSelf(dictKeyCharPjw *somSelf);
  171. typedef somTP_dictKeyCharPjw_somPrintSelf *somTD_dictKeyCharPjw_somPrintSelf;
  172. typedef void   SOMLINK somTP_dictKeyCharPjw_somDumpSelf(dictKeyCharPjw *somSelf, 
  173.         long level);
  174. typedef somTP_dictKeyCharPjw_somDumpSelf *somTD_dictKeyCharPjw_somDumpSelf;
  175. typedef void   SOMLINK somTP_dictKeyCharPjw_somDumpSelfInt(dictKeyCharPjw *somSelf, 
  176.         long level);
  177. typedef somTP_dictKeyCharPjw_somDumpSelfInt *somTD_dictKeyCharPjw_somDumpSelfInt;
  178. }
  179.  
  180. #endif /* dictKeyCharPjw_API */
  181.  
  182.  
  183. /*
  184.  * -- This emitter treats Method Tokens as Thunks by default.
  185.  * -- Use the sc modifier "nothunks" to change this default
  186.  */
  187. #undef somresolve_
  188. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  189.  
  190. /*
  191.  * -- The C++ Wrapper Class for dictKeyCharPjw
  192.  */
  193. class dictKeyCharPjw : public SOMObject
  194. {
  195. public:
  196.  
  197. // dictKeyCharPjw::new creates the class object if necessary, and then uses somNewNoInit
  198. // to allocate memory and create the object. Initialization is in ctors.
  199. void *operator new(size_t)
  200. {
  201.    if (!_dictKeyCharPjw) dictKeyCharPjwNewClass(dictKeyCharPjw_MajorVersion,dictKeyCharPjw_MinorVersion);
  202.    return (void*)
  203.       SOM_Resolve(_dictKeyCharPjw,SOMClass,somNewNoInit)
  204.          ((SOMClass *)((void*)_dictKeyCharPjw));
  205. }
  206.  
  207. // dictKeyCharPjw::delete uses somDestruct.
  208. void operator delete(void * obj)
  209. {
  210.    if (obj && *(void**)obj) {
  211.       SOM_Resolve(obj,SOMObject,somFree)
  212.          ((SOMObject*)obj);
  213.    }
  214. }
  215.  
  216. dictKeyCharPjw& operator=(dictKeyCharPjw& fromObj)
  217. {
  218.    this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
  219.    return *this;
  220. }
  221.  
  222. dictKeyCharPjw()
  223. {
  224.    if (*(void**)this != 
  225.        ((somParentMtabStructPtr)
  226.         (dictKeyCharPjwCClassData.parentMtab))->mtab)
  227.       return;
  228.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  229. }
  230.  
  231. dictKeyCharPjw(dictKeyCharPjw* fromObj)
  232. {
  233.    if (*(void**)this != 
  234.        ((somParentMtabStructPtr)
  235.         (dictKeyCharPjwCClassData.parentMtab))->mtab)
  236.       return;
  237.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  238. }
  239.  
  240. #ifdef __IBMCPP__
  241. #pragma info(nocnv,nopar)
  242. #endif
  243. dictKeyCharPjw(const dictKeyCharPjw* fromObj)
  244. {
  245.    if (*(void**)this != 
  246.        ((somParentMtabStructPtr)
  247.         (dictKeyCharPjwCClassData.parentMtab))->mtab)
  248.       return;
  249.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  250. }
  251. #ifdef __IBMCPP__
  252. #pragma info(restore)
  253. #endif
  254.  
  255.  
  256. /*
  257.  * Reintroduce inherited methods
  258.  */
  259.  
  260. /* initializer method: somDefaultInit */
  261. void   somDefaultInit(som3InitCtrl* ctrl)
  262. {
  263. /*
  264.  *  A default initializer for a SOM object. Passing a null ctrl
  265.  *  indicates to the receiver that its class is the class of the
  266.  *  object being initialized, whereby the initializer will determine
  267.  *  an appropriate control structure.
  268.  */
  269.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultInit)
  270.     (this,ctrl);
  271. }
  272.  
  273.  
  274. /* method: somDestruct */
  275. void   somDestruct(octet doFree, 
  276.         som3DestructCtrl* ctrl)
  277. {
  278. /*
  279.  *  The default destructor for a SOM object. A nonzero <doFree>
  280.  *  indicates that the object storage should be freed by the
  281.  *  object's class (via somDeallocate) after uninitialization.
  282.  *  As with somDefaultInit, a null ctrl can be passed.
  283.  */
  284.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDestruct)
  285.     (this,doFree,ctrl);
  286. }
  287.  
  288.  
  289. /* initializer method: somDefaultCopyInit */
  290. void   somDefaultCopyInit(som3InitCtrl* ctrl, 
  291.         SOMObject* fromObj)
  292. {
  293. /*
  294.  *  A default copy constructor. Use this to make copies of objects for
  295.  *  calling methods with "by-value" argument semantics.
  296.  */
  297.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultCopyInit)
  298.     (this,ctrl,fromObj);
  299. }
  300.  
  301.  
  302. /* method: somDefaultAssign */
  303. dictKeyCharPjw*  somDefaultAssign(som3AssignCtrl* ctrl, 
  304.         SOMObject* fromObj)
  305. {
  306. /*
  307.  *  A default assignment operator. Use this to "assign" the state of one
  308.  *  object to another.
  309.  */
  310.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultAssign)
  311.     (this,ctrl,fromObj);
  312. }
  313.  
  314.  
  315. /* initializer method: somDefaultConstCopyInit */
  316. void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
  317.         SOMObject* fromObj)
  318. {
  319. /*
  320.  *  A default copy constructor that uses a const fromObj.
  321.  */
  322.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultConstCopyInit)
  323.     (this,ctrl,fromObj);
  324. }
  325.  
  326.  
  327. /* initializer method: somDefaultVCopyInit */
  328. void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
  329.         SOMObject* fromObj)
  330. {
  331. /*
  332.  *  A default copy constructor that uses a volatile fromObj.
  333.  */
  334.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultVCopyInit)
  335.     (this,ctrl,fromObj);
  336. }
  337.  
  338.  
  339. /* initializer method: somDefaultConstVCopyInit */
  340. void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
  341.         SOMObject* fromObj)
  342. {
  343. /*
  344.  *  A default copy constructor that uses a const volatile fromObj.
  345.  */
  346.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultConstVCopyInit)
  347.     (this,ctrl,fromObj);
  348. }
  349.  
  350.  
  351. /* method: somDefaultConstAssign */
  352. dictKeyCharPjw*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
  353.         SOMObject* fromObj)
  354. {
  355. /*
  356.  *  A default assignment operator that uses a const fromObj.
  357.  */
  358.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultConstAssign)
  359.     (this,ctrl,fromObj);
  360. }
  361.  
  362.  
  363. /* method: somDefaultVAssign */
  364. dictKeyCharPjw*  somDefaultVAssign(som3AssignCtrl* ctrl, 
  365.         SOMObject* fromObj)
  366. {
  367. /*
  368.  *  A default assignment operator that uses a volatile fromObj.
  369.  */
  370.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultVAssign)
  371.     (this,ctrl,fromObj);
  372. }
  373.  
  374.  
  375. /* method: somDefaultConstVAssign */
  376. dictKeyCharPjw*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
  377.         SOMObject* fromObj)
  378. {
  379. /*
  380.  *  A default assignment operator that uses a const volatile fromObj.
  381.  */
  382.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDefaultConstVAssign)
  383.     (this,ctrl,fromObj);
  384. }
  385.  
  386.  
  387. /* method: somInit */
  388. void   somInit()
  389. {
  390. /*
  391.  *  Obsolete but still supported. Override somDefaultInit instead of somInit.
  392.  */
  393.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somInit)
  394.     (this);
  395. }
  396.  
  397.  
  398. /* method: somFree */
  399. void   somFree()
  400. {
  401. /*
  402.  *  Use as directed by framework implementations.
  403.  */
  404.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somFree)
  405.     (this);
  406. }
  407.  
  408.  
  409. /* method: somUninit */
  410. void   somUninit()
  411. {
  412. /*
  413.  *  Obsolete but still supported. Override somDestruct instead of somUninit.
  414.  */
  415.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somUninit)
  416.     (this);
  417. }
  418.  
  419.  
  420. /* method: somGetClass */
  421. SOMClass*   somGetClass()
  422. {
  423. /*
  424.  *  Return the receiver's class.
  425.  */
  426.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somGetClass)
  427.     (this);
  428. }
  429.  
  430.  
  431. /* method: somGetClassName */
  432. string   somGetClassName()
  433. {
  434. /*
  435.  *  Return the name of the receiver's class.
  436.  */
  437.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somGetClassName)
  438.     (this);
  439. }
  440.  
  441.  
  442. /* method: somGetSize */
  443. long   somGetSize()
  444. {
  445. /*
  446.  *  Return the size of the receiver.
  447.  */
  448.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somGetSize)
  449.     (this);
  450. }
  451.  
  452.  
  453. /* method: somIsA */
  454. boolean   somIsA(SOMClass* aClassObj)
  455. {
  456. /*
  457.  *  Returns 1 (true) if the receiver responds to methods
  458.  *  introduced by <aClassObj>, and 0 (false) otherwise.
  459.  */
  460.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somIsA)
  461.     (this,aClassObj);
  462. }
  463.  
  464.  
  465. /* method: somIsInstanceOf */
  466. boolean   somIsInstanceOf(SOMClass* aClassObj)
  467. {
  468. /*
  469.  *  Returns 1 (true) if the receiver is an instance of
  470.  *  <aClassObj> and 0 (false) otherwise.
  471.  */
  472.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somIsInstanceOf)
  473.     (this,aClassObj);
  474. }
  475.  
  476.  
  477. /* method: somRespondsTo */
  478. boolean   somRespondsTo(somId mId)
  479. {
  480. /*
  481.  *  Returns 1 (true) if the indicated method can be invoked
  482.  *  on the receiver and 0 (false) otherwise.
  483.  */
  484.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somRespondsTo)
  485.     (this,mId);
  486. }
  487.  
  488.  
  489. /* va_list method: somDispatch */
  490.  
  491. /*
  492.  *  This method provides a generic, class-specific dispatch mechanism.
  493.  *  It accepts as input <retValue> a pointer to the memory area to be
  494.  *  loaded with the result of dispatching the method indicated by
  495.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  496.  *  on which the method is to be invoked as the first argument.
  497.  */
  498. /* the va_list invocation form */
  499. boolean   dictKeyCharPjw_somDispatch(somToken* retValue, 
  500.         somId methodId, 
  501.         va_list ap)
  502. {return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatch)
  503.     (this,retValue,methodId,ap);
  504. }
  505.  
  506. /* the varargs invocation form */
  507. boolean   somDispatch(somToken* retValue, 
  508.         somId methodId, 
  509.         ...)
  510. {
  511. /*
  512.  *  This method provides a generic, class-specific dispatch mechanism.
  513.  *  It accepts as input <retValue> a pointer to the memory area to be
  514.  *  loaded with the result of dispatching the method indicated by
  515.  *  <methodId> using the arguments in <ap>. <ap> contains the object
  516.  *  on which the method is to be invoked as the first argument.
  517.  */
  518.    va_list ap;
  519.    va_start(ap, methodId);
  520.    boolean __somResult = 
  521.       SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatch)
  522.     (this,retValue,methodId,ap);
  523.    va_end(ap);
  524.    return __somResult;
  525. }
  526.  
  527.  
  528. /* va_list method: somClassDispatch */
  529.  
  530. /*
  531.  *  Like somDispatch, but method resolution for static methods is done
  532.  *  according to the clsObj instance method table.
  533.  */
  534. /* the va_list invocation form */
  535. boolean   dictKeyCharPjw_somClassDispatch(SOMClass* clsObj, 
  536.         somToken* retValue, 
  537.         somId methodId, 
  538.         va_list ap)
  539. {return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somClassDispatch)
  540.     (this,clsObj,retValue,methodId,ap);
  541. }
  542.  
  543. /* the varargs invocation form */
  544. boolean   somClassDispatch(SOMClass* clsObj, 
  545.         somToken* retValue, 
  546.         somId methodId, 
  547.         ...)
  548. {
  549. /*
  550.  *  Like somDispatch, but method resolution for static methods is done
  551.  *  according to the clsObj instance method table.
  552.  */
  553.    va_list ap;
  554.    va_start(ap, methodId);
  555.    boolean __somResult = 
  556.       SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somClassDispatch)
  557.     (this,clsObj,retValue,methodId,ap);
  558.    va_end(ap);
  559.    return __somResult;
  560. }
  561.  
  562.  
  563. /* method: somCastObj */
  564. boolean   somCastObj(SOMClass* cls)
  565. {
  566. /*
  567.  *  cast the receiving object to cls (which must be an ancestor of the
  568.  *  objects true class. Returns true on success.
  569.  */
  570.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somCastObj)
  571.     (this,cls);
  572. }
  573.  
  574.  
  575. /* method: somResetObj */
  576. boolean   somResetObj()
  577. {
  578. /*
  579.  *  reset an object to its true class. Returns true always.
  580.  */
  581.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somResetObj)
  582.     (this);
  583. }
  584.  
  585.  
  586. /* va_list method: somDispatchV */
  587.  
  588. /*
  589.  *  Obsolete. Use somDispatch instead.
  590.  */
  591. /* the va_list invocation form */
  592. void   dictKeyCharPjw_somDispatchV(somId methodId, 
  593.         somId descriptor, 
  594.         va_list ap)
  595. {   SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatchV)
  596.     (this,methodId,descriptor,ap);
  597. }
  598.  
  599. /* the varargs invocation form */
  600. void   somDispatchV(somId methodId, 
  601.         somId descriptor, 
  602.         ...)
  603. {
  604. /*
  605.  *  Obsolete. Use somDispatch instead.
  606.  */
  607.    va_list ap;
  608.    va_start(ap, descriptor);
  609.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatchV)
  610.     (this,methodId,descriptor,ap);
  611.    va_end(ap);
  612. }
  613.  
  614.  
  615. /* va_list method: somDispatchL */
  616.  
  617. /*
  618.  *  Obsolete. Use somDispatch instead.
  619.  */
  620. /* the va_list invocation form */
  621. long   dictKeyCharPjw_somDispatchL(somId methodId, 
  622.         somId descriptor, 
  623.         va_list ap)
  624. {return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatchL)
  625.     (this,methodId,descriptor,ap);
  626. }
  627.  
  628. /* the varargs invocation form */
  629. long   somDispatchL(somId methodId, 
  630.         somId descriptor, 
  631.         ...)
  632. {
  633. /*
  634.  *  Obsolete. Use somDispatch instead.
  635.  */
  636.    va_list ap;
  637.    va_start(ap, descriptor);
  638.    long __somResult = 
  639.       SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatchL)
  640.     (this,methodId,descriptor,ap);
  641.    va_end(ap);
  642.    return __somResult;
  643. }
  644.  
  645.  
  646. /* va_list method: somDispatchA */
  647.  
  648. /*
  649.  *  Obsolete. Use somDispatch instead.
  650.  */
  651. /* the va_list invocation form */
  652. void*   dictKeyCharPjw_somDispatchA(somId methodId, 
  653.         somId descriptor, 
  654.         va_list ap)
  655. {return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatchA)
  656.     (this,methodId,descriptor,ap);
  657. }
  658.  
  659. /* the varargs invocation form */
  660. void*   somDispatchA(somId methodId, 
  661.         somId descriptor, 
  662.         ...)
  663. {
  664. /*
  665.  *  Obsolete. Use somDispatch instead.
  666.  */
  667.    va_list ap;
  668.    va_start(ap, descriptor);
  669.    void* __somResult = 
  670.       SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatchA)
  671.     (this,methodId,descriptor,ap);
  672.    va_end(ap);
  673.    return __somResult;
  674. }
  675.  
  676.  
  677. /* va_list method: somDispatchD */
  678.  
  679. /*
  680.  *  Obsolete. Use somDispatch instead.
  681.  */
  682. /* the va_list invocation form */
  683. double   dictKeyCharPjw_somDispatchD(somId methodId, 
  684.         somId descriptor, 
  685.         va_list ap)
  686. {return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatchD)
  687.     (this,methodId,descriptor,ap);
  688. }
  689.  
  690. /* the varargs invocation form */
  691. double   somDispatchD(somId methodId, 
  692.         somId descriptor, 
  693.         ...)
  694. {
  695. /*
  696.  *  Obsolete. Use somDispatch instead.
  697.  */
  698.    va_list ap;
  699.    va_start(ap, descriptor);
  700.    double __somResult = 
  701.       SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDispatchD)
  702.     (this,methodId,descriptor,ap);
  703.    va_end(ap);
  704.    return __somResult;
  705. }
  706.  
  707.  
  708. /* method: somPrintSelf */
  709. SOMObject*   somPrintSelf()
  710. {
  711. /*
  712.  *  Uses <SOMOutCharRoutine> to write a brief string with identifying
  713.  *  information about this object.  The default implementation just gives
  714.  *  the object's class name and its address in memory.
  715.  *  <self> is returned.
  716.  */
  717.    return SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somPrintSelf)
  718.     (this);
  719. }
  720.  
  721.  
  722. /* method: somDumpSelf */
  723. void   somDumpSelf(long level)
  724. {
  725. /*
  726.  *  Uses <SOMOutCharRoutine> to write a detailed description of this object
  727.  *  and its current state.
  728.  * 
  729.  *  <level> indicates the nesting level for describing compound objects
  730.  *  it must be greater than or equal to zero.  All lines in the
  731.  *  description will be preceeded by <2*level> spaces.
  732.  * 
  733.  *  This routine only actually writes the data that concerns the object
  734.  *  as a whole, such as class, and uses <somDumpSelfInt> to describe
  735.  *  the object's current state.  This approach allows readable
  736.  *  descriptions of compound objects to be constructed.
  737.  * 
  738.  *  Generally it is not necessary to override this method, if it is
  739.  *  overriden it generally must be completely replaced.
  740.  */
  741.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDumpSelf)
  742.     (this,level);
  743. }
  744.  
  745.  
  746. /* method: somDumpSelfInt */
  747. void   somDumpSelfInt(long level)
  748. {
  749. /*
  750.  *  Uses <SOMOutCharRoutine> to write in the current state of this object.
  751.  *  Generally this method will need to be overridden.  When overriding
  752.  *  it, begin by calling the parent class form of this method and then
  753.  *  write in a description of your class's instance data. This will
  754.  *  result in a description of all the object's instance data going
  755.  *  from its root ancestor class to its specific class.
  756.  */
  757.    SOM_ResolveD(this,dictKeyCharPjw,SOMObject,somDumpSelfInt)
  758.     (this,level);
  759. }
  760.  
  761.  
  762.  
  763. };   /* dictKeyCharPjw */
  764.  
  765.  
  766.  
  767. #endif       /* SOM_dictKeyCharPjw_xh */
  768.