home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
Document.xh
< prev
next >
Wrap
Text File
|
1997-04-02
|
29KB
|
1,052 lines
/*
* This file was generated by the SOM Compiler.
* FileName: F:\build\os2\ship\include\Document.xh.
* Generated using:
* SOM Precompiler somipc: 2.29.1.17
* SOM Emitter emitxh: 2.47
*/
#ifndef SOM_ODDocument_xh
#define SOM_ODDocument_xh
class ODDocument;
#define ODDocument_MajorVersion 1
#define ODDocument_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_ODRefCntObject_xh
#include <RefCtObj.xh>
#endif
#ifndef ODDocument_API
#define ODDocument_API
/*
* -- The Class API
*/
/*
* Start of bindings for IDL types
*/
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODRefCntObject;
class ODDocument;
class ODContainer;
class ODDraft;
class ODStorageUnit;
/*
* End of bindings for IDL types.
*/
/* A procedure to create the ODDocument Class */
SOMEXTERN SOMClass * SOMLINK ODDocumentNewClass(
integer4 majorVersion,
integer4 minorVersion);
/* The API to the ODDocument class object, and the methods it introduces. */
SOMEXTERN struct ODDocumentClassDataStructure {
SOMClass *classObject;
somMToken GetContainer;
somMToken GetID;
somMToken GetName;
somMToken SetName;
somMToken CollapseDrafts;
somMToken AcquireDraft;
somMToken Exists;
somMToken AcquireBaseDraft;
somMToken CreateDraft;
somMToken SaveToAPrevDraft;
somMToken SetBaseDraftFromForeignDraft;
somMToken reserved1;
somMToken reserved2;
} SOMDLINK ODDocumentClassData;
#define _ODDocument ODDocumentClassData.classObject
/* The API to parentMtabs for ODDocument, and the instance data it introduces. */
SOMEXTERN struct ODDocumentCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} SOMDLINK ODDocumentCClassData;
/*
* -- Typedefs for ODDocument Method Procedures
*/
SOMEXTERN {
typedef ODContainer* SOMLINK somTP_ODDocument_GetContainer(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_GetContainer *somTD_ODDocument_GetContainer;
typedef ODDocumentID SOMLINK somTP_ODDocument_GetID(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_GetID *somTD_ODDocument_GetID;
typedef ODDocumentName SOMLINK somTP_ODDocument_GetName(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_GetName *somTD_ODDocument_GetName;
typedef void SOMLINK somTP_ODDocument_SetName(ODDocument *somSelf, Environment *ev,
ODDocumentName* name);
typedef somTP_ODDocument_SetName *somTD_ODDocument_SetName;
typedef ODDocument* SOMLINK somTP_ODDocument_CollapseDrafts(ODDocument *somSelf, Environment *ev,
ODDraft* from,
ODDraft* to);
typedef somTP_ODDocument_CollapseDrafts *somTD_ODDocument_CollapseDrafts;
typedef ODDraft* SOMLINK somTP_ODDocument_AcquireDraft(ODDocument *somSelf, Environment *ev,
ODDraftPermissions perms,
ODDraftID id,
ODDraft* draft,
ODPositionCode posCode,
ODBoolean release);
typedef somTP_ODDocument_AcquireDraft *somTD_ODDocument_AcquireDraft;
typedef ODBoolean SOMLINK somTP_ODDocument_Exists(ODDocument *somSelf, Environment *ev,
ODDraftID id,
ODDraft* draft,
ODPositionCode posCode);
typedef somTP_ODDocument_Exists *somTD_ODDocument_Exists;
typedef ODDraft* SOMLINK somTP_ODDocument_AcquireBaseDraft(ODDocument *somSelf, Environment *ev,
ODDraftPermissions perms);
typedef somTP_ODDocument_AcquireBaseDraft *somTD_ODDocument_AcquireBaseDraft;
typedef ODDraft* SOMLINK somTP_ODDocument_CreateDraft(ODDocument *somSelf, Environment *ev,
ODDraft* below,
ODBoolean releaseBelow);
typedef somTP_ODDocument_CreateDraft *somTD_ODDocument_CreateDraft;
typedef void SOMLINK somTP_ODDocument_SaveToAPrevDraft(ODDocument *somSelf, Environment *ev,
ODDraft* from,
ODDraft* to);
typedef somTP_ODDocument_SaveToAPrevDraft *somTD_ODDocument_SaveToAPrevDraft;
typedef void SOMLINK somTP_ODDocument_SetBaseDraftFromForeignDraft(ODDocument *somSelf, Environment *ev,
ODDraft* draft);
typedef somTP_ODDocument_SetBaseDraftFromForeignDraft *somTD_ODDocument_SetBaseDraftFromForeignDraft;
/*
* -- Typedefs for Reintroduced Wrapper Methods
*/
typedef void SOMLINK somTP_ODDocument_InitRefCntObject(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_InitRefCntObject *somTD_ODDocument_InitRefCntObject;
typedef void SOMLINK somTP_ODDocument_Acquire(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_Acquire *somTD_ODDocument_Acquire;
typedef void SOMLINK somTP_ODDocument_Release(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_Release *somTD_ODDocument_Release;
typedef ODULong SOMLINK somTP_ODDocument_GetRefCount(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_GetRefCount *somTD_ODDocument_GetRefCount;
typedef void SOMLINK somTP_ODDocument_somUninit(ODDocument *somSelf);
typedef somTP_ODDocument_somUninit *somTD_ODDocument_somUninit;
typedef void SOMLINK somTP_ODDocument_InitObject(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_InitObject *somTD_ODDocument_InitObject;
typedef ODBoolean SOMLINK somTP_ODDocument_HasExtension(ODDocument *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODDocument_HasExtension *somTD_ODDocument_HasExtension;
typedef ODExtension* SOMLINK somTP_ODDocument_AcquireExtension(ODDocument *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODDocument_AcquireExtension *somTD_ODDocument_AcquireExtension;
typedef void SOMLINK somTP_ODDocument_ReleaseExtension(ODDocument *somSelf, Environment *ev,
ODExtension* extension);
typedef somTP_ODDocument_ReleaseExtension *somTD_ODDocument_ReleaseExtension;
typedef ODSize SOMLINK somTP_ODDocument_Purge(ODDocument *somSelf, Environment *ev,
ODSize size);
typedef somTP_ODDocument_Purge *somTD_ODDocument_Purge;
typedef ODBoolean SOMLINK somTP_ODDocument_IsEqualTo(ODDocument *somSelf, Environment *ev,
ODObject* object);
typedef somTP_ODDocument_IsEqualTo *somTD_ODDocument_IsEqualTo;
typedef void SOMLINK somTP_ODDocument_SubClassResponsibility(ODDocument *somSelf, Environment *ev);
typedef somTP_ODDocument_SubClassResponsibility *somTD_ODDocument_SubClassResponsibility;
typedef void SOMLINK somTP_ODDocument_somInit(ODDocument *somSelf);
typedef somTP_ODDocument_somInit *somTD_ODDocument_somInit;
typedef void SOMLINK somTP_ODDocument_somDefaultInit(ODDocument *somSelf,
som3InitCtrl* ctrl);
typedef somTP_ODDocument_somDefaultInit *somTD_ODDocument_somDefaultInit;
typedef void SOMLINK somTP_ODDocument_somDestruct(ODDocument *somSelf,
octet doFree,
som3DestructCtrl* ctrl);
typedef somTP_ODDocument_somDestruct *somTD_ODDocument_somDestruct;
typedef void SOMLINK somTP_ODDocument_somDefaultCopyInit(ODDocument *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDocument_somDefaultCopyInit *somTD_ODDocument_somDefaultCopyInit;
typedef ODDocument* SOMLINK somTP_ODDocument_somDefaultAssign(ODDocument *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDocument_somDefaultAssign *somTD_ODDocument_somDefaultAssign;
typedef void SOMLINK somTP_ODDocument_somDefaultConstCopyInit(ODDocument *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDocument_somDefaultConstCopyInit *somTD_ODDocument_somDefaultConstCopyInit;
typedef void SOMLINK somTP_ODDocument_somDefaultVCopyInit(ODDocument *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDocument_somDefaultVCopyInit *somTD_ODDocument_somDefaultVCopyInit;
typedef void SOMLINK somTP_ODDocument_somDefaultConstVCopyInit(ODDocument *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDocument_somDefaultConstVCopyInit *somTD_ODDocument_somDefaultConstVCopyInit;
typedef ODDocument* SOMLINK somTP_ODDocument_somDefaultConstAssign(ODDocument *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDocument_somDefaultConstAssign *somTD_ODDocument_somDefaultConstAssign;
typedef ODDocument* SOMLINK somTP_ODDocument_somDefaultVAssign(ODDocument *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDocument_somDefaultVAssign *somTD_ODDocument_somDefaultVAssign;
typedef ODDocument* SOMLINK somTP_ODDocument_somDefaultConstVAssign(ODDocument *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODDocument_somDefaultConstVAssign *somTD_ODDocument_somDefaultConstVAssign;
typedef void SOMLINK somTP_ODDocument_somFree(ODDocument *somSelf);
typedef somTP_ODDocument_somFree *somTD_ODDocument_somFree;
typedef SOMClass* SOMLINK somTP_ODDocument_somGetClass(ODDocument *somSelf);
typedef somTP_ODDocument_somGetClass *somTD_ODDocument_somGetClass;
typedef string SOMLINK somTP_ODDocument_somGetClassName(ODDocument *somSelf);
typedef somTP_ODDocument_somGetClassName *somTD_ODDocument_somGetClassName;
typedef long SOMLINK somTP_ODDocument_somGetSize(ODDocument *somSelf);
typedef somTP_ODDocument_somGetSize *somTD_ODDocument_somGetSize;
typedef boolean SOMLINK somTP_ODDocument_somIsA(ODDocument *somSelf,
SOMClass* aClassObj);
typedef somTP_ODDocument_somIsA *somTD_ODDocument_somIsA;
typedef boolean SOMLINK somTP_ODDocument_somIsInstanceOf(ODDocument *somSelf,
SOMClass* aClassObj);
typedef somTP_ODDocument_somIsInstanceOf *somTD_ODDocument_somIsInstanceOf;
typedef boolean SOMLINK somTP_ODDocument_somRespondsTo(ODDocument *somSelf,
somId mId);
typedef somTP_ODDocument_somRespondsTo *somTD_ODDocument_somRespondsTo;
typedef boolean SOMLINK somTP_ODDocument_somDispatch(ODDocument *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODDocument_somDispatch *somTD_ODDocument_somDispatch;
typedef boolean SOMLINK somTP_ODDocument_somClassDispatch(ODDocument *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODDocument_somClassDispatch *somTD_ODDocument_somClassDispatch;
typedef boolean SOMLINK somTP_ODDocument_somCastObj(ODDocument *somSelf,
SOMClass* cls);
typedef somTP_ODDocument_somCastObj *somTD_ODDocument_somCastObj;
typedef boolean SOMLINK somTP_ODDocument_somResetObj(ODDocument *somSelf);
typedef somTP_ODDocument_somResetObj *somTD_ODDocument_somResetObj;
typedef void SOMLINK somTP_ODDocument_somDispatchV(ODDocument *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODDocument_somDispatchV *somTD_ODDocument_somDispatchV;
typedef long SOMLINK somTP_ODDocument_somDispatchL(ODDocument *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODDocument_somDispatchL *somTD_ODDocument_somDispatchL;
typedef void* SOMLINK somTP_ODDocument_somDispatchA(ODDocument *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODDocument_somDispatchA *somTD_ODDocument_somDispatchA;
typedef double SOMLINK somTP_ODDocument_somDispatchD(ODDocument *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODDocument_somDispatchD *somTD_ODDocument_somDispatchD;
typedef SOMObject* SOMLINK somTP_ODDocument_somPrintSelf(ODDocument *somSelf);
typedef somTP_ODDocument_somPrintSelf *somTD_ODDocument_somPrintSelf;
typedef void SOMLINK somTP_ODDocument_somDumpSelf(ODDocument *somSelf,
long level);
typedef somTP_ODDocument_somDumpSelf *somTD_ODDocument_somDumpSelf;
typedef void SOMLINK somTP_ODDocument_somDumpSelfInt(ODDocument *somSelf,
long level);
typedef somTP_ODDocument_somDumpSelfInt *somTD_ODDocument_somDumpSelfInt;
}
#endif /* ODDocument_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for ODDocument
*/
class ODDocument : public ODRefCntObject
{
public:
// ODDocument::new creates the class object if necessary, and then uses somNewNoInit
// to allocate memory and create the object. Initialization is in ctors.
void *operator new(size_t)
{
if (!_ODDocument) ODDocumentNewClass(ODDocument_MajorVersion,ODDocument_MinorVersion);
return (void*)
SOM_Resolve(_ODDocument,SOMClass,somNewNoInit)
((SOMClass *)((void*)_ODDocument));
}
// ODDocument::delete uses somDestruct.
void operator delete(void * obj)
{
if (obj && *(void**)obj) {
SOM_Resolve(obj,SOMObject,somFree)
((SOMObject*)obj);
}
}
ODDocument& operator=(ODDocument& fromObj)
{
this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
return *this;
}
ODDocument()
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODDocumentCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultInit(0);
}
ODDocument(ODDocument* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODDocumentCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(nocnv,nopar)
#endif
ODDocument(const ODDocument* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODDocumentCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(restore)
#endif
/* method: GetContainer */
ODContainer* GetContainer(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODContainer* __somResult =
SOM_ResolveD(this,ODDocument,ODDocument,GetContainer)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODDocument,GetContainer)
(this, ev);
#endif
}
/* method: GetID */
ODDocumentID GetID(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODDocumentID __somResult =
SOM_ResolveD(this,ODDocument,ODDocument,GetID)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODDocument,GetID)
(this, ev);
#endif
}
/* method: GetName */
ODDocumentName GetName(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODDocumentName __somResult =
SOM_ResolveD(this,ODDocument,ODDocument,GetName)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODDocument,GetName)
(this, ev);
#endif
}
/* method: SetName */
void SetName(Environment *ev,
ODDocumentName* name)
{
SOM_ResolveD(this,ODDocument,ODDocument,SetName)
(this, ev,name);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: CollapseDrafts */
ODDocument* CollapseDrafts(Environment *ev,
ODDraft* from,
ODDraft* to)
{
#ifdef SOMCHKEXCEPT
ODDocument* __somResult =
SOM_ResolveD(this,ODDocument,ODDocument,CollapseDrafts)
(this, ev,from,to);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODDocument,CollapseDrafts)
(this, ev,from,to);
#endif
}
/* method: AcquireDraft */
ODDraft* AcquireDraft(Environment *ev,
ODDraftPermissions perms,
ODDraftID id,
ODDraft* draft,
ODPositionCode posCode,
ODBoolean release)
{
#ifdef SOMCHKEXCEPT
ODDraft* __somResult =
SOM_ResolveD(this,ODDocument,ODDocument,AcquireDraft)
(this, ev,perms,id,draft,posCode,release);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODDocument,AcquireDraft)
(this, ev,perms,id,draft,posCode,release);
#endif
}
/* method: Exists */
ODBoolean Exists(Environment *ev,
ODDraftID id,
ODDraft* draft,
ODPositionCode posCode)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODDocument,ODDocument,Exists)
(this, ev,id,draft,posCode);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODDocument,Exists)
(this, ev,id,draft,posCode);
#endif
}
/* method: AcquireBaseDraft */
ODDraft* AcquireBaseDraft(Environment *ev,
ODDraftPermissions perms)
{
#ifdef SOMCHKEXCEPT
ODDraft* __somResult =
SOM_ResolveD(this,ODDocument,ODDocument,AcquireBaseDraft)
(this, ev,perms);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODDocument,AcquireBaseDraft)
(this, ev,perms);
#endif
}
/* method: CreateDraft */
ODDraft* CreateDraft(Environment *ev,
ODDraft* below,
ODBoolean releaseBelow)
{
#ifdef SOMCHKEXCEPT
ODDraft* __somResult =
SOM_ResolveD(this,ODDocument,ODDocument,CreateDraft)
(this, ev,below,releaseBelow);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODDocument,CreateDraft)
(this, ev,below,releaseBelow);
#endif
}
/* method: SaveToAPrevDraft */
void SaveToAPrevDraft(Environment *ev,
ODDraft* from,
ODDraft* to)
{
SOM_ResolveD(this,ODDocument,ODDocument,SaveToAPrevDraft)
(this, ev,from,to);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: SetBaseDraftFromForeignDraft */
void SetBaseDraftFromForeignDraft(Environment *ev,
ODDraft* draft)
{
SOM_ResolveD(this,ODDocument,ODDocument,SetBaseDraftFromForeignDraft)
(this, ev,draft);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/*
* Reintroduce inherited methods
*/
/* method: InitRefCntObject */
void InitRefCntObject(Environment *ev)
{
SOM_ResolveD(this,ODDocument,ODRefCntObject,InitRefCntObject)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Acquire */
void Acquire(Environment *ev)
{
SOM_ResolveD(this,ODDocument,ODRefCntObject,Acquire)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,ODDocument,ODRefCntObject,Release)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: GetRefCount */
ODULong GetRefCount(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODULong __somResult =
SOM_ResolveD(this,ODDocument,ODRefCntObject,GetRefCount)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODRefCntObject,GetRefCount)
(this, ev);
#endif
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,ODDocument,SOMObject,somUninit)
(this);
}
/* method: InitObject */
void InitObject(Environment *ev)
{
SOM_ResolveD(this,ODDocument,ODObject,InitObject)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: HasExtension */
ODBoolean HasExtension(Environment *ev,
ODType extensionName)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODDocument,ODObject,HasExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODObject,HasExtension)
(this, ev,extensionName);
#endif
}
/* method: AcquireExtension */
ODExtension* AcquireExtension(Environment *ev,
ODType extensionName)
{
#ifdef SOMCHKEXCEPT
ODExtension* __somResult =
SOM_ResolveD(this,ODDocument,ODObject,AcquireExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODObject,AcquireExtension)
(this, ev,extensionName);
#endif
}
/* method: ReleaseExtension */
void ReleaseExtension(Environment *ev,
ODExtension* extension)
{
SOM_ResolveD(this,ODDocument,ODObject,ReleaseExtension)
(this, ev,extension);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Purge */
ODSize Purge(Environment *ev,
ODSize size)
{
#ifdef SOMCHKEXCEPT
ODSize __somResult =
SOM_ResolveD(this,ODDocument,ODObject,Purge)
(this, ev,size);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODObject,Purge)
(this, ev,size);
#endif
}
/* method: IsEqualTo */
ODBoolean IsEqualTo(Environment *ev,
ODObject* object)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODDocument,ODObject,IsEqualTo)
(this, ev,object);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODDocument,ODObject,IsEqualTo)
(this, ev,object);
#endif
}
/* method: SubClassResponsibility */
void SubClassResponsibility(Environment *ev)
{
SOM_ResolveD(this,ODDocument,ODObject,SubClassResponsibility)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,ODDocument,SOMObject,somInit)
(this);
}
/* initializer method: somDefaultInit */
void somDefaultInit(som3InitCtrl* ctrl)
{
SOM_ResolveD(this,ODDocument,SOMObject,somDefaultInit)
(this,ctrl);
}
/* method: somDestruct */
void somDestruct(octet doFree,
som3DestructCtrl* ctrl)
{
SOM_ResolveD(this,ODDocument,SOMObject,somDestruct)
(this,doFree,ctrl);
}
/* initializer method: somDefaultCopyInit */
void somDefaultCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODDocument,SOMObject,somDefaultCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultAssign */
ODDocument* somDefaultAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODDocument,SOMObject,somDefaultAssign)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstCopyInit */
void somDefaultConstCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODDocument,SOMObject,somDefaultConstCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultVCopyInit */
void somDefaultVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODDocument,SOMObject,somDefaultVCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstVCopyInit */
void somDefaultConstVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODDocument,SOMObject,somDefaultConstVCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultConstAssign */
ODDocument* somDefaultConstAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODDocument,SOMObject,somDefaultConstAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultVAssign */
ODDocument* somDefaultVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODDocument,SOMObject,somDefaultVAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultConstVAssign */
ODDocument* somDefaultConstVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODDocument,SOMObject,somDefaultConstVAssign)
(this,ctrl,fromObj);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,ODDocument,SOMObject,somFree)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,ODDocument,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
string somGetClassName()
{
return SOM_ResolveD(this,ODDocument,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,ODDocument,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODDocument,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODDocument,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,ODDocument,SOMObject,somRespondsTo)
(this,mId);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean ODDocument_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODDocument,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
SOM_ResolveD(this,ODDocument,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean ODDocument_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODDocument,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
SOM_ResolveD(this,ODDocument,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,ODDocument,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,ODDocument,SOMObject,somResetObj)
(this);
}
/* va_list method: somDispatchV */
/* the va_list invocation form */
void ODDocument_somDispatchV(somId methodId,
somId descriptor,
va_list ap)
{ SOM_ResolveD(this,ODDocument,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
void somDispatchV(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
SOM_ResolveD(this,ODDocument,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
va_end(ap);
}
/* va_list method: somDispatchL */
/* the va_list invocation form */
long ODDocument_somDispatchL(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODDocument,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
long somDispatchL(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
long __somResult =
SOM_ResolveD(this,ODDocument,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchA */
/* the va_list invocation form */
void* ODDocument_somDispatchA(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODDocument,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
void* somDispatchA(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
void* __somResult =
SOM_ResolveD(this,ODDocument,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchD */
/* the va_list invocation form */
double ODDocument_somDispatchD(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODDocument,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
double somDispatchD(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
double __somResult =
SOM_ResolveD(this,ODDocument,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,ODDocument,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,ODDocument,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,ODDocument,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* ODDocument */
#endif /* SOM_ODDocument_xh */