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