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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: h:\somnt\include\TSIDENT.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: Development
  7.  *     SOM Emitter emitxh.dll: Development
  8.  */
  9.  
  10. #ifndef SOM_Module_h3a5csomnt5cinclude5cTSIDENT_TSPortability_defined
  11. #define SOM_Module_h3a5csomnt5cinclude5cTSIDENT_TSPortability_defined 1
  12. #include <som.xh>
  13.  
  14. /*
  15.  * Start of user-defined types:
  16.  */
  17. class SOMClass;
  18. class SOMObject;
  19. class TSPortability_Sender;
  20. class TSPortability_Receiver;
  21. class TSPortability_Sender;
  22. class TSPortability_Receiver;
  23.  
  24. /*
  25.  * End of user-defined types.
  26.  */
  27. #endif /* SOM_Module_h3a5csomnt5cinclude5cTSIDENT_TSPortability_defined */
  28.  
  29. #ifndef SOM_TSIdentification_xh
  30. #define SOM_TSIdentification_xh
  31.  
  32. class TSIdentification;
  33.  
  34. #define TSIdentification_MajorVersion 2
  35. #define TSIdentification_MinorVersion 1
  36.  
  37. /* C++ SOM defs */
  38. #include <somcls.xh>
  39. #include <somcm.xh>
  40.  
  41. /* C++ parent defs */
  42. #ifndef SOM_SOMObject_xh
  43. #include <somobj.xh>
  44. #endif
  45.  
  46. /*
  47.  * C++ metaclass def
  48.  */
  49. #include <snglicls.xh>
  50.  
  51. #ifndef TSIdentification_API
  52. #define TSIdentification_API
  53. /*
  54.  * -- The Class API
  55.  */
  56.  
  57. /*
  58.  * Start of user-defined types:
  59.  */
  60. #define ex_TSIdentification_NotAvailable "::TSIdentification::NotAvailable"
  61. #define TSIdentification_NotAvailable NULL
  62. #define ex_TSIdentification_AlreadyIdentified "::TSIdentification::AlreadyIdentified"
  63. #define TSIdentification_AlreadyIdentified NULL
  64.  
  65. #ifndef SOM_DONT_USE_SHORT_NAMES
  66. #ifndef SOMTGD_ex_NotAvailable
  67.     #ifdef ex_NotAvailable
  68.         #undef ex_NotAvailable
  69.         #define SOMTGD_ex_NotAvailable 1
  70.     #else
  71.         #define ex_NotAvailable ex_TSIdentification_NotAvailable
  72.     #endif /* ex_NotAvailable */
  73. #endif /* SOMTGD_ex_NotAvailable */
  74. #ifndef SOMTGD_NotAvailable
  75.     #ifdef NotAvailable
  76.         #undef NotAvailable
  77.         #define SOMTGD_NotAvailable 1
  78.     #else
  79.         #define NotAvailable TSIdentification_NotAvailable
  80.     #endif /* NotAvailable */
  81. #endif /* SOMTGD_NotAvailable */
  82. #ifndef SOMTGD_ex_AlreadyIdentified
  83.     #ifdef ex_AlreadyIdentified
  84.         #undef ex_AlreadyIdentified
  85.         #define SOMTGD_ex_AlreadyIdentified 1
  86.     #else
  87.         #define ex_AlreadyIdentified ex_TSIdentification_AlreadyIdentified
  88.     #endif /* ex_AlreadyIdentified */
  89. #endif /* SOMTGD_ex_AlreadyIdentified */
  90. #ifndef SOMTGD_AlreadyIdentified
  91.     #ifdef AlreadyIdentified
  92.         #undef AlreadyIdentified
  93.         #define SOMTGD_AlreadyIdentified 1
  94.     #else
  95.         #define AlreadyIdentified TSIdentification_AlreadyIdentified
  96.     #endif /* AlreadyIdentified */
  97. #endif /* SOMTGD_AlreadyIdentified */
  98. #endif /* SOM_DONT_USE_SHORT_NAMES */
  99.  
  100. /*
  101.  * End of user-defined types.
  102.  */
  103.  
  104. /* A procedure to create the TSIdentification Class */
  105. class SOMMSingleInstance;
  106. SOMEXTERN
  107. #if (defined(SOM_Module_TSIDENT_Source) || defined(TSIdentification_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_TSIdentification))
  108. WIN32_DLLEXPORT
  109. #else
  110. WIN32_DLLIMPORT
  111. #endif
  112. SOMMSingleInstance * SOMLINK TSIdentificationNewClass(
  113.         integer4,
  114.         integer4 );
  115.  
  116. /* The API to the TSIdentification class object, and the methods it introduces. */
  117. SOMEXTERN struct TSIdentificationClassDataStructure {
  118.     SOMMSingleInstance *classObject;
  119.     somMToken identify_sender;
  120.     somMToken identify_receiver;
  121.     somMToken _get_sender;
  122.     somMToken _get_receiver;
  123. }
  124. #if !(defined(SOM_Module_TSIDENT_Source) || defined(TSIdentification_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_TSIdentification))
  125. WIN32_DLLIMPORT
  126. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  127. WIN32_DLLEXPORT
  128. #endif
  129. SOMDLINK TSIdentificationClassData;
  130. #define _TSIdentification TSIdentificationClassData.classObject
  131.  
  132. /* The API to parentMtabs for TSIdentification, and the instance data it introduces. */
  133. SOMEXTERN struct TSIdentificationCClassDataStructure {
  134.     somMethodTabs parentMtab;
  135.     somDToken              instanceDataToken;
  136. }
  137. #if !(defined(SOM_Module_TSIDENT_Source) || defined(TSIdentification_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_TSIdentification))
  138. WIN32_DLLIMPORT
  139. #elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
  140. WIN32_DLLEXPORT
  141. #endif
  142. SOMDLINK TSIdentificationCClassData;
  143.  
  144. /*
  145.  * -- Typedefs for TSIdentification Method Procedures
  146.  */
  147. extern "C" {
  148. typedef void   SOMLINK somTP_TSIdentification_identify_sender(TSIdentification *somSelf, Environment *ev,
  149.         TSPortability_Sender* sender);
  150. typedef somTP_TSIdentification_identify_sender *somTD_TSIdentification_identify_sender;
  151. typedef void   SOMLINK somTP_TSIdentification_identify_receiver(TSIdentification *somSelf, Environment *ev,
  152.         TSPortability_Receiver* receiver);
  153. typedef somTP_TSIdentification_identify_receiver *somTD_TSIdentification_identify_receiver;
  154. typedef TSPortability_Sender*   SOMLINK somTP_TSIdentification__get_sender(TSIdentification *somSelf, Environment *ev);
  155. typedef somTP_TSIdentification__get_sender *somTD_TSIdentification__get_sender;
  156. typedef TSPortability_Receiver*   SOMLINK somTP_TSIdentification__get_receiver(TSIdentification *somSelf, Environment *ev);
  157. typedef somTP_TSIdentification__get_receiver *somTD_TSIdentification__get_receiver;
  158.  
  159. /*
  160.  * -- Typedefs for Reintroduced Wrapper Methods
  161.  */
  162. typedef void   SOMLINK somTP_TSIdentification_somDefaultInit(TSIdentification *somSelf,
  163.         somInitCtrl* ctrl);
  164. typedef somTP_TSIdentification_somDefaultInit *somTD_TSIdentification_somDefaultInit;
  165. typedef void   SOMLINK somTP_TSIdentification_somDestruct(TSIdentification *somSelf,
  166.         octet doFree,
  167.         somDestructCtrl* ctrl);
  168. typedef somTP_TSIdentification_somDestruct *somTD_TSIdentification_somDestruct;
  169. typedef void   SOMLINK somTP_TSIdentification_somDefaultCopyInit(TSIdentification *somSelf,
  170.         somInitCtrl* ctrl,
  171.         SOMObject* fromObj);
  172. typedef somTP_TSIdentification_somDefaultCopyInit *somTD_TSIdentification_somDefaultCopyInit;
  173. typedef TSIdentification*   SOMLINK somTP_TSIdentification_somDefaultAssign(TSIdentification *somSelf,
  174.         somAssignCtrl* ctrl,
  175.         SOMObject* fromObj);
  176. typedef somTP_TSIdentification_somDefaultAssign *somTD_TSIdentification_somDefaultAssign;
  177. typedef void   SOMLINK somTP_TSIdentification_somDefaultConstCopyInit(TSIdentification *somSelf,
  178.         somInitCtrl* ctrl,
  179.         SOMObject* fromObj);
  180. typedef somTP_TSIdentification_somDefaultConstCopyInit *somTD_TSIdentification_somDefaultConstCopyInit;
  181. typedef void   SOMLINK somTP_TSIdentification_somDefaultVCopyInit(TSIdentification *somSelf,
  182.         somInitCtrl* ctrl,
  183.         SOMObject* fromObj);
  184. typedef somTP_TSIdentification_somDefaultVCopyInit *somTD_TSIdentification_somDefaultVCopyInit;
  185. typedef void   SOMLINK somTP_TSIdentification_somDefaultConstVCopyInit(TSIdentification *somSelf,
  186.         somInitCtrl* ctrl,
  187.         SOMObject* fromObj);
  188. typedef somTP_TSIdentification_somDefaultConstVCopyInit *somTD_TSIdentification_somDefaultConstVCopyInit;
  189. typedef TSIdentification*   SOMLINK somTP_TSIdentification_somDefaultConstAssign(TSIdentification *somSelf,
  190.         somAssignCtrl* ctrl,
  191.         SOMObject* fromObj);
  192. typedef somTP_TSIdentification_somDefaultConstAssign *somTD_TSIdentification_somDefaultConstAssign;
  193. typedef TSIdentification*   SOMLINK somTP_TSIdentification_somDefaultVAssign(TSIdentification *somSelf,
  194.         somAssignCtrl* ctrl,
  195.         SOMObject* fromObj);
  196. typedef somTP_TSIdentification_somDefaultVAssign *somTD_TSIdentification_somDefaultVAssign;
  197. typedef TSIdentification*   SOMLINK somTP_TSIdentification_somDefaultConstVAssign(TSIdentification *somSelf,
  198.         somAssignCtrl* ctrl,
  199.         SOMObject* fromObj);
  200. typedef somTP_TSIdentification_somDefaultConstVAssign *somTD_TSIdentification_somDefaultConstVAssign;
  201. typedef void   SOMLINK somTP_TSIdentification_somInit(TSIdentification *somSelf);
  202. typedef somTP_TSIdentification_somInit *somTD_TSIdentification_somInit;
  203. typedef void   SOMLINK somTP_TSIdentification_somFree(TSIdentification *somSelf);
  204. typedef somTP_TSIdentification_somFree *somTD_TSIdentification_somFree;
  205. typedef void   SOMLINK somTP_TSIdentification_somUninit(TSIdentification *somSelf);
  206. typedef somTP_TSIdentification_somUninit *somTD_TSIdentification_somUninit;
  207. typedef SOMMSingleInstance*   SOMLINK somTP_TSIdentification_somGetClass(TSIdentification *somSelf);
  208. typedef somTP_TSIdentification_somGetClass *somTD_TSIdentification_somGetClass;
  209. typedef string   SOMLINK somTP_TSIdentification_somGetClassName(TSIdentification *somSelf);
  210. typedef somTP_TSIdentification_somGetClassName *somTD_TSIdentification_somGetClassName;
  211. typedef long   SOMLINK somTP_TSIdentification_somGetSize(TSIdentification *somSelf);
  212. typedef somTP_TSIdentification_somGetSize *somTD_TSIdentification_somGetSize;
  213. typedef boolean   SOMLINK somTP_TSIdentification_somIsA(TSIdentification *somSelf,
  214.         SOMClass* aClassObj);
  215. typedef somTP_TSIdentification_somIsA *somTD_TSIdentification_somIsA;
  216. typedef boolean   SOMLINK somTP_TSIdentification_somIsInstanceOf(TSIdentification *somSelf,
  217.         SOMClass* aClassObj);
  218. typedef somTP_TSIdentification_somIsInstanceOf *somTD_TSIdentification_somIsInstanceOf;
  219. typedef boolean   SOMLINK somTP_TSIdentification_somRespondsTo(TSIdentification *somSelf,
  220.         somId mId);
  221. typedef somTP_TSIdentification_somRespondsTo *somTD_TSIdentification_somRespondsTo;
  222. typedef boolean   SOMLINK somTP_TSIdentification_somDispatch(TSIdentification *somSelf,
  223.         somToken* retValue,
  224.         somId methodId,
  225.         va_list ap);
  226. typedef somTP_TSIdentification_somDispatch *somTD_TSIdentification_somDispatch;
  227. typedef boolean   SOMLINK somTP_TSIdentification_somClassDispatch(TSIdentification *somSelf,
  228.         SOMClass* clsObj,
  229.         somToken* retValue,
  230.         somId methodId,
  231.         va_list ap);
  232. typedef somTP_TSIdentification_somClassDispatch *somTD_TSIdentification_somClassDispatch;
  233. typedef boolean   SOMLINK somTP_TSIdentification_somCastObj(TSIdentification *somSelf,
  234.         SOMClass* cls);
  235. typedef somTP_TSIdentification_somCastObj *somTD_TSIdentification_somCastObj;
  236. typedef boolean   SOMLINK somTP_TSIdentification_somResetObj(TSIdentification *somSelf);
  237. typedef somTP_TSIdentification_somResetObj *somTD_TSIdentification_somResetObj;
  238. typedef SOMObject*   SOMLINK somTP_TSIdentification_somPrintSelf(TSIdentification *somSelf);
  239. typedef somTP_TSIdentification_somPrintSelf *somTD_TSIdentification_somPrintSelf;
  240. typedef void   SOMLINK somTP_TSIdentification_somDumpSelf(TSIdentification *somSelf,
  241.         long level);
  242. typedef somTP_TSIdentification_somDumpSelf *somTD_TSIdentification_somDumpSelf;
  243. typedef void   SOMLINK somTP_TSIdentification_somDumpSelfInt(TSIdentification *somSelf,
  244.         long level);
  245. typedef somTP_TSIdentification_somDumpSelfInt *somTD_TSIdentification_somDumpSelfInt;
  246. }
  247.  
  248. #endif /* TSIdentification_API */
  249.  
  250.  
  251. /*
  252.  * -- This emitter believes that method thunks are unavailable,
  253.  * -- so somResolve will be called.
  254.  */
  255. #undef somresolve_
  256. #define somresolve_(obj,mToken) (somResolve(obj,mToken))
  257.  
  258. /*
  259.  * -- The C++ Wrapper Class for TSIdentification
  260.  */
  261. class TSIdentification : public SOMObject
  262. {
  263. public:
  264.  
  265. // TSIdentification::new creates the class object if necessary, and then uses somNewNoInit
  266. // to allocate memory and create the object. Initialization is in ctors.
  267. void *operator new(size_t)
  268. {
  269.    if (!_TSIdentification) TSIdentificationNewClass(TSIdentification_MajorVersion,TSIdentification_MinorVersion);
  270.    return (void*)
  271.       SOM_Resolve(_TSIdentification,SOMClass,somNewNoInit)
  272.          ((SOMClass *)((void*)_TSIdentification));
  273. }
  274.  
  275. // TSIdentification::delete uses somDestruct.
  276. void operator delete(void * obj)
  277. {
  278.    if (obj && *(void**)obj) {
  279.       SOM_Resolve(obj,SOMObject,somDestruct)
  280.          ((SOMObject*)obj, 1, 0);
  281.    }
  282. }
  283.  
  284. TSIdentification()
  285. {
  286.    if (*(void**)this != 
  287.        ((somParentMtabStructPtr)
  288.         (TSIdentificationCClassData.parentMtab))->mtab)
  289.       return;
  290.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  291. }
  292.  
  293. TSIdentification(TSIdentification* fromObj)
  294. {
  295.    if (*(void**)this != 
  296.        ((somParentMtabStructPtr)
  297.         (TSIdentificationCClassData.parentMtab))->mtab)
  298.       return;
  299.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  300. }
  301.  
  302. TSIdentification(const TSIdentification* fromObj)
  303. {
  304.    if (*(void**)this != 
  305.        ((somParentMtabStructPtr)
  306.         (TSIdentificationCClassData.parentMtab))->mtab)
  307.       return;
  308.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  309. }
  310.  
  311.  
  312. /* method: identify_sender */
  313. void   identify_sender(Environment *ev,
  314.         TSPortability_Sender* sender)
  315. {
  316.    SOM_ResolveD(this,TSIdentification,TSIdentification,identify_sender)
  317.     (this, ev,sender);
  318. }
  319.  
  320.  
  321. /* method: identify_receiver */
  322. void   identify_receiver(Environment *ev,
  323.         TSPortability_Receiver* receiver)
  324. {
  325.    SOM_ResolveD(this,TSIdentification,TSIdentification,identify_receiver)
  326.     (this, ev,receiver);
  327. }
  328.  
  329.  
  330. /* method: _get_sender */
  331. TSPortability_Sender*   _get_sender(Environment *ev)
  332. {
  333.    return SOM_ResolveD(this,TSIdentification,TSIdentification,_get_sender)
  334.     (this, ev);
  335. }
  336.  
  337.  
  338. /* method: _get_receiver */
  339. TSPortability_Receiver*   _get_receiver(Environment *ev)
  340. {
  341.    return SOM_ResolveD(this,TSIdentification,TSIdentification,_get_receiver)
  342.     (this, ev);
  343. }
  344.  
  345.  
  346. /*
  347.  * Reintroduce inherited methods
  348.  */
  349.  
  350. /* initializer method: somDefaultInit */
  351. void   somDefaultInit(somInitCtrl* ctrl)
  352. {
  353.    SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultInit)
  354.     (this,ctrl);
  355. }
  356.  
  357.  
  358. /* method: somDestruct */
  359. void   somDestruct(octet doFree,
  360.         somDestructCtrl* ctrl)
  361. {
  362.    SOM_ResolveD(this,TSIdentification,SOMObject,somDestruct)
  363.     (this,doFree,ctrl);
  364. }
  365.  
  366.  
  367. /* initializer method: somDefaultCopyInit */
  368. void   somDefaultCopyInit(somInitCtrl* ctrl,
  369.         SOMObject* fromObj)
  370. {
  371.    SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultCopyInit)
  372.     (this,ctrl,fromObj);
  373. }
  374.  
  375.  
  376. /* method: somDefaultAssign */
  377. TSIdentification*  somDefaultAssign(somAssignCtrl* ctrl,
  378.         SOMObject* fromObj)
  379. {
  380.    return SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultAssign)
  381.     (this,ctrl,fromObj);
  382. }
  383.  
  384.  
  385. /* initializer method: somDefaultConstCopyInit */
  386. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  387.         SOMObject* fromObj)
  388. {
  389.    SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultConstCopyInit)
  390.     (this,ctrl,fromObj);
  391. }
  392.  
  393.  
  394. /* initializer method: somDefaultVCopyInit */
  395. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  396.         SOMObject* fromObj)
  397. {
  398.    SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultVCopyInit)
  399.     (this,ctrl,fromObj);
  400. }
  401.  
  402.  
  403. /* initializer method: somDefaultConstVCopyInit */
  404. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  405.         SOMObject* fromObj)
  406. {
  407.    SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultConstVCopyInit)
  408.     (this,ctrl,fromObj);
  409. }
  410.  
  411.  
  412. /* method: somDefaultConstAssign */
  413. TSIdentification*  somDefaultConstAssign(somAssignCtrl* ctrl,
  414.         SOMObject* fromObj)
  415. {
  416.    return SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultConstAssign)
  417.     (this,ctrl,fromObj);
  418. }
  419.  
  420.  
  421. /* method: somDefaultVAssign */
  422. TSIdentification*  somDefaultVAssign(somAssignCtrl* ctrl,
  423.         SOMObject* fromObj)
  424. {
  425.    return SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultVAssign)
  426.     (this,ctrl,fromObj);
  427. }
  428.  
  429.  
  430. /* method: somDefaultConstVAssign */
  431. TSIdentification*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  432.         SOMObject* fromObj)
  433. {
  434.    return SOM_ResolveD(this,TSIdentification,SOMObject,somDefaultConstVAssign)
  435.     (this,ctrl,fromObj);
  436. }
  437.  
  438.  
  439. /* method: somInit */
  440. void   somInit()
  441. {
  442.    SOM_ResolveD(this,TSIdentification,SOMObject,somInit)
  443.     (this);
  444. }
  445.  
  446.  
  447. /* method: somFree */
  448. void   somFree()
  449. {
  450.    SOM_ResolveD(this,TSIdentification,SOMObject,somFree)
  451.     (this);
  452. }
  453.  
  454.  
  455. /* method: somUninit */
  456. void   somUninit()
  457. {
  458.    SOM_ResolveD(this,TSIdentification,SOMObject,somUninit)
  459.     (this);
  460. }
  461.  
  462.  
  463. /* method: somGetClass */
  464. SOMMSingleInstance*  somGetClass()
  465. {
  466.    return SOM_ResolveD(this,TSIdentification,SOMObject,somGetClass)
  467.     (this);
  468. }
  469.  
  470.  
  471. /* method: somGetClassName */
  472. string   somGetClassName()
  473. {
  474.    return SOM_ResolveD(this,TSIdentification,SOMObject,somGetClassName)
  475.     (this);
  476. }
  477.  
  478.  
  479. /* method: somGetSize */
  480. long   somGetSize()
  481. {
  482.    return SOM_ResolveD(this,TSIdentification,SOMObject,somGetSize)
  483.     (this);
  484. }
  485.  
  486.  
  487. /* method: somIsA */
  488. boolean   somIsA(SOMClass* aClassObj)
  489. {
  490.    return SOM_ResolveD(this,TSIdentification,SOMObject,somIsA)
  491.     (this,aClassObj);
  492. }
  493.  
  494.  
  495. /* method: somIsInstanceOf */
  496. boolean   somIsInstanceOf(SOMClass* aClassObj)
  497. {
  498.    return SOM_ResolveD(this,TSIdentification,SOMObject,somIsInstanceOf)
  499.     (this,aClassObj);
  500. }
  501.  
  502.  
  503. /* method: somRespondsTo */
  504. boolean   somRespondsTo(somId mId)
  505. {
  506.    return SOM_ResolveD(this,TSIdentification,SOMObject,somRespondsTo)
  507.     (this,mId);
  508. }
  509.  
  510.  
  511. /* va_list method: somDispatch */
  512. /* the va_list invocation form */
  513. boolean   TSIdentification_somDispatch(somToken* retValue,
  514.         somId methodId,
  515.         va_list ap)
  516. {
  517. return SOM_ResolveD(this,TSIdentification,SOMObject,somDispatch)
  518.     (this,retValue,methodId,ap);
  519. }
  520.  
  521. /* the varargs invocation form */
  522. boolean   somDispatch(somToken* retValue,
  523.         somId methodId,
  524.         ...)
  525. {
  526.    va_list ap;
  527.    va_start(ap, methodId);
  528.    boolean __somResult = 
  529.       SOM_ResolveD(this,TSIdentification,SOMObject,somDispatch)
  530.     (this,retValue,methodId,ap);
  531.    va_end(ap);
  532.    return __somResult;
  533. }
  534.  
  535.  
  536. /* va_list method: somClassDispatch */
  537. /* the va_list invocation form */
  538. boolean   TSIdentification_somClassDispatch(SOMClass* clsObj,
  539.         somToken* retValue,
  540.         somId methodId,
  541.         va_list ap)
  542. {
  543. return SOM_ResolveD(this,TSIdentification,SOMObject,somClassDispatch)
  544.     (this,clsObj,retValue,methodId,ap);
  545. }
  546.  
  547. /* the varargs invocation form */
  548. boolean   somClassDispatch(SOMClass* clsObj,
  549.         somToken* retValue,
  550.         somId methodId,
  551.         ...)
  552. {
  553.    va_list ap;
  554.    va_start(ap, methodId);
  555.    boolean __somResult = 
  556.       SOM_ResolveD(this,TSIdentification,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.    return SOM_ResolveD(this,TSIdentification,SOMObject,somCastObj)
  567.     (this,cls);
  568. }
  569.  
  570.  
  571. /* method: somResetObj */
  572. boolean   somResetObj()
  573. {
  574.    return SOM_ResolveD(this,TSIdentification,SOMObject,somResetObj)
  575.     (this);
  576. }
  577.  
  578.  
  579. /* method: somPrintSelf */
  580. SOMObject*   somPrintSelf()
  581. {
  582.    return SOM_ResolveD(this,TSIdentification,SOMObject,somPrintSelf)
  583.     (this);
  584. }
  585.  
  586.  
  587. /* method: somDumpSelf */
  588. void   somDumpSelf(long level)
  589. {
  590.    SOM_ResolveD(this,TSIdentification,SOMObject,somDumpSelf)
  591.     (this,level);
  592. }
  593.  
  594.  
  595. /* method: somDumpSelfInt */
  596. void   somDumpSelfInt(long level)
  597. {
  598.    SOM_ResolveD(this,TSIdentification,SOMObject,somDumpSelfInt)
  599.     (this,level);
  600. }
  601.  
  602.  
  603.  
  604. };   /* TSIdentification */
  605.  
  606.  
  607.  
  608. #endif       /* SOM_TSIdentification_xh */
  609.