home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / DOCMGR.XH < prev    next >
Text File  |  1997-02-28  |  37KB  |  1,258 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: F:\build\os2\ship\include\DocMgr.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emitxh: 2.47
  8.  */
  9.  
  10. #ifndef SOM_DocumentManager_xh
  11. #define SOM_DocumentManager_xh
  12.  
  13. class DocumentManager;
  14.  
  15. #define DocumentManager_MajorVersion 1
  16. #define DocumentManager_MinorVersion 0
  17.  
  18. /*
  19.  * Passthru lines: File: "C.xh", "before"
  20.  */
  21. #include <PlfmFile.h>
  22. #ifndef _ODTYPES_
  23. #include "ODTypes.h"
  24. #endif
  25. #ifndef _DRAFTREC_
  26. #include "DraftRec.h"
  27. #endif
  28.  
  29.  
  30. /* C++ SOM defs */
  31. #include <somcls.xh>
  32. #include <somcm.xh>
  33.  
  34. /* C++ parent defs */
  35. #ifndef SOM_somf_MLinkable_xh
  36. #include <mlink.xh>
  37. #endif
  38.  
  39. #ifndef DocumentManager_API
  40. #define DocumentManager_API
  41. /*
  42.  * -- The Class API
  43.  */
  44.  
  45. /*
  46.  * Start of bindings for IDL types
  47.  */
  48.  
  49. class SOMClass;
  50. class SOMObject;
  51. class ODFrame;
  52. class ODFacet;
  53. class ODPlatformCanvas;
  54. class DocumentManager;
  55. class ODSession;
  56. class ODContainer;
  57. class ODDocument;
  58. class ODDraft;
  59. class ODPart;
  60. class ODWindowState;
  61. class ODStorageUnit;
  62.  
  63. /*
  64.  * End of bindings for IDL types.
  65.  */
  66.  
  67. /* A procedure to create the DocumentManager Class */
  68. SOMEXTERN SOMClass * SOMLINK DocumentManagerNewClass(
  69.         integer4 majorVersion,
  70.         integer4 minorVersion);
  71.  
  72. /* The API to the DocumentManager class object, and the methods it introduces. */
  73. SOMEXTERN struct DocumentManagerClassDataStructure {
  74.     SOMClass *classObject;
  75.     somMToken Initialize;
  76.     somMToken OpenDocumentFromFile;
  77.     somMToken OpenDocumentFromMemory;
  78.     somMToken CreateDocumentInFile;
  79.     somMToken CreateDocumentInMemory;
  80.     somMToken CreateDocumentAsStationery;
  81.     somMToken GetDocument;
  82.     somMToken SaveDocument;
  83.     somMToken CloseDocument;
  84.     somMToken CloseWindow;
  85.     somMToken CreateDraft;
  86.     somMToken OpenDraft;
  87.     somMToken CloseDraft;
  88.     somMToken SaveDraft;
  89.     somMToken DeleteDraft;
  90.     somMToken GetLatestCreatedDraft;
  91.     somMToken GetDraft;
  92.     somMToken GetDraftList;
  93.     somMToken DeleteDraftList;
  94.     somMToken HasWriteAccess;
  95.     somMToken InternalizeHistory;
  96.     somMToken Revert;
  97.     somMToken SaveACopyAs;
  98.     somMToken GetFileName;
  99.     somMToken SetFileName;
  100.     somMToken GetPartKindName;
  101.     somMToken SetPartKindName;
  102.     somMToken reserved1;
  103.     somMToken reserved2;
  104.     somMToken reserved3;
  105.     somMToken reserved4;
  106.     somMToken reserved5;
  107.     somMToken reserved6;
  108.     somMToken reserved7;
  109.     somMToken reserved8;
  110.     somMToken reserved9;
  111.     somMToken reserved10;
  112.     somMToken reserved11;
  113.     somMToken reserved12;
  114.     somMToken reserved13;
  115.     somMToken reserved14;
  116.     somMToken reserved15;
  117.     somMToken reserved16;
  118.     somMToken reserved17;
  119.     somMToken reserved18;
  120.     somMToken reserved19;
  121. } SOMDLINK DocumentManagerClassData;
  122. #define _DocumentManager DocumentManagerClassData.classObject
  123.  
  124. /* The API to parentMtabs for DocumentManager, and the instance data it introduces. */
  125. SOMEXTERN struct DocumentManagerCClassDataStructure {
  126.     somMethodTabs parentMtab;
  127.     somDToken              instanceDataToken;
  128. } SOMDLINK DocumentManagerCClassData;
  129.  
  130. /*
  131.  * -- Typedefs for DocumentManager Method Procedures
  132.  */
  133. SOMEXTERN {
  134. typedef void   SOMLINK somTP_DocumentManager_Initialize(DocumentManager *somSelf, Environment *ev, 
  135.         ODSession* session);
  136. typedef somTP_DocumentManager_Initialize *somTD_DocumentManager_Initialize;
  137. typedef char*   SOMLINK somTP_DocumentManager_OpenDocumentFromFile(DocumentManager *somSelf, Environment *ev, 
  138.         char* fileName, 
  139.         ODUShort actionFlag);
  140. typedef somTP_DocumentManager_OpenDocumentFromFile *somTD_DocumentManager_OpenDocumentFromFile;
  141. typedef char*   SOMLINK somTP_DocumentManager_OpenDocumentFromMemory(DocumentManager *somSelf, Environment *ev, 
  142.         ODHandle handle);
  143. typedef somTP_DocumentManager_OpenDocumentFromMemory *somTD_DocumentManager_OpenDocumentFromMemory;
  144. typedef void   SOMLINK somTP_DocumentManager_CreateDocumentInFile(DocumentManager *somSelf, Environment *ev, 
  145.         ODType kindName, 
  146.         char* fileName);
  147. typedef somTP_DocumentManager_CreateDocumentInFile *somTD_DocumentManager_CreateDocumentInFile;
  148. typedef void   SOMLINK somTP_DocumentManager_CreateDocumentInMemory(DocumentManager *somSelf, Environment *ev, 
  149.         ODType kindName);
  150. typedef somTP_DocumentManager_CreateDocumentInMemory *somTD_DocumentManager_CreateDocumentInMemory;
  151. typedef void   SOMLINK somTP_DocumentManager_CreateDocumentAsStationery(DocumentManager *somSelf, Environment *ev, 
  152.         ODType kindName, 
  153.         char* fileName);
  154. typedef somTP_DocumentManager_CreateDocumentAsStationery *somTD_DocumentManager_CreateDocumentAsStationery;
  155. typedef ODDocument*   SOMLINK somTP_DocumentManager_GetDocument(DocumentManager *somSelf, Environment *ev);
  156. typedef somTP_DocumentManager_GetDocument *somTD_DocumentManager_GetDocument;
  157. typedef void   SOMLINK somTP_DocumentManager_SaveDocument(DocumentManager *somSelf, Environment *ev);
  158. typedef somTP_DocumentManager_SaveDocument *somTD_DocumentManager_SaveDocument;
  159. typedef void   SOMLINK somTP_DocumentManager_CloseDocument(DocumentManager *somSelf, Environment *ev, 
  160.         ODULong saveOption);
  161. typedef somTP_DocumentManager_CloseDocument *somTD_DocumentManager_CloseDocument;
  162. typedef ODBoolean   SOMLINK somTP_DocumentManager_CloseWindow(DocumentManager *somSelf, Environment *ev, 
  163.         ODPlatformWindow pwindow, 
  164.         ODBoolean confirm);
  165. typedef somTP_DocumentManager_CloseWindow *somTD_DocumentManager_CloseWindow;
  166. typedef void   SOMLINK somTP_DocumentManager_CreateDraft(DocumentManager *somSelf, Environment *ev, 
  167.         ODULong draftNum, 
  168.         ODIText* modUser, 
  169.         ODIText* comment);
  170. typedef somTP_DocumentManager_CreateDraft *somTD_DocumentManager_CreateDraft;
  171. typedef ODBoolean   SOMLINK somTP_DocumentManager_OpenDraft(DocumentManager *somSelf, Environment *ev, 
  172.         ODDraft* draft, 
  173.         ODBoolean toBeRelease);
  174. typedef somTP_DocumentManager_OpenDraft *somTD_DocumentManager_OpenDraft;
  175. typedef void   SOMLINK somTP_DocumentManager_CloseDraft(DocumentManager *somSelf, Environment *ev, 
  176.         ODDraft* draft);
  177. typedef somTP_DocumentManager_CloseDraft *somTD_DocumentManager_CloseDraft;
  178. typedef void   SOMLINK somTP_DocumentManager_SaveDraft(DocumentManager *somSelf, Environment *ev);
  179. typedef somTP_DocumentManager_SaveDraft *somTD_DocumentManager_SaveDraft;
  180. typedef ODBoolean   SOMLINK somTP_DocumentManager_DeleteDraft(DocumentManager *somSelf, Environment *ev, 
  181.         DraftInfoRec* draftInfoRec);
  182. typedef somTP_DocumentManager_DeleteDraft *somTD_DocumentManager_DeleteDraft;
  183. typedef ODDraft*   SOMLINK somTP_DocumentManager_GetLatestCreatedDraft(DocumentManager *somSelf, Environment *ev);
  184. typedef somTP_DocumentManager_GetLatestCreatedDraft *somTD_DocumentManager_GetLatestCreatedDraft;
  185. typedef ODDraft*   SOMLINK somTP_DocumentManager_GetDraft(DocumentManager *somSelf, Environment *ev);
  186. typedef somTP_DocumentManager_GetDraft *somTD_DocumentManager_GetDraft;
  187. typedef DraftInfoRec*   SOMLINK somTP_DocumentManager_GetDraftList(DocumentManager *somSelf, Environment *ev);
  188. typedef somTP_DocumentManager_GetDraftList *somTD_DocumentManager_GetDraftList;
  189. typedef void   SOMLINK somTP_DocumentManager_DeleteDraftList(DocumentManager *somSelf, Environment *ev);
  190. typedef somTP_DocumentManager_DeleteDraftList *somTD_DocumentManager_DeleteDraftList;
  191. typedef ODBoolean   SOMLINK somTP_DocumentManager_HasWriteAccess(DocumentManager *somSelf, Environment *ev);
  192. typedef somTP_DocumentManager_HasWriteAccess *somTD_DocumentManager_HasWriteAccess;
  193. typedef void   SOMLINK somTP_DocumentManager_InternalizeHistory(DocumentManager *somSelf, Environment *ev);
  194. typedef somTP_DocumentManager_InternalizeHistory *somTD_DocumentManager_InternalizeHistory;
  195. typedef void   SOMLINK somTP_DocumentManager_Revert(DocumentManager *somSelf, Environment *ev);
  196. typedef somTP_DocumentManager_Revert *somTD_DocumentManager_Revert;
  197. typedef void   SOMLINK somTP_DocumentManager_SaveACopyAs(DocumentManager *somSelf, Environment *ev, 
  198.         ODDraft* draft, 
  199.         PlatformFile* file);
  200. typedef somTP_DocumentManager_SaveACopyAs *somTD_DocumentManager_SaveACopyAs;
  201. typedef char*   SOMLINK somTP_DocumentManager_GetFileName(DocumentManager *somSelf, Environment *ev);
  202. typedef somTP_DocumentManager_GetFileName *somTD_DocumentManager_GetFileName;
  203. typedef void   SOMLINK somTP_DocumentManager_SetFileName(DocumentManager *somSelf, Environment *ev, 
  204.         char* fileName);
  205. typedef somTP_DocumentManager_SetFileName *somTD_DocumentManager_SetFileName;
  206. typedef char*   SOMLINK somTP_DocumentManager_GetPartKindName(DocumentManager *somSelf, Environment *ev);
  207. typedef somTP_DocumentManager_GetPartKindName *somTD_DocumentManager_GetPartKindName;
  208. typedef void   SOMLINK somTP_DocumentManager_SetPartKindName(DocumentManager *somSelf, Environment *ev, 
  209.         char* kindName);
  210. typedef somTP_DocumentManager_SetPartKindName *somTD_DocumentManager_SetPartKindName;
  211.  
  212. /*
  213.  * -- Typedefs for Reintroduced Wrapper Methods
  214.  */
  215. typedef somf_MLinkable*   SOMLINK somTP_DocumentManager_somfMLinkableInit(DocumentManager *somSelf, Environment *ev, 
  216.         somf_MLinkable* n, 
  217.         somf_MLinkable* p);
  218. typedef somTP_DocumentManager_somfMLinkableInit *somTD_DocumentManager_somfMLinkableInit;
  219. typedef somf_MLinkable*   SOMLINK somTP_DocumentManager_somfGetNext(DocumentManager *somSelf, Environment *ev);
  220. typedef somTP_DocumentManager_somfGetNext *somTD_DocumentManager_somfGetNext;
  221. typedef void   SOMLINK somTP_DocumentManager_somfSetNext(DocumentManager *somSelf, Environment *ev, 
  222.         somf_MLinkable* aLink);
  223. typedef somTP_DocumentManager_somfSetNext *somTD_DocumentManager_somfSetNext;
  224. typedef somf_MLinkable*   SOMLINK somTP_DocumentManager_somfGetPrevious(DocumentManager *somSelf, Environment *ev);
  225. typedef somTP_DocumentManager_somfGetPrevious *somTD_DocumentManager_somfGetPrevious;
  226. typedef void   SOMLINK somTP_DocumentManager_somfSetPrevious(DocumentManager *somSelf, Environment *ev, 
  227.         somf_MLinkable* aLink);
  228. typedef somTP_DocumentManager_somfSetPrevious *somTD_DocumentManager_somfSetPrevious;
  229. typedef void   SOMLINK somTP_DocumentManager_somInit(DocumentManager *somSelf);
  230. typedef somTP_DocumentManager_somInit *somTD_DocumentManager_somInit;
  231. typedef void   SOMLINK somTP_DocumentManager_somDefaultInit(DocumentManager *somSelf, 
  232.         som3InitCtrl* ctrl);
  233. typedef somTP_DocumentManager_somDefaultInit *somTD_DocumentManager_somDefaultInit;
  234. typedef void   SOMLINK somTP_DocumentManager_somDestruct(DocumentManager *somSelf, 
  235.         octet doFree, 
  236.         som3DestructCtrl* ctrl);
  237. typedef somTP_DocumentManager_somDestruct *somTD_DocumentManager_somDestruct;
  238. typedef void   SOMLINK somTP_DocumentManager_somDefaultCopyInit(DocumentManager *somSelf, 
  239.         som3InitCtrl* ctrl, 
  240.         SOMObject* fromObj);
  241. typedef somTP_DocumentManager_somDefaultCopyInit *somTD_DocumentManager_somDefaultCopyInit;
  242. typedef DocumentManager*   SOMLINK somTP_DocumentManager_somDefaultAssign(DocumentManager *somSelf, 
  243.         som3AssignCtrl* ctrl, 
  244.         SOMObject* fromObj);
  245. typedef somTP_DocumentManager_somDefaultAssign *somTD_DocumentManager_somDefaultAssign;
  246. typedef void   SOMLINK somTP_DocumentManager_somDefaultConstCopyInit(DocumentManager *somSelf, 
  247.         som3InitCtrl* ctrl, 
  248.         SOMObject* fromObj);
  249. typedef somTP_DocumentManager_somDefaultConstCopyInit *somTD_DocumentManager_somDefaultConstCopyInit;
  250. typedef void   SOMLINK somTP_DocumentManager_somDefaultVCopyInit(DocumentManager *somSelf, 
  251.         som3InitCtrl* ctrl, 
  252.         SOMObject* fromObj);
  253. typedef somTP_DocumentManager_somDefaultVCopyInit *somTD_DocumentManager_somDefaultVCopyInit;
  254. typedef void   SOMLINK somTP_DocumentManager_somDefaultConstVCopyInit(DocumentManager *somSelf, 
  255.         som3InitCtrl* ctrl, 
  256.         SOMObject* fromObj);
  257. typedef somTP_DocumentManager_somDefaultConstVCopyInit *somTD_DocumentManager_somDefaultConstVCopyInit;
  258. typedef DocumentManager*   SOMLINK somTP_DocumentManager_somDefaultConstAssign(DocumentManager *somSelf, 
  259.         som3AssignCtrl* ctrl, 
  260.         SOMObject* fromObj);
  261. typedef somTP_DocumentManager_somDefaultConstAssign *somTD_DocumentManager_somDefaultConstAssign;
  262. typedef DocumentManager*   SOMLINK somTP_DocumentManager_somDefaultVAssign(DocumentManager *somSelf, 
  263.         som3AssignCtrl* ctrl, 
  264.         SOMObject* fromObj);
  265. typedef somTP_DocumentManager_somDefaultVAssign *somTD_DocumentManager_somDefaultVAssign;
  266. typedef DocumentManager*   SOMLINK somTP_DocumentManager_somDefaultConstVAssign(DocumentManager *somSelf, 
  267.         som3AssignCtrl* ctrl, 
  268.         SOMObject* fromObj);
  269. typedef somTP_DocumentManager_somDefaultConstVAssign *somTD_DocumentManager_somDefaultConstVAssign;
  270. typedef void   SOMLINK somTP_DocumentManager_somFree(DocumentManager *somSelf);
  271. typedef somTP_DocumentManager_somFree *somTD_DocumentManager_somFree;
  272. typedef void   SOMLINK somTP_DocumentManager_somUninit(DocumentManager *somSelf);
  273. typedef somTP_DocumentManager_somUninit *somTD_DocumentManager_somUninit;
  274. typedef SOMClass*   SOMLINK somTP_DocumentManager_somGetClass(DocumentManager *somSelf);
  275. typedef somTP_DocumentManager_somGetClass *somTD_DocumentManager_somGetClass;
  276. typedef string   SOMLINK somTP_DocumentManager_somGetClassName(DocumentManager *somSelf);
  277. typedef somTP_DocumentManager_somGetClassName *somTD_DocumentManager_somGetClassName;
  278. typedef long   SOMLINK somTP_DocumentManager_somGetSize(DocumentManager *somSelf);
  279. typedef somTP_DocumentManager_somGetSize *somTD_DocumentManager_somGetSize;
  280. typedef boolean   SOMLINK somTP_DocumentManager_somIsA(DocumentManager *somSelf, 
  281.         SOMClass* aClassObj);
  282. typedef somTP_DocumentManager_somIsA *somTD_DocumentManager_somIsA;
  283. typedef boolean   SOMLINK somTP_DocumentManager_somIsInstanceOf(DocumentManager *somSelf, 
  284.         SOMClass* aClassObj);
  285. typedef somTP_DocumentManager_somIsInstanceOf *somTD_DocumentManager_somIsInstanceOf;
  286. typedef boolean   SOMLINK somTP_DocumentManager_somRespondsTo(DocumentManager *somSelf, 
  287.         somId mId);
  288. typedef somTP_DocumentManager_somRespondsTo *somTD_DocumentManager_somRespondsTo;
  289. typedef boolean   SOMLINK somTP_DocumentManager_somDispatch(DocumentManager *somSelf, 
  290.         somToken* retValue, 
  291.         somId methodId, 
  292.         va_list ap);
  293. typedef somTP_DocumentManager_somDispatch *somTD_DocumentManager_somDispatch;
  294. typedef boolean   SOMLINK somTP_DocumentManager_somClassDispatch(DocumentManager *somSelf, 
  295.         SOMClass* clsObj, 
  296.         somToken* retValue, 
  297.         somId methodId, 
  298.         va_list ap);
  299. typedef somTP_DocumentManager_somClassDispatch *somTD_DocumentManager_somClassDispatch;
  300. typedef boolean   SOMLINK somTP_DocumentManager_somCastObj(DocumentManager *somSelf, 
  301.         SOMClass* cls);
  302. typedef somTP_DocumentManager_somCastObj *somTD_DocumentManager_somCastObj;
  303. typedef boolean   SOMLINK somTP_DocumentManager_somResetObj(DocumentManager *somSelf);
  304. typedef somTP_DocumentManager_somResetObj *somTD_DocumentManager_somResetObj;
  305. typedef void   SOMLINK somTP_DocumentManager_somDispatchV(DocumentManager *somSelf, 
  306.         somId methodId, 
  307.         somId descriptor, 
  308.         va_list ap);
  309. typedef somTP_DocumentManager_somDispatchV *somTD_DocumentManager_somDispatchV;
  310. typedef long   SOMLINK somTP_DocumentManager_somDispatchL(DocumentManager *somSelf, 
  311.         somId methodId, 
  312.         somId descriptor, 
  313.         va_list ap);
  314. typedef somTP_DocumentManager_somDispatchL *somTD_DocumentManager_somDispatchL;
  315. typedef void*   SOMLINK somTP_DocumentManager_somDispatchA(DocumentManager *somSelf, 
  316.         somId methodId, 
  317.         somId descriptor, 
  318.         va_list ap);
  319. typedef somTP_DocumentManager_somDispatchA *somTD_DocumentManager_somDispatchA;
  320. typedef double   SOMLINK somTP_DocumentManager_somDispatchD(DocumentManager *somSelf, 
  321.         somId methodId, 
  322.         somId descriptor, 
  323.         va_list ap);
  324. typedef somTP_DocumentManager_somDispatchD *somTD_DocumentManager_somDispatchD;
  325. typedef SOMObject*   SOMLINK somTP_DocumentManager_somPrintSelf(DocumentManager *somSelf);
  326. typedef somTP_DocumentManager_somPrintSelf *somTD_DocumentManager_somPrintSelf;
  327. typedef void   SOMLINK somTP_DocumentManager_somDumpSelf(DocumentManager *somSelf, 
  328.         long level);
  329. typedef somTP_DocumentManager_somDumpSelf *somTD_DocumentManager_somDumpSelf;
  330. typedef void   SOMLINK somTP_DocumentManager_somDumpSelfInt(DocumentManager *somSelf, 
  331.         long level);
  332. typedef somTP_DocumentManager_somDumpSelfInt *somTD_DocumentManager_somDumpSelfInt;
  333. }
  334.  
  335. #endif /* DocumentManager_API */
  336.  
  337.  
  338. /*
  339.  * -- This emitter treats Method Tokens as Thunks by default.
  340.  * -- Use the sc modifier "nothunks" to change this default
  341.  */
  342. #undef somresolve_
  343. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  344.  
  345. /*
  346.  * -- The C++ Wrapper Class for DocumentManager
  347.  */
  348. class DocumentManager : public somf_MLinkable
  349. {
  350. public:
  351.  
  352. // DocumentManager::new creates the class object if necessary, and then uses somNewNoInit
  353. // to allocate memory and create the object. Initialization is in ctors.
  354. void *operator new(size_t)
  355. {
  356.    if (!_DocumentManager) DocumentManagerNewClass(DocumentManager_MajorVersion,DocumentManager_MinorVersion);
  357.    return (void*)
  358.       SOM_Resolve(_DocumentManager,SOMClass,somNewNoInit)
  359.          ((SOMClass *)((void*)_DocumentManager));
  360. }
  361.  
  362. // DocumentManager::delete uses somDestruct.
  363. void operator delete(void * obj)
  364. {
  365.    if (obj && *(void**)obj) {
  366.       SOM_Resolve(obj,SOMObject,somFree)
  367.          ((SOMObject*)obj);
  368.    }
  369. }
  370.  
  371. DocumentManager& operator=(DocumentManager& fromObj)
  372. {
  373.    this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
  374.    return *this;
  375. }
  376.  
  377. DocumentManager()
  378. {
  379.    if (*(void**)this != 
  380.        ((somParentMtabStructPtr)
  381.         (DocumentManagerCClassData.parentMtab))->mtab)
  382.       return;
  383.    ((SOMObject*)((void*)this))->somDefaultInit(0);
  384. }
  385.  
  386. DocumentManager(DocumentManager* fromObj)
  387. {
  388.    if (*(void**)this != 
  389.        ((somParentMtabStructPtr)
  390.         (DocumentManagerCClassData.parentMtab))->mtab)
  391.       return;
  392.    ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  393. }
  394.  
  395. #ifdef __IBMCPP__
  396. #pragma info(nocnv,nopar)
  397. #endif
  398. DocumentManager(const DocumentManager* fromObj)
  399. {
  400.    if (*(void**)this != 
  401.        ((somParentMtabStructPtr)
  402.         (DocumentManagerCClassData.parentMtab))->mtab)
  403.       return;
  404.    ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  405. }
  406. #ifdef __IBMCPP__
  407. #pragma info(restore)
  408. #endif
  409.  
  410.  
  411. /* method: Initialize */
  412. void   Initialize(Environment *ev, 
  413.         ODSession* session)
  414. {
  415.    SOM_ResolveD(this,DocumentManager,DocumentManager,Initialize)
  416.     (this, ev,session);
  417. #ifdef SOMCHKEXCEPT
  418.    if ( ev->_major != NO_EXCEPTION )
  419.       SOMCHKEXCEPT;
  420. #endif
  421. }
  422.  
  423.  
  424. /* method: OpenDocumentFromFile */
  425. char*   OpenDocumentFromFile(Environment *ev, 
  426.         char* fileName, 
  427.         ODUShort actionFlag)
  428. {
  429. #ifdef SOMCHKEXCEPT
  430.    char* __somResult = 
  431.       SOM_ResolveD(this,DocumentManager,DocumentManager,OpenDocumentFromFile)
  432.     (this, ev,fileName,actionFlag);
  433.    if ( ev->_major != NO_EXCEPTION )
  434.       SOMCHKEXCEPT;
  435.    return __somResult;
  436. #else
  437.    return SOM_ResolveD(this,DocumentManager,DocumentManager,OpenDocumentFromFile)
  438.     (this, ev,fileName,actionFlag);
  439. #endif
  440. }
  441.  
  442.  
  443. /* method: OpenDocumentFromMemory */
  444. char*   OpenDocumentFromMemory(Environment *ev, 
  445.         ODHandle handle)
  446. {
  447. #ifdef SOMCHKEXCEPT
  448.    char* __somResult = 
  449.       SOM_ResolveD(this,DocumentManager,DocumentManager,OpenDocumentFromMemory)
  450.     (this, ev,handle);
  451.    if ( ev->_major != NO_EXCEPTION )
  452.       SOMCHKEXCEPT;
  453.    return __somResult;
  454. #else
  455.    return SOM_ResolveD(this,DocumentManager,DocumentManager,OpenDocumentFromMemory)
  456.     (this, ev,handle);
  457. #endif
  458. }
  459.  
  460.  
  461. /* method: CreateDocumentInFile */
  462. void   CreateDocumentInFile(Environment *ev, 
  463.         ODType kindName, 
  464.         char* fileName)
  465. {
  466.    SOM_ResolveD(this,DocumentManager,DocumentManager,CreateDocumentInFile)
  467.     (this, ev,kindName,fileName);
  468. #ifdef SOMCHKEXCEPT
  469.    if ( ev->_major != NO_EXCEPTION )
  470.       SOMCHKEXCEPT;
  471. #endif
  472. }
  473.  
  474.  
  475. /* method: CreateDocumentInMemory */
  476. void   CreateDocumentInMemory(Environment *ev, 
  477.         ODType kindName)
  478. {
  479.    SOM_ResolveD(this,DocumentManager,DocumentManager,CreateDocumentInMemory)
  480.     (this, ev,kindName);
  481. #ifdef SOMCHKEXCEPT
  482.    if ( ev->_major != NO_EXCEPTION )
  483.       SOMCHKEXCEPT;
  484. #endif
  485. }
  486.  
  487.  
  488. /* method: CreateDocumentAsStationery */
  489. void   CreateDocumentAsStationery(Environment *ev, 
  490.         ODType kindName, 
  491.         char* fileName)
  492. {
  493.    SOM_ResolveD(this,DocumentManager,DocumentManager,CreateDocumentAsStationery)
  494.     (this, ev,kindName,fileName);
  495. #ifdef SOMCHKEXCEPT
  496.    if ( ev->_major != NO_EXCEPTION )
  497.       SOMCHKEXCEPT;
  498. #endif
  499. }
  500.  
  501.  
  502. /* method: GetDocument */
  503. ODDocument*   GetDocument(Environment *ev)
  504. {
  505. #ifdef SOMCHKEXCEPT
  506.    ODDocument* __somResult = 
  507.       SOM_ResolveD(this,DocumentManager,DocumentManager,GetDocument)
  508.     (this, ev);
  509.    if ( ev->_major != NO_EXCEPTION )
  510.       SOMCHKEXCEPT;
  511.    return __somResult;
  512. #else
  513.    return SOM_ResolveD(this,DocumentManager,DocumentManager,GetDocument)
  514.     (this, ev);
  515. #endif
  516. }
  517.  
  518.  
  519. /* method: SaveDocument */
  520. void   SaveDocument(Environment *ev)
  521. {
  522.    SOM_ResolveD(this,DocumentManager,DocumentManager,SaveDocument)
  523.     (this, ev);
  524. #ifdef SOMCHKEXCEPT
  525.    if ( ev->_major != NO_EXCEPTION )
  526.       SOMCHKEXCEPT;
  527. #endif
  528. }
  529.  
  530.  
  531. /* method: CloseDocument */
  532. void   CloseDocument(Environment *ev, 
  533.         ODULong saveOption)
  534. {
  535.    SOM_ResolveD(this,DocumentManager,DocumentManager,CloseDocument)
  536.     (this, ev,saveOption);
  537. #ifdef SOMCHKEXCEPT
  538.    if ( ev->_major != NO_EXCEPTION )
  539.       SOMCHKEXCEPT;
  540. #endif
  541. }
  542.  
  543.  
  544. /* method: CloseWindow */
  545. ODBoolean   CloseWindow(Environment *ev, 
  546.         ODPlatformWindow pwindow, 
  547.         ODBoolean confirm)
  548. {
  549. #ifdef SOMCHKEXCEPT
  550.    ODBoolean __somResult = 
  551.       SOM_ResolveD(this,DocumentManager,DocumentManager,CloseWindow)
  552.     (this, ev,pwindow,confirm);
  553.    if ( ev->_major != NO_EXCEPTION )
  554.       SOMCHKEXCEPT;
  555.    return __somResult;
  556. #else
  557.    return SOM_ResolveD(this,DocumentManager,DocumentManager,CloseWindow)
  558.     (this, ev,pwindow,confirm);
  559. #endif
  560. }
  561.  
  562.  
  563. /* method: CreateDraft */
  564. void   CreateDraft(Environment *ev, 
  565.         ODULong draftNum, 
  566.         ODIText* modUser, 
  567.         ODIText* comment)
  568. {
  569.    SOM_ResolveD(this,DocumentManager,DocumentManager,CreateDraft)
  570.     (this, ev,draftNum,modUser,comment);
  571. #ifdef SOMCHKEXCEPT
  572.    if ( ev->_major != NO_EXCEPTION )
  573.       SOMCHKEXCEPT;
  574. #endif
  575. }
  576.  
  577.  
  578. /* method: OpenDraft */
  579. ODBoolean   OpenDraft(Environment *ev, 
  580.         ODDraft* draft, 
  581.         ODBoolean toBeRelease)
  582. {
  583. #ifdef SOMCHKEXCEPT
  584.    ODBoolean __somResult = 
  585.       SOM_ResolveD(this,DocumentManager,DocumentManager,OpenDraft)
  586.     (this, ev,draft,toBeRelease);
  587.    if ( ev->_major != NO_EXCEPTION )
  588.       SOMCHKEXCEPT;
  589.    return __somResult;
  590. #else
  591.    return SOM_ResolveD(this,DocumentManager,DocumentManager,OpenDraft)
  592.     (this, ev,draft,toBeRelease);
  593. #endif
  594. }
  595.  
  596.  
  597. /* method: CloseDraft */
  598. void   CloseDraft(Environment *ev, 
  599.         ODDraft* draft)
  600. {
  601.    SOM_ResolveD(this,DocumentManager,DocumentManager,CloseDraft)
  602.     (this, ev,draft);
  603. #ifdef SOMCHKEXCEPT
  604.    if ( ev->_major != NO_EXCEPTION )
  605.       SOMCHKEXCEPT;
  606. #endif
  607. }
  608.  
  609.  
  610. /* method: SaveDraft */
  611. void   SaveDraft(Environment *ev)
  612. {
  613.    SOM_ResolveD(this,DocumentManager,DocumentManager,SaveDraft)
  614.     (this, ev);
  615. #ifdef SOMCHKEXCEPT
  616.    if ( ev->_major != NO_EXCEPTION )
  617.       SOMCHKEXCEPT;
  618. #endif
  619. }
  620.  
  621.  
  622. /* method: DeleteDraft */
  623. ODBoolean   DeleteDraft(Environment *ev, 
  624.         DraftInfoRec* draftInfoRec)
  625. {
  626. #ifdef SOMCHKEXCEPT
  627.    ODBoolean __somResult = 
  628.       SOM_ResolveD(this,DocumentManager,DocumentManager,DeleteDraft)
  629.     (this, ev,draftInfoRec);
  630.    if ( ev->_major != NO_EXCEPTION )
  631.       SOMCHKEXCEPT;
  632.    return __somResult;
  633. #else
  634.    return SOM_ResolveD(this,DocumentManager,DocumentManager,DeleteDraft)
  635.     (this, ev,draftInfoRec);
  636. #endif
  637. }
  638.  
  639.  
  640. /* method: GetLatestCreatedDraft */
  641. ODDraft*   GetLatestCreatedDraft(Environment *ev)
  642. {
  643. #ifdef SOMCHKEXCEPT
  644.    ODDraft* __somResult = 
  645.       SOM_ResolveD(this,DocumentManager,DocumentManager,GetLatestCreatedDraft)
  646.     (this, ev);
  647.    if ( ev->_major != NO_EXCEPTION )
  648.       SOMCHKEXCEPT;
  649.    return __somResult;
  650. #else
  651.    return SOM_ResolveD(this,DocumentManager,DocumentManager,GetLatestCreatedDraft)
  652.     (this, ev);
  653. #endif
  654. }
  655.  
  656.  
  657. /* method: GetDraft */
  658. ODDraft*   GetDraft(Environment *ev)
  659. {
  660. #ifdef SOMCHKEXCEPT
  661.    ODDraft* __somResult = 
  662.       SOM_ResolveD(this,DocumentManager,DocumentManager,GetDraft)
  663.     (this, ev);
  664.    if ( ev->_major != NO_EXCEPTION )
  665.       SOMCHKEXCEPT;
  666.    return __somResult;
  667. #else
  668.    return SOM_ResolveD(this,DocumentManager,DocumentManager,GetDraft)
  669.     (this, ev);
  670. #endif
  671. }
  672.  
  673.  
  674. /* method: GetDraftList */
  675. DraftInfoRec*   GetDraftList(Environment *ev)
  676. {
  677. #ifdef SOMCHKEXCEPT
  678.    DraftInfoRec* __somResult = 
  679.       SOM_ResolveD(this,DocumentManager,DocumentManager,GetDraftList)
  680.     (this, ev);
  681.    if ( ev->_major != NO_EXCEPTION )
  682.       SOMCHKEXCEPT;
  683.    return __somResult;
  684. #else
  685.    return SOM_ResolveD(this,DocumentManager,DocumentManager,GetDraftList)
  686.     (this, ev);
  687. #endif
  688. }
  689.  
  690.  
  691. /* method: DeleteDraftList */
  692. void   DeleteDraftList(Environment *ev)
  693. {
  694.    SOM_ResolveD(this,DocumentManager,DocumentManager,DeleteDraftList)
  695.     (this, ev);
  696. #ifdef SOMCHKEXCEPT
  697.    if ( ev->_major != NO_EXCEPTION )
  698.       SOMCHKEXCEPT;
  699. #endif
  700. }
  701.  
  702.  
  703. /* method: HasWriteAccess */
  704. ODBoolean   HasWriteAccess(Environment *ev)
  705. {
  706. #ifdef SOMCHKEXCEPT
  707.    ODBoolean __somResult = 
  708.       SOM_ResolveD(this,DocumentManager,DocumentManager,HasWriteAccess)
  709.     (this, ev);
  710.    if ( ev->_major != NO_EXCEPTION )
  711.       SOMCHKEXCEPT;
  712.    return __somResult;
  713. #else
  714.    return SOM_ResolveD(this,DocumentManager,DocumentManager,HasWriteAccess)
  715.     (this, ev);
  716. #endif
  717. }
  718.  
  719.  
  720. /* method: InternalizeHistory */
  721. void   InternalizeHistory(Environment *ev)
  722. {
  723.    SOM_ResolveD(this,DocumentManager,DocumentManager,InternalizeHistory)
  724.     (this, ev);
  725. #ifdef SOMCHKEXCEPT
  726.    if ( ev->_major != NO_EXCEPTION )
  727.       SOMCHKEXCEPT;
  728. #endif
  729. }
  730.  
  731.  
  732. /* method: Revert */
  733. void   Revert(Environment *ev)
  734. {
  735.    SOM_ResolveD(this,DocumentManager,DocumentManager,Revert)
  736.     (this, ev);
  737. #ifdef SOMCHKEXCEPT
  738.    if ( ev->_major != NO_EXCEPTION )
  739.       SOMCHKEXCEPT;
  740. #endif
  741. }
  742.  
  743.  
  744. /* method: SaveACopyAs */
  745. void   SaveACopyAs(Environment *ev, 
  746.         ODDraft* draft, 
  747.         PlatformFile* file)
  748. {
  749.    SOM_ResolveD(this,DocumentManager,DocumentManager,SaveACopyAs)
  750.     (this, ev,draft,file);
  751. #ifdef SOMCHKEXCEPT
  752.    if ( ev->_major != NO_EXCEPTION )
  753.       SOMCHKEXCEPT;
  754. #endif
  755. }
  756.  
  757.  
  758. /* method: GetFileName */
  759. char*   GetFileName(Environment *ev)
  760. {
  761. #ifdef SOMCHKEXCEPT
  762.    char* __somResult = 
  763.       SOM_ResolveD(this,DocumentManager,DocumentManager,GetFileName)
  764.     (this, ev);
  765.    if ( ev->_major != NO_EXCEPTION )
  766.       SOMCHKEXCEPT;
  767.    return __somResult;
  768. #else
  769.    return SOM_ResolveD(this,DocumentManager,DocumentManager,GetFileName)
  770.     (this, ev);
  771. #endif
  772. }
  773.  
  774.  
  775. /* method: SetFileName */
  776. void   SetFileName(Environment *ev, 
  777.         char* fileName)
  778. {
  779.    SOM_ResolveD(this,DocumentManager,DocumentManager,SetFileName)
  780.     (this, ev,fileName);
  781. #ifdef SOMCHKEXCEPT
  782.    if ( ev->_major != NO_EXCEPTION )
  783.       SOMCHKEXCEPT;
  784. #endif
  785. }
  786.  
  787.  
  788. /* method: GetPartKindName */
  789. char*   GetPartKindName(Environment *ev)
  790. {
  791. #ifdef SOMCHKEXCEPT
  792.    char* __somResult = 
  793.       SOM_ResolveD(this,DocumentManager,DocumentManager,GetPartKindName)
  794.     (this, ev);
  795.    if ( ev->_major != NO_EXCEPTION )
  796.       SOMCHKEXCEPT;
  797.    return __somResult;
  798. #else
  799.    return SOM_ResolveD(this,DocumentManager,DocumentManager,GetPartKindName)
  800.     (this, ev);
  801. #endif
  802. }
  803.  
  804.  
  805. /* method: SetPartKindName */
  806. void   SetPartKindName(Environment *ev, 
  807.         char* kindName)
  808. {
  809.    SOM_ResolveD(this,DocumentManager,DocumentManager,SetPartKindName)
  810.     (this, ev,kindName);
  811. #ifdef SOMCHKEXCEPT
  812.    if ( ev->_major != NO_EXCEPTION )
  813.       SOMCHKEXCEPT;
  814. #endif
  815. }
  816.  
  817.  
  818. /*
  819.  * Reintroduce inherited methods
  820.  */
  821.  
  822. /* method: somfMLinkableInit */
  823. somf_MLinkable*   somfMLinkableInit(Environment *ev, 
  824.         somf_MLinkable* n, 
  825.         somf_MLinkable* p)
  826. {
  827. #ifdef SOMCHKEXCEPT
  828.    somf_MLinkable* __somResult = 
  829.       SOM_ResolveD(this,DocumentManager,somf_MLinkable,somfMLinkableInit)
  830.     (this, ev,n,p);
  831.    if ( ev->_major != NO_EXCEPTION )
  832.       SOMCHKEXCEPT;
  833.    return __somResult;
  834. #else
  835.    return SOM_ResolveD(this,DocumentManager,somf_MLinkable,somfMLinkableInit)
  836.     (this, ev,n,p);
  837. #endif
  838. }
  839.  
  840.  
  841. /* method: somfGetNext */
  842. somf_MLinkable*   somfGetNext(Environment *ev)
  843. {
  844. #ifdef SOMCHKEXCEPT
  845.    somf_MLinkable* __somResult = 
  846.       SOM_ResolveD(this,DocumentManager,somf_MLinkable,somfGetNext)
  847.     (this, ev);
  848.    if ( ev->_major != NO_EXCEPTION )
  849.       SOMCHKEXCEPT;
  850.    return __somResult;
  851. #else
  852.    return SOM_ResolveD(this,DocumentManager,somf_MLinkable,somfGetNext)
  853.     (this, ev);
  854. #endif
  855. }
  856.  
  857.  
  858. /* method: somfSetNext */
  859. void   somfSetNext(Environment *ev, 
  860.         somf_MLinkable* aLink)
  861. {
  862.    SOM_ResolveD(this,DocumentManager,somf_MLinkable,somfSetNext)
  863.     (this, ev,aLink);
  864. #ifdef SOMCHKEXCEPT
  865.    if ( ev->_major != NO_EXCEPTION )
  866.       SOMCHKEXCEPT;
  867. #endif
  868. }
  869.  
  870.  
  871. /* method: somfGetPrevious */
  872. somf_MLinkable*   somfGetPrevious(Environment *ev)
  873. {
  874. #ifdef SOMCHKEXCEPT
  875.    somf_MLinkable* __somResult = 
  876.       SOM_ResolveD(this,DocumentManager,somf_MLinkable,somfGetPrevious)
  877.     (this, ev);
  878.    if ( ev->_major != NO_EXCEPTION )
  879.       SOMCHKEXCEPT;
  880.    return __somResult;
  881. #else
  882.    return SOM_ResolveD(this,DocumentManager,somf_MLinkable,somfGetPrevious)
  883.     (this, ev);
  884. #endif
  885. }
  886.  
  887.  
  888. /* method: somfSetPrevious */
  889. void   somfSetPrevious(Environment *ev, 
  890.         somf_MLinkable* aLink)
  891. {
  892.    SOM_ResolveD(this,DocumentManager,somf_MLinkable,somfSetPrevious)
  893.     (this, ev,aLink);
  894. #ifdef SOMCHKEXCEPT
  895.    if ( ev->_major != NO_EXCEPTION )
  896.       SOMCHKEXCEPT;
  897. #endif
  898. }
  899.  
  900.  
  901. /* method: somInit */
  902. void   somInit()
  903. {
  904.    SOM_ResolveD(this,DocumentManager,SOMObject,somInit)
  905.     (this);
  906. }
  907.  
  908.  
  909. /* initializer method: somDefaultInit */
  910. void   somDefaultInit(som3InitCtrl* ctrl)
  911. {
  912.    SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultInit)
  913.     (this,ctrl);
  914. }
  915.  
  916.  
  917. /* method: somDestruct */
  918. void   somDestruct(octet doFree, 
  919.         som3DestructCtrl* ctrl)
  920. {
  921.    SOM_ResolveD(this,DocumentManager,SOMObject,somDestruct)
  922.     (this,doFree,ctrl);
  923. }
  924.  
  925.  
  926. /* initializer method: somDefaultCopyInit */
  927. void   somDefaultCopyInit(som3InitCtrl* ctrl, 
  928.         SOMObject* fromObj)
  929. {
  930.    SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultCopyInit)
  931.     (this,ctrl,fromObj);
  932. }
  933.  
  934.  
  935. /* method: somDefaultAssign */
  936. DocumentManager*  somDefaultAssign(som3AssignCtrl* ctrl, 
  937.         SOMObject* fromObj)
  938. {
  939.    return SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultAssign)
  940.     (this,ctrl,fromObj);
  941. }
  942.  
  943.  
  944. /* initializer method: somDefaultConstCopyInit */
  945. void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
  946.         SOMObject* fromObj)
  947. {
  948.    SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultConstCopyInit)
  949.     (this,ctrl,fromObj);
  950. }
  951.  
  952.  
  953. /* initializer method: somDefaultVCopyInit */
  954. void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
  955.         SOMObject* fromObj)
  956. {
  957.    SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultVCopyInit)
  958.     (this,ctrl,fromObj);
  959. }
  960.  
  961.  
  962. /* initializer method: somDefaultConstVCopyInit */
  963. void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
  964.         SOMObject* fromObj)
  965. {
  966.    SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultConstVCopyInit)
  967.     (this,ctrl,fromObj);
  968. }
  969.  
  970.  
  971. /* method: somDefaultConstAssign */
  972. DocumentManager*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
  973.         SOMObject* fromObj)
  974. {
  975.    return SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultConstAssign)
  976.     (this,ctrl,fromObj);
  977. }
  978.  
  979.  
  980. /* method: somDefaultVAssign */
  981. DocumentManager*  somDefaultVAssign(som3AssignCtrl* ctrl, 
  982.         SOMObject* fromObj)
  983. {
  984.    return SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultVAssign)
  985.     (this,ctrl,fromObj);
  986. }
  987.  
  988.  
  989. /* method: somDefaultConstVAssign */
  990. DocumentManager*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
  991.         SOMObject* fromObj)
  992. {
  993.    return SOM_ResolveD(this,DocumentManager,SOMObject,somDefaultConstVAssign)
  994.     (this,ctrl,fromObj);
  995. }
  996.  
  997.  
  998. /* method: somFree */
  999. void   somFree()
  1000. {
  1001.    SOM_ResolveD(this,DocumentManager,SOMObject,somFree)
  1002.     (this);
  1003. }
  1004.  
  1005.  
  1006. /* method: somUninit */
  1007. void   somUninit()
  1008. {
  1009.    SOM_ResolveD(this,DocumentManager,SOMObject,somUninit)
  1010.     (this);
  1011. }
  1012.  
  1013.  
  1014. /* method: somGetClass */
  1015. SOMClass*   somGetClass()
  1016. {
  1017.    return SOM_ResolveD(this,DocumentManager,SOMObject,somGetClass)
  1018.     (this);
  1019. }
  1020.  
  1021.  
  1022. /* method: somGetClassName */
  1023. string   somGetClassName()
  1024. {
  1025.    return SOM_ResolveD(this,DocumentManager,SOMObject,somGetClassName)
  1026.     (this);
  1027. }
  1028.  
  1029.  
  1030. /* method: somGetSize */
  1031. long   somGetSize()
  1032. {
  1033.    return SOM_ResolveD(this,DocumentManager,SOMObject,somGetSize)
  1034.     (this);
  1035. }
  1036.  
  1037.  
  1038. /* method: somIsA */
  1039. boolean   somIsA(SOMClass* aClassObj)
  1040. {
  1041.    return SOM_ResolveD(this,DocumentManager,SOMObject,somIsA)
  1042.     (this,aClassObj);
  1043. }
  1044.  
  1045.  
  1046. /* method: somIsInstanceOf */
  1047. boolean   somIsInstanceOf(SOMClass* aClassObj)
  1048. {
  1049.    return SOM_ResolveD(this,DocumentManager,SOMObject,somIsInstanceOf)
  1050.     (this,aClassObj);
  1051. }
  1052.  
  1053.  
  1054. /* method: somRespondsTo */
  1055. boolean   somRespondsTo(somId mId)
  1056. {
  1057.    return SOM_ResolveD(this,DocumentManager,SOMObject,somRespondsTo)
  1058.     (this,mId);
  1059. }
  1060.  
  1061.  
  1062. /* va_list method: somDispatch */
  1063.  
  1064. /* the va_list invocation form */
  1065. boolean   DocumentManager_somDispatch(somToken* retValue, 
  1066.         somId methodId, 
  1067.         va_list ap)
  1068. {return SOM_ResolveD(this,DocumentManager,SOMObject,somDispatch)
  1069.     (this,retValue,methodId,ap);
  1070. }
  1071.  
  1072. /* the varargs invocation form */
  1073. boolean   somDispatch(somToken* retValue, 
  1074.         somId methodId, 
  1075.         ...)
  1076. {
  1077.    va_list ap;
  1078.    va_start(ap, methodId);
  1079.    boolean __somResult = 
  1080.       SOM_ResolveD(this,DocumentManager,SOMObject,somDispatch)
  1081.     (this,retValue,methodId,ap);
  1082.    va_end(ap);
  1083.    return __somResult;
  1084. }
  1085.  
  1086.  
  1087. /* va_list method: somClassDispatch */
  1088.  
  1089. /* the va_list invocation form */
  1090. boolean   DocumentManager_somClassDispatch(SOMClass* clsObj, 
  1091.         somToken* retValue, 
  1092.         somId methodId, 
  1093.         va_list ap)
  1094. {return SOM_ResolveD(this,DocumentManager,SOMObject,somClassDispatch)
  1095.     (this,clsObj,retValue,methodId,ap);
  1096. }
  1097.  
  1098. /* the varargs invocation form */
  1099. boolean   somClassDispatch(SOMClass* clsObj, 
  1100.         somToken* retValue, 
  1101.         somId methodId, 
  1102.         ...)
  1103. {
  1104.    va_list ap;
  1105.    va_start(ap, methodId);
  1106.    boolean __somResult = 
  1107.       SOM_ResolveD(this,DocumentManager,SOMObject,somClassDispatch)
  1108.     (this,clsObj,retValue,methodId,ap);
  1109.    va_end(ap);
  1110.    return __somResult;
  1111. }
  1112.  
  1113.  
  1114. /* method: somCastObj */
  1115. boolean   somCastObj(SOMClass* cls)
  1116. {
  1117.    return SOM_ResolveD(this,DocumentManager,SOMObject,somCastObj)
  1118.     (this,cls);
  1119. }
  1120.  
  1121.  
  1122. /* method: somResetObj */
  1123. boolean   somResetObj()
  1124. {
  1125.    return SOM_ResolveD(this,DocumentManager,SOMObject,somResetObj)
  1126.     (this);
  1127. }
  1128.  
  1129.  
  1130. /* va_list method: somDispatchV */
  1131.  
  1132. /* the va_list invocation form */
  1133. void   DocumentManager_somDispatchV(somId methodId, 
  1134.         somId descriptor, 
  1135.         va_list ap)
  1136. {   SOM_ResolveD(this,DocumentManager,SOMObject,somDispatchV)
  1137.     (this,methodId,descriptor,ap);
  1138. }
  1139.  
  1140. /* the varargs invocation form */
  1141. void   somDispatchV(somId methodId, 
  1142.         somId descriptor, 
  1143.         ...)
  1144. {
  1145.    va_list ap;
  1146.    va_start(ap, descriptor);
  1147.    SOM_ResolveD(this,DocumentManager,SOMObject,somDispatchV)
  1148.     (this,methodId,descriptor,ap);
  1149.    va_end(ap);
  1150. }
  1151.  
  1152.  
  1153. /* va_list method: somDispatchL */
  1154.  
  1155. /* the va_list invocation form */
  1156. long   DocumentManager_somDispatchL(somId methodId, 
  1157.         somId descriptor, 
  1158.         va_list ap)
  1159. {return SOM_ResolveD(this,DocumentManager,SOMObject,somDispatchL)
  1160.     (this,methodId,descriptor,ap);
  1161. }
  1162.  
  1163. /* the varargs invocation form */
  1164. long   somDispatchL(somId methodId, 
  1165.         somId descriptor, 
  1166.         ...)
  1167. {
  1168.    va_list ap;
  1169.    va_start(ap, descriptor);
  1170.    long __somResult = 
  1171.       SOM_ResolveD(this,DocumentManager,SOMObject,somDispatchL)
  1172.     (this,methodId,descriptor,ap);
  1173.    va_end(ap);
  1174.    return __somResult;
  1175. }
  1176.  
  1177.  
  1178. /* va_list method: somDispatchA */
  1179.  
  1180. /* the va_list invocation form */
  1181. void*   DocumentManager_somDispatchA(somId methodId, 
  1182.         somId descriptor, 
  1183.         va_list ap)
  1184. {return SOM_ResolveD(this,DocumentManager,SOMObject,somDispatchA)
  1185.     (this,methodId,descriptor,ap);
  1186. }
  1187.  
  1188. /* the varargs invocation form */
  1189. void*   somDispatchA(somId methodId, 
  1190.         somId descriptor, 
  1191.         ...)
  1192. {
  1193.    va_list ap;
  1194.    va_start(ap, descriptor);
  1195.    void* __somResult = 
  1196.       SOM_ResolveD(this,DocumentManager,SOMObject,somDispatchA)
  1197.     (this,methodId,descriptor,ap);
  1198.    va_end(ap);
  1199.    return __somResult;
  1200. }
  1201.  
  1202.  
  1203. /* va_list method: somDispatchD */
  1204.  
  1205. /* the va_list invocation form */
  1206. double   DocumentManager_somDispatchD(somId methodId, 
  1207.         somId descriptor, 
  1208.         va_list ap)
  1209. {return SOM_ResolveD(this,DocumentManager,SOMObject,somDispatchD)
  1210.     (this,methodId,descriptor,ap);
  1211. }
  1212.  
  1213. /* the varargs invocation form */
  1214. double   somDispatchD(somId methodId, 
  1215.         somId descriptor, 
  1216.         ...)
  1217. {
  1218.    va_list ap;
  1219.    va_start(ap, descriptor);
  1220.    double __somResult = 
  1221.       SOM_ResolveD(this,DocumentManager,SOMObject,somDispatchD)
  1222.     (this,methodId,descriptor,ap);
  1223.    va_end(ap);
  1224.    return __somResult;
  1225. }
  1226.  
  1227.  
  1228. /* method: somPrintSelf */
  1229. SOMObject*   somPrintSelf()
  1230. {
  1231.    return SOM_ResolveD(this,DocumentManager,SOMObject,somPrintSelf)
  1232.     (this);
  1233. }
  1234.  
  1235.  
  1236. /* method: somDumpSelf */
  1237. void   somDumpSelf(long level)
  1238. {
  1239.    SOM_ResolveD(this,DocumentManager,SOMObject,somDumpSelf)
  1240.     (this,level);
  1241. }
  1242.  
  1243.  
  1244. /* method: somDumpSelfInt */
  1245. void   somDumpSelfInt(long level)
  1246. {
  1247.    SOM_ResolveD(this,DocumentManager,SOMObject,somDumpSelfInt)
  1248.     (this,level);
  1249. }
  1250.  
  1251.  
  1252.  
  1253. };   /* DocumentManager */
  1254.  
  1255.  
  1256.  
  1257. #endif       /* SOM_DocumentManager_xh */
  1258.