home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / iogma.h < prev    next >
C/C++ Source or Header  |  1999-02-22  |  22KB  |  487 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: iogma.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emith: 2.47
  8.  */
  9.  
  10. /*
  11.  *    COMPONENT_NAME: somp
  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.  * 
  22.  */
  23.  
  24.  
  25. #ifndef SOM_SOMPIOGroupMgrAbstract_h
  26. #define SOM_SOMPIOGroupMgrAbstract_h
  27.  
  28.  
  29. #include <som.h>
  30.  
  31. /*
  32.  * -- This emitter treats Method Tokens as Thunks by default.
  33.  * -- Use the sc modifier "nothunks" to change this default
  34.  */
  35. #undef somresolve_
  36. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  37.  
  38. /*
  39.  * Define the class name as an object type
  40.  */
  41. #ifndef SOMPIOGroupMgrAbstract
  42. #define SOMPIOGroupMgrAbstract SOMObject
  43. #endif
  44. /*
  45.  *  This is the abstract class for an IO Group Manager object.  An IO Group
  46.  *  Manager is a class which is used by the Persistent Storage Manager
  47.  *  (see psm.sc) for storing/restoring persistent objects and groups of
  48.  *  persistent objects.
  49.  * 
  50.  *  An IO Group Manager object is the principle object which knows the
  51.  *  stored format of a group of objects stored on some media.  The IO
  52.  *  Group Manager does not know how an individual object is formatted.
  53.  *  The stored format of an individual object is known only by the
  54.  *  encoder/decoder for that object. The encoder/decoder for an object
  55.  *  is invoked by the IO Group Manager.
  56.  * 
  57.  *  There may be many IO Group Managers available in the system. The
  58.  *  IO Group Manager which is used to store a given persistent object is
  59.  *  determined by the persistent ID (see pid.sc) of that object. The
  60.  *  class name of the IO Group Manager is part of the persistent ID.
  61.  */
  62. #include <somobj.h>
  63.  
  64. /*
  65.  * Start of bindings for IDL types
  66.  */
  67.  
  68. #ifndef SOMClass
  69.     #define SOMClass SOMObject
  70. #endif /* SOMClass */
  71. #ifndef SOMPMediaInterfaceAbstract
  72.     #define SOMPMediaInterfaceAbstract SOMObject
  73. #endif /* SOMPMediaInterfaceAbstract */
  74. #ifndef SOMPIOGroup
  75.     #define SOMPIOGroup SOMObject
  76. #endif /* SOMPIOGroup */
  77. #ifndef SOMPPersistentId
  78.     #define SOMPPersistentId SOMObject
  79. #endif /* SOMPPersistentId */
  80. #ifndef SOMPPersistentObject
  81.     #define SOMPPersistentObject SOMObject
  82. #endif /* SOMPPersistentObject */
  83.  
  84. /*
  85.  * End of bindings for IDL types.
  86.  */
  87.  
  88. #define SOMPIOGroupMgrAbstract_MajorVersion 2
  89. #define SOMPIOGroupMgrAbstract_MinorVersion 1
  90.  
  91. /*
  92.  * External name shortening if required
  93.  */
  94. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  95. #define SOMPIOGroupMgrAbstractNewClass c
  96. #pragma linkage(c, system)
  97. #define SOMPIOGroupMgrAbstractClassData d
  98. #define SOMPIOGroupMgrAbstractCClassData x
  99. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  100. /*--------------Migration------------*/
  101. #define SOMPIOGroupMgrAbstract_classObj SOMPIOGroupMgrAbstractClassData.classObject
  102. #define _SOMPIOGroupMgrAbstract SOMPIOGroupMgrAbstract_classObj
  103.  
  104. /*
  105.  * Declare the class creation procedure
  106.  */
  107. SOMEXTERN SOMClass * SOMLINK SOMPIOGroupMgrAbstractNewClass(integer4 somtmajorVersion,
  108.         integer4 somtminorVersion);
  109. #pragma linkage(SOMPIOGroupMgrAbstractNewClass, system)
  110.  
  111. /*
  112.  * Declare the class data structure
  113.  */
  114. SOMEXTERN struct SOMPIOGroupMgrAbstractClassDataStructure {
  115.     SOMClass *classObject;
  116.     somMToken sompNewMediaInterface;
  117.     somMToken sompGetMediaInterface;
  118.     somMToken sompFreeMediaInterface;
  119.     somMToken sompInstantiateMediaInterface;
  120.     somMToken sompWriteGroup;
  121.     somMToken sompReadGroup;
  122.     somMToken sompReadObjectData;
  123.     somMToken sompGroupExists;
  124.     somMToken sompObjectInGroup;
  125.     somMToken sompMediaFormatOk;
  126.     somMToken sompDeleteObjectFromGroup;
  127. } SOMDLINK SOMPIOGroupMgrAbstractClassData;
  128.  
  129. /*
  130.  * Declare the C specific class data structure
  131.  */
  132. SOMEXTERN struct SOMPIOGroupMgrAbstractCClassDataStructure {
  133.     somMethodTabs parentMtab;
  134.     somDToken instanceDataToken;
  135. } SOMDLINK SOMPIOGroupMgrAbstractCClassData;
  136.  
  137. /*
  138.  * New and Renew macros for SOMPIOGroupMgrAbstract
  139.  */
  140. #define SOMPIOGroupMgrAbstractNew() \
  141.    ( _SOMPIOGroupMgrAbstract ? \
  142.     _somNew(_SOMPIOGroupMgrAbstract) \
  143.     : ( SOMPIOGroupMgrAbstractNewClass(\
  144.         SOMPIOGroupMgrAbstract_MajorVersion, \
  145.         SOMPIOGroupMgrAbstract_MinorVersion),\
  146.        _somNew(_SOMPIOGroupMgrAbstract)))
  147. #define SOMPIOGroupMgrAbstractRenew(buf) \
  148.    ( _SOMPIOGroupMgrAbstract ? \
  149.     _somRenew(_SOMPIOGroupMgrAbstract, buf) \
  150.     : ( SOMPIOGroupMgrAbstractNewClass(\
  151.         SOMPIOGroupMgrAbstract_MajorVersion, \
  152.         SOMPIOGroupMgrAbstract_MinorVersion),\
  153.        _somRenew(_SOMPIOGroupMgrAbstract, buf)))
  154.  
  155. /*
  156.  * New Method: sompNewMediaInterface
  157.  */
  158. typedef void   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompNewMediaInterface(SOMPIOGroupMgrAbstract *somSelf, Environment *ev, 
  159.         string IOInfo);
  160. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompNewMediaInterface, system)
  161. typedef somTP_SOMPIOGroupMgrAbstract_sompNewMediaInterface *somTD_SOMPIOGroupMgrAbstract_sompNewMediaInterface;
  162. /*
  163.  *  Gets a new Media Interface for this IO Group Mgr and prepares it
  164.  *  for I/O.  This method must be called prior to calling any of the
  165.  *  other methods of this class since other methods rely on the media
  166.  *  interface.
  167.  */
  168. #define somMD_SOMPIOGroupMgrAbstract_sompNewMediaInterface "::SOMPIOGroupMgrAbstract::sompNewMediaInterface"
  169. #define SOMPIOGroupMgrAbstract_sompNewMediaInterface(somSelf,ev,IOInfo) \
  170.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompNewMediaInterface) \
  171.     (somSelf,ev,IOInfo))
  172. #ifndef SOMGD_sompNewMediaInterface
  173.     #if (defined(_sompNewMediaInterface) || defined(__sompNewMediaInterface))
  174.         #undef _sompNewMediaInterface
  175.         #undef __sompNewMediaInterface
  176.         #define SOMGD_sompNewMediaInterface 1
  177.     #else
  178.         #define _sompNewMediaInterface SOMPIOGroupMgrAbstract_sompNewMediaInterface
  179.     #endif /* _sompNewMediaInterface */
  180. #endif /* SOMGD_sompNewMediaInterface */
  181.  
  182. /*
  183.  * New Method: sompGetMediaInterface
  184.  */
  185. typedef SOMPMediaInterfaceAbstract*   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompGetMediaInterface(SOMPIOGroupMgrAbstract *somSelf, Environment *ev);
  186. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompGetMediaInterface, system)
  187. typedef somTP_SOMPIOGroupMgrAbstract_sompGetMediaInterface *somTD_SOMPIOGroupMgrAbstract_sompGetMediaInterface;
  188. /*
  189.  *  Returns this group's media interface. If sompNewMediaInterface
  190.  *  has not been called first, this method returns NULL.
  191.  *  This method also returns NULL after (the last) sompFreeMediaInterface.
  192.  */
  193. #define somMD_SOMPIOGroupMgrAbstract_sompGetMediaInterface "::SOMPIOGroupMgrAbstract::sompGetMediaInterface"
  194. #define SOMPIOGroupMgrAbstract_sompGetMediaInterface(somSelf,ev) \
  195.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompGetMediaInterface) \
  196.     (somSelf,ev))
  197. #ifndef SOMGD_sompGetMediaInterface
  198.     #if (defined(_sompGetMediaInterface) || defined(__sompGetMediaInterface))
  199.         #undef _sompGetMediaInterface
  200.         #undef __sompGetMediaInterface
  201.         #define SOMGD_sompGetMediaInterface 1
  202.     #else
  203.         #define _sompGetMediaInterface SOMPIOGroupMgrAbstract_sompGetMediaInterface
  204.     #endif /* _sompGetMediaInterface */
  205. #endif /* SOMGD_sompGetMediaInterface */
  206.  
  207. /*
  208.  * New Method: sompFreeMediaInterface
  209.  */
  210. typedef void   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompFreeMediaInterface(SOMPIOGroupMgrAbstract *somSelf, Environment *ev);
  211. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompFreeMediaInterface, system)
  212. typedef somTP_SOMPIOGroupMgrAbstract_sompFreeMediaInterface *somTD_SOMPIOGroupMgrAbstract_sompFreeMediaInterface;
  213. /*
  214.  *  Frees this IOGroup Mgr's media interface.
  215.  */
  216. #define somMD_SOMPIOGroupMgrAbstract_sompFreeMediaInterface "::SOMPIOGroupMgrAbstract::sompFreeMediaInterface"
  217. #define SOMPIOGroupMgrAbstract_sompFreeMediaInterface(somSelf,ev) \
  218.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompFreeMediaInterface) \
  219.     (somSelf,ev))
  220. #ifndef SOMGD_sompFreeMediaInterface
  221.     #if (defined(_sompFreeMediaInterface) || defined(__sompFreeMediaInterface))
  222.         #undef _sompFreeMediaInterface
  223.         #undef __sompFreeMediaInterface
  224.         #define SOMGD_sompFreeMediaInterface 1
  225.     #else
  226.         #define _sompFreeMediaInterface SOMPIOGroupMgrAbstract_sompFreeMediaInterface
  227.     #endif /* _sompFreeMediaInterface */
  228. #endif /* SOMGD_sompFreeMediaInterface */
  229.  
  230. /*
  231.  * New Method: sompInstantiateMediaInterface
  232.  */
  233. typedef SOMPMediaInterfaceAbstract*   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompInstantiateMediaInterface(SOMPIOGroupMgrAbstract *somSelf, Environment *ev);
  234. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompInstantiateMediaInterface, system)
  235. typedef somTP_SOMPIOGroupMgrAbstract_sompInstantiateMediaInterface *somTD_SOMPIOGroupMgrAbstract_sompInstantiateMediaInterface;
  236. /*
  237.  *  Override this if you want to change the MediaInterface
  238.  *  this IOGroupMananager uses to write out IO Groups.
  239.  */
  240. #define somMD_SOMPIOGroupMgrAbstract_sompInstantiateMediaInterface "::SOMPIOGroupMgrAbstract::sompInstantiateMediaInterface"
  241. #define SOMPIOGroupMgrAbstract_sompInstantiateMediaInterface(somSelf,ev) \
  242.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompInstantiateMediaInterface) \
  243.     (somSelf,ev))
  244. #ifndef SOMGD_sompInstantiateMediaInterface
  245.     #if (defined(_sompInstantiateMediaInterface) || defined(__sompInstantiateMediaInterface))
  246.         #undef _sompInstantiateMediaInterface
  247.         #undef __sompInstantiateMediaInterface
  248.         #define SOMGD_sompInstantiateMediaInterface 1
  249.     #else
  250.         #define _sompInstantiateMediaInterface SOMPIOGroupMgrAbstract_sompInstantiateMediaInterface
  251.     #endif /* _sompInstantiateMediaInterface */
  252. #endif /* SOMGD_sompInstantiateMediaInterface */
  253.  
  254. /*
  255.  * New Method: sompWriteGroup
  256.  */
  257. typedef boolean   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompWriteGroup(SOMPIOGroupMgrAbstract *somSelf, Environment *ev, 
  258.         SOMPPersistentObject* thisPo);
  259. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompWriteGroup, system)
  260. typedef somTP_SOMPIOGroupMgrAbstract_sompWriteGroup *somTD_SOMPIOGroupMgrAbstract_sompWriteGroup;
  261. /*
  262.  *  Store the object and everything grouped with it or just store
  263.  *  the object given. It is the choice of the IO Group Mgr implementor.
  264.  * 
  265.  *  To store the object and all the others grouped with,
  266.  *  invoke _sompGetIOGroup(thisPo) to get the group and then
  267.  *  iterate across the group, storing each object. If a group is
  268.  *  stored this method must return TRUE.
  269.  *  Note:
  270.  *  Only objects in the IO Group which have been marked as "dirty"
  271.  *  should be stored. (See po.idl for methods to get the state of a
  272.  *  persistent object.)
  273.  * 
  274.  *  If the IO Group Mgr is written to store only the given object,
  275.  *  this method must return FALSE.
  276.  * 
  277.  *  OLD INTERFACE...
  278.  *  void sompWriteGroup(in SOMPIOGroup thisGroup) raises(SOMPError::sompException);
  279.  */
  280. #define somMD_SOMPIOGroupMgrAbstract_sompWriteGroup "::SOMPIOGroupMgrAbstract::sompWriteGroup"
  281. #define SOMPIOGroupMgrAbstract_sompWriteGroup(somSelf,ev,thisPo) \
  282.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompWriteGroup) \
  283.     (somSelf,ev,thisPo))
  284. #ifndef SOMGD_sompWriteGroup
  285.     #if (defined(_sompWriteGroup) || defined(__sompWriteGroup))
  286.         #undef _sompWriteGroup
  287.         #undef __sompWriteGroup
  288.         #define SOMGD_sompWriteGroup 1
  289.     #else
  290.         #define _sompWriteGroup SOMPIOGroupMgrAbstract_sompWriteGroup
  291.     #endif /* _sompWriteGroup */
  292. #endif /* SOMGD_sompWriteGroup */
  293.  
  294. /*
  295.  * New Method: sompReadGroup
  296.  */
  297. typedef SOMPPersistentObject*   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompReadGroup(SOMPIOGroupMgrAbstract *somSelf, Environment *ev, 
  298.         SOMPPersistentId* objectID);
  299. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompReadGroup, system)
  300. typedef somTP_SOMPIOGroupMgrAbstract_sompReadGroup *somTD_SOMPIOGroupMgrAbstract_sompReadGroup;
  301. /*
  302.  *  At the very least, this method will instantiate the persistent object which
  303.  *  is specified by the given objectID and return that object. This method
  304.  *  may be implemented to instantiate all the objects stored in the same group
  305.  *  as the specified object. It may restore objects and mark them as
  306.  *  SOMP_STATE_STABLE, however this is typically accomplished via the
  307.  *  sompReadObjectData.
  308.  *  The returned object is NULL if an error is encountered and
  309.  *  an exception is raised.
  310.  *  OLD INTERFACE...
  311.  *  SOMPIOGroup sompReadGroup(in string IOInfo) raises(SOMPError::sompException);
  312.  *  Restores the IO Group with the name given in <IOInfo>.
  313.  *  The instance data of the objects in the IO Group is not read.
  314.  *  The returned IO Group is NULL if an error is encountered and
  315.  *  an exception is raised.
  316.  */
  317. #define somMD_SOMPIOGroupMgrAbstract_sompReadGroup "::SOMPIOGroupMgrAbstract::sompReadGroup"
  318. #define SOMPIOGroupMgrAbstract_sompReadGroup(somSelf,ev,objectID) \
  319.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompReadGroup) \
  320.     (somSelf,ev,objectID))
  321. #ifndef SOMGD_sompReadGroup
  322.     #if (defined(_sompReadGroup) || defined(__sompReadGroup))
  323.         #undef _sompReadGroup
  324.         #undef __sompReadGroup
  325.         #define SOMGD_sompReadGroup 1
  326.     #else
  327.         #define _sompReadGroup SOMPIOGroupMgrAbstract_sompReadGroup
  328.     #endif /* _sompReadGroup */
  329. #endif /* SOMGD_sompReadGroup */
  330.  
  331. /*
  332.  * New Method: sompReadObjectData
  333.  */
  334. typedef void   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompReadObjectData(SOMPIOGroupMgrAbstract *somSelf, Environment *ev, 
  335.         SOMPPersistentObject* thisPo);
  336. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompReadObjectData, system)
  337. typedef somTP_SOMPIOGroupMgrAbstract_sompReadObjectData *somTD_SOMPIOGroupMgrAbstract_sompReadObjectData;
  338. /*
  339.  *  Read the given persistent object's data from storage.
  340.  */
  341. #define somMD_SOMPIOGroupMgrAbstract_sompReadObjectData "::SOMPIOGroupMgrAbstract::sompReadObjectData"
  342. #define SOMPIOGroupMgrAbstract_sompReadObjectData(somSelf,ev,thisPo) \
  343.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompReadObjectData) \
  344.     (somSelf,ev,thisPo))
  345. #ifndef SOMGD_sompReadObjectData
  346.     #if (defined(_sompReadObjectData) || defined(__sompReadObjectData))
  347.         #undef _sompReadObjectData
  348.         #undef __sompReadObjectData
  349.         #define SOMGD_sompReadObjectData 1
  350.     #else
  351.         #define _sompReadObjectData SOMPIOGroupMgrAbstract_sompReadObjectData
  352.     #endif /* _sompReadObjectData */
  353. #endif /* SOMGD_sompReadObjectData */
  354.  
  355. /*
  356.  * New Method: sompGroupExists
  357.  */
  358. typedef boolean   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompGroupExists(SOMPIOGroupMgrAbstract *somSelf, Environment *ev, 
  359.         string IOInfo);
  360. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompGroupExists, system)
  361. typedef somTP_SOMPIOGroupMgrAbstract_sompGroupExists *somTD_SOMPIOGroupMgrAbstract_sompGroupExists;
  362. /*
  363.  *  See if the IO Group with the name given in <IOInfo> exists in persistent
  364.  *  storage. Returns TRUE if group exists, FALSE otherwise.
  365.  */
  366. #define somMD_SOMPIOGroupMgrAbstract_sompGroupExists "::SOMPIOGroupMgrAbstract::sompGroupExists"
  367. #define SOMPIOGroupMgrAbstract_sompGroupExists(somSelf,ev,IOInfo) \
  368.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompGroupExists) \
  369.     (somSelf,ev,IOInfo))
  370. #ifndef SOMGD_sompGroupExists
  371.     #if (defined(_sompGroupExists) || defined(__sompGroupExists))
  372.         #undef _sompGroupExists
  373.         #undef __sompGroupExists
  374.         #define SOMGD_sompGroupExists 1
  375.     #else
  376.         #define _sompGroupExists SOMPIOGroupMgrAbstract_sompGroupExists
  377.     #endif /* _sompGroupExists */
  378. #endif /* SOMGD_sompGroupExists */
  379.  
  380. /*
  381.  * New Method: sompObjectInGroup
  382.  */
  383. typedef boolean   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompObjectInGroup(SOMPIOGroupMgrAbstract *somSelf, Environment *ev, 
  384.         SOMPPersistentId* objectID);
  385. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompObjectInGroup, system)
  386. typedef somTP_SOMPIOGroupMgrAbstract_sompObjectInGroup *somTD_SOMPIOGroupMgrAbstract_sompObjectInGroup;
  387. /*
  388.  *  See if the persisent object specified by <objectID> is in the group.
  389.  *  If so, return TRUE, otherwise FALSE.
  390.  */
  391. #define somMD_SOMPIOGroupMgrAbstract_sompObjectInGroup "::SOMPIOGroupMgrAbstract::sompObjectInGroup"
  392. #define SOMPIOGroupMgrAbstract_sompObjectInGroup(somSelf,ev,objectID) \
  393.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompObjectInGroup) \
  394.     (somSelf,ev,objectID))
  395. #ifndef SOMGD_sompObjectInGroup
  396.     #if (defined(_sompObjectInGroup) || defined(__sompObjectInGroup))
  397.         #undef _sompObjectInGroup
  398.         #undef __sompObjectInGroup
  399.         #define SOMGD_sompObjectInGroup 1
  400.     #else
  401.         #define _sompObjectInGroup SOMPIOGroupMgrAbstract_sompObjectInGroup
  402.     #endif /* _sompObjectInGroup */
  403. #endif /* SOMGD_sompObjectInGroup */
  404.  
  405. /*
  406.  * New Method: sompMediaFormatOk
  407.  */
  408. typedef boolean   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompMediaFormatOk(SOMPIOGroupMgrAbstract *somSelf, Environment *ev, 
  409.         string mediaFormatName);
  410. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompMediaFormatOk, system)
  411. typedef somTP_SOMPIOGroupMgrAbstract_sompMediaFormatOk *somTD_SOMPIOGroupMgrAbstract_sompMediaFormatOk;
  412. /*
  413.  *  Check to see if the given mediaFormatName is supported by this
  414.  *  IO Group Manager. If it is, returns TRUE, otherwise returns FALSE.
  415.  */
  416. #define somMD_SOMPIOGroupMgrAbstract_sompMediaFormatOk "::SOMPIOGroupMgrAbstract::sompMediaFormatOk"
  417. #define SOMPIOGroupMgrAbstract_sompMediaFormatOk(somSelf,ev,mediaFormatName) \
  418.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompMediaFormatOk) \
  419.     (somSelf,ev,mediaFormatName))
  420. #ifndef SOMGD_sompMediaFormatOk
  421.     #if (defined(_sompMediaFormatOk) || defined(__sompMediaFormatOk))
  422.         #undef _sompMediaFormatOk
  423.         #undef __sompMediaFormatOk
  424.         #define SOMGD_sompMediaFormatOk 1
  425.     #else
  426.         #define _sompMediaFormatOk SOMPIOGroupMgrAbstract_sompMediaFormatOk
  427.     #endif /* _sompMediaFormatOk */
  428. #endif /* SOMGD_sompMediaFormatOk */
  429.  
  430. /*
  431.  * New Method: sompDeleteObjectFromGroup
  432.  */
  433. typedef void   SOMLINK somTP_SOMPIOGroupMgrAbstract_sompDeleteObjectFromGroup(SOMPIOGroupMgrAbstract *somSelf, Environment *ev, 
  434.         SOMPPersistentId* objectID);
  435. #pragma linkage(somTP_SOMPIOGroupMgrAbstract_sompDeleteObjectFromGroup, system)
  436. typedef somTP_SOMPIOGroupMgrAbstract_sompDeleteObjectFromGroup *somTD_SOMPIOGroupMgrAbstract_sompDeleteObjectFromGroup;
  437. /*
  438.  *  Delete the persisent object specified by <objectID>.
  439.  */
  440. #define somMD_SOMPIOGroupMgrAbstract_sompDeleteObjectFromGroup "::SOMPIOGroupMgrAbstract::sompDeleteObjectFromGroup"
  441. #define SOMPIOGroupMgrAbstract_sompDeleteObjectFromGroup(somSelf,ev,objectID) \
  442.     (SOM_Resolve(somSelf, SOMPIOGroupMgrAbstract, sompDeleteObjectFromGroup) \
  443.     (somSelf,ev,objectID))
  444. #ifndef SOMGD_sompDeleteObjectFromGroup
  445.     #if (defined(_sompDeleteObjectFromGroup) || defined(__sompDeleteObjectFromGroup))
  446.         #undef _sompDeleteObjectFromGroup
  447.         #undef __sompDeleteObjectFromGroup
  448.         #define SOMGD_sompDeleteObjectFromGroup 1
  449.     #else
  450.         #define _sompDeleteObjectFromGroup SOMPIOGroupMgrAbstract_sompDeleteObjectFromGroup
  451.     #endif /* _sompDeleteObjectFromGroup */
  452. #endif /* SOMGD_sompDeleteObjectFromGroup */
  453. #ifndef SOM_DONT_USE_INHERITED_MACROS
  454. #define SOMPIOGroupMgrAbstract_somDefaultInit SOMObject_somDefaultInit
  455. #define SOMPIOGroupMgrAbstract_somDestruct SOMObject_somDestruct
  456. #define SOMPIOGroupMgrAbstract_somDefaultCopyInit SOMObject_somDefaultCopyInit
  457. #define SOMPIOGroupMgrAbstract_somDefaultAssign SOMObject_somDefaultAssign
  458. #define SOMPIOGroupMgrAbstract_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  459. #define SOMPIOGroupMgrAbstract_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  460. #define SOMPIOGroupMgrAbstract_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  461. #define SOMPIOGroupMgrAbstract_somDefaultConstAssign SOMObject_somDefaultConstAssign
  462. #define SOMPIOGroupMgrAbstract_somDefaultVAssign SOMObject_somDefaultVAssign
  463. #define SOMPIOGroupMgrAbstract_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  464. #define SOMPIOGroupMgrAbstract_somInit SOMObject_somInit
  465. #define SOMPIOGroupMgrAbstract_somFree SOMObject_somFree
  466. #define SOMPIOGroupMgrAbstract_somUninit SOMObject_somUninit
  467. #define SOMPIOGroupMgrAbstract_somGetClass SOMObject_somGetClass
  468. #define SOMPIOGroupMgrAbstract_somGetClassName SOMObject_somGetClassName
  469. #define SOMPIOGroupMgrAbstract_somGetSize SOMObject_somGetSize
  470. #define SOMPIOGroupMgrAbstract_somIsA SOMObject_somIsA
  471. #define SOMPIOGroupMgrAbstract_somIsInstanceOf SOMObject_somIsInstanceOf
  472. #define SOMPIOGroupMgrAbstract_somRespondsTo SOMObject_somRespondsTo
  473. #define SOMPIOGroupMgrAbstract_somDispatch SOMObject_somDispatch
  474. #define SOMPIOGroupMgrAbstract_somClassDispatch SOMObject_somClassDispatch
  475. #define SOMPIOGroupMgrAbstract_somCastObj SOMObject_somCastObj
  476. #define SOMPIOGroupMgrAbstract_somResetObj SOMObject_somResetObj
  477. #define SOMPIOGroupMgrAbstract_somDispatchV SOMObject_somDispatchV
  478. #define SOMPIOGroupMgrAbstract_somDispatchL SOMObject_somDispatchL
  479. #define SOMPIOGroupMgrAbstract_somDispatchA SOMObject_somDispatchA
  480. #define SOMPIOGroupMgrAbstract_somDispatchD SOMObject_somDispatchD
  481. #define SOMPIOGroupMgrAbstract_somPrintSelf SOMObject_somPrintSelf
  482. #define SOMPIOGroupMgrAbstract_somDumpSelf SOMObject_somDumpSelf
  483. #define SOMPIOGroupMgrAbstract_somDumpSelfInt SOMObject_somDumpSelfInt
  484. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  485.  
  486. #endif       /* SOM_SOMPIOGroupMgrAbstract_h */
  487.