home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
PstObj.xh
< prev
next >
Wrap
Text File
|
1997-04-02
|
29KB
|
934 lines
/*
* This file was generated by the SOM Compiler.
* FileName: F:\build\os2\ship\include\PstObj.xh.
* Generated using:
* SOM Precompiler somipc: 2.29.1.17
* SOM Emitter emitxh: 2.47
*/
#ifndef SOM_ODPersistentObject_xh
#define SOM_ODPersistentObject_xh
class ODPersistentObject;
#define ODPersistentObject_MajorVersion 1
#define ODPersistentObject_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_ODRefCntObject_xh
#include <RefCtObj.xh>
#endif
#ifndef ODPersistentObject_API
#define ODPersistentObject_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 ODPersistentObject;
class ODStorageUnit;
/*
* End of bindings for IDL types.
*/
/* A procedure to create the ODPersistentObject Class */
SOMEXTERN SOMClass * SOMLINK ODPersistentObjectNewClass(
integer4 majorVersion,
integer4 minorVersion);
/* The API to the ODPersistentObject class object, and the methods it introduces. */
SOMEXTERN struct ODPersistentObjectClassDataStructure {
SOMClass *classObject;
somMToken InitPersistentObject;
somMToken InitPersistentObjectFromStorage;
somMToken ReleaseAll;
somMToken Externalize;
somMToken GetStorageUnit;
somMToken GetID;
somMToken CloneInto;
} SOMDLINK ODPersistentObjectClassData;
#define _ODPersistentObject ODPersistentObjectClassData.classObject
/* The API to parentMtabs for ODPersistentObject, and the instance data it introduces. */
SOMEXTERN struct ODPersistentObjectCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} SOMDLINK ODPersistentObjectCClassData;
/*
* -- Typedefs for ODPersistentObject Method Procedures
*/
SOMEXTERN {
typedef void SOMLINK somTP_ODPersistentObject_InitPersistentObject(ODPersistentObject *somSelf, Environment *ev,
ODStorageUnit* storageUnit);
typedef somTP_ODPersistentObject_InitPersistentObject *somTD_ODPersistentObject_InitPersistentObject;
typedef void SOMLINK somTP_ODPersistentObject_InitPersistentObjectFromStorage(ODPersistentObject *somSelf, Environment *ev,
ODStorageUnit* storageUnit);
typedef somTP_ODPersistentObject_InitPersistentObjectFromStorage *somTD_ODPersistentObject_InitPersistentObjectFromStorage;
typedef void SOMLINK somTP_ODPersistentObject_ReleaseAll(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_ReleaseAll *somTD_ODPersistentObject_ReleaseAll;
typedef void SOMLINK somTP_ODPersistentObject_Externalize(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_Externalize *somTD_ODPersistentObject_Externalize;
typedef ODStorageUnit* SOMLINK somTP_ODPersistentObject_GetStorageUnit(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_GetStorageUnit *somTD_ODPersistentObject_GetStorageUnit;
typedef ODID SOMLINK somTP_ODPersistentObject_GetID(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_GetID *somTD_ODPersistentObject_GetID;
typedef void SOMLINK somTP_ODPersistentObject_CloneInto(ODPersistentObject *somSelf, Environment *ev,
ODDraftKey key,
ODStorageUnit* toSU,
ODFrame* scope);
typedef somTP_ODPersistentObject_CloneInto *somTD_ODPersistentObject_CloneInto;
/*
* -- Typedefs for Reintroduced Wrapper Methods
*/
typedef void SOMLINK somTP_ODPersistentObject_InitRefCntObject(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_InitRefCntObject *somTD_ODPersistentObject_InitRefCntObject;
typedef void SOMLINK somTP_ODPersistentObject_Acquire(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_Acquire *somTD_ODPersistentObject_Acquire;
typedef void SOMLINK somTP_ODPersistentObject_Release(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_Release *somTD_ODPersistentObject_Release;
typedef ODULong SOMLINK somTP_ODPersistentObject_GetRefCount(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_GetRefCount *somTD_ODPersistentObject_GetRefCount;
typedef void SOMLINK somTP_ODPersistentObject_somUninit(ODPersistentObject *somSelf);
typedef somTP_ODPersistentObject_somUninit *somTD_ODPersistentObject_somUninit;
typedef void SOMLINK somTP_ODPersistentObject_InitObject(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_InitObject *somTD_ODPersistentObject_InitObject;
typedef ODBoolean SOMLINK somTP_ODPersistentObject_HasExtension(ODPersistentObject *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODPersistentObject_HasExtension *somTD_ODPersistentObject_HasExtension;
typedef ODExtension* SOMLINK somTP_ODPersistentObject_AcquireExtension(ODPersistentObject *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODPersistentObject_AcquireExtension *somTD_ODPersistentObject_AcquireExtension;
typedef void SOMLINK somTP_ODPersistentObject_ReleaseExtension(ODPersistentObject *somSelf, Environment *ev,
ODExtension* extension);
typedef somTP_ODPersistentObject_ReleaseExtension *somTD_ODPersistentObject_ReleaseExtension;
typedef ODSize SOMLINK somTP_ODPersistentObject_Purge(ODPersistentObject *somSelf, Environment *ev,
ODSize size);
typedef somTP_ODPersistentObject_Purge *somTD_ODPersistentObject_Purge;
typedef ODBoolean SOMLINK somTP_ODPersistentObject_IsEqualTo(ODPersistentObject *somSelf, Environment *ev,
ODObject* object);
typedef somTP_ODPersistentObject_IsEqualTo *somTD_ODPersistentObject_IsEqualTo;
typedef void SOMLINK somTP_ODPersistentObject_SubClassResponsibility(ODPersistentObject *somSelf, Environment *ev);
typedef somTP_ODPersistentObject_SubClassResponsibility *somTD_ODPersistentObject_SubClassResponsibility;
typedef void SOMLINK somTP_ODPersistentObject_somInit(ODPersistentObject *somSelf);
typedef somTP_ODPersistentObject_somInit *somTD_ODPersistentObject_somInit;
typedef void SOMLINK somTP_ODPersistentObject_somDefaultInit(ODPersistentObject *somSelf,
som3InitCtrl* ctrl);
typedef somTP_ODPersistentObject_somDefaultInit *somTD_ODPersistentObject_somDefaultInit;
typedef void SOMLINK somTP_ODPersistentObject_somDestruct(ODPersistentObject *somSelf,
octet doFree,
som3DestructCtrl* ctrl);
typedef somTP_ODPersistentObject_somDestruct *somTD_ODPersistentObject_somDestruct;
typedef void SOMLINK somTP_ODPersistentObject_somDefaultCopyInit(ODPersistentObject *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODPersistentObject_somDefaultCopyInit *somTD_ODPersistentObject_somDefaultCopyInit;
typedef ODPersistentObject* SOMLINK somTP_ODPersistentObject_somDefaultAssign(ODPersistentObject *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODPersistentObject_somDefaultAssign *somTD_ODPersistentObject_somDefaultAssign;
typedef void SOMLINK somTP_ODPersistentObject_somDefaultConstCopyInit(ODPersistentObject *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODPersistentObject_somDefaultConstCopyInit *somTD_ODPersistentObject_somDefaultConstCopyInit;
typedef void SOMLINK somTP_ODPersistentObject_somDefaultVCopyInit(ODPersistentObject *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODPersistentObject_somDefaultVCopyInit *somTD_ODPersistentObject_somDefaultVCopyInit;
typedef void SOMLINK somTP_ODPersistentObject_somDefaultConstVCopyInit(ODPersistentObject *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODPersistentObject_somDefaultConstVCopyInit *somTD_ODPersistentObject_somDefaultConstVCopyInit;
typedef ODPersistentObject* SOMLINK somTP_ODPersistentObject_somDefaultConstAssign(ODPersistentObject *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODPersistentObject_somDefaultConstAssign *somTD_ODPersistentObject_somDefaultConstAssign;
typedef ODPersistentObject* SOMLINK somTP_ODPersistentObject_somDefaultVAssign(ODPersistentObject *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODPersistentObject_somDefaultVAssign *somTD_ODPersistentObject_somDefaultVAssign;
typedef ODPersistentObject* SOMLINK somTP_ODPersistentObject_somDefaultConstVAssign(ODPersistentObject *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODPersistentObject_somDefaultConstVAssign *somTD_ODPersistentObject_somDefaultConstVAssign;
typedef void SOMLINK somTP_ODPersistentObject_somFree(ODPersistentObject *somSelf);
typedef somTP_ODPersistentObject_somFree *somTD_ODPersistentObject_somFree;
typedef SOMClass* SOMLINK somTP_ODPersistentObject_somGetClass(ODPersistentObject *somSelf);
typedef somTP_ODPersistentObject_somGetClass *somTD_ODPersistentObject_somGetClass;
typedef string SOMLINK somTP_ODPersistentObject_somGetClassName(ODPersistentObject *somSelf);
typedef somTP_ODPersistentObject_somGetClassName *somTD_ODPersistentObject_somGetClassName;
typedef long SOMLINK somTP_ODPersistentObject_somGetSize(ODPersistentObject *somSelf);
typedef somTP_ODPersistentObject_somGetSize *somTD_ODPersistentObject_somGetSize;
typedef boolean SOMLINK somTP_ODPersistentObject_somIsA(ODPersistentObject *somSelf,
SOMClass* aClassObj);
typedef somTP_ODPersistentObject_somIsA *somTD_ODPersistentObject_somIsA;
typedef boolean SOMLINK somTP_ODPersistentObject_somIsInstanceOf(ODPersistentObject *somSelf,
SOMClass* aClassObj);
typedef somTP_ODPersistentObject_somIsInstanceOf *somTD_ODPersistentObject_somIsInstanceOf;
typedef boolean SOMLINK somTP_ODPersistentObject_somRespondsTo(ODPersistentObject *somSelf,
somId mId);
typedef somTP_ODPersistentObject_somRespondsTo *somTD_ODPersistentObject_somRespondsTo;
typedef boolean SOMLINK somTP_ODPersistentObject_somDispatch(ODPersistentObject *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODPersistentObject_somDispatch *somTD_ODPersistentObject_somDispatch;
typedef boolean SOMLINK somTP_ODPersistentObject_somClassDispatch(ODPersistentObject *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODPersistentObject_somClassDispatch *somTD_ODPersistentObject_somClassDispatch;
typedef boolean SOMLINK somTP_ODPersistentObject_somCastObj(ODPersistentObject *somSelf,
SOMClass* cls);
typedef somTP_ODPersistentObject_somCastObj *somTD_ODPersistentObject_somCastObj;
typedef boolean SOMLINK somTP_ODPersistentObject_somResetObj(ODPersistentObject *somSelf);
typedef somTP_ODPersistentObject_somResetObj *somTD_ODPersistentObject_somResetObj;
typedef void SOMLINK somTP_ODPersistentObject_somDispatchV(ODPersistentObject *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODPersistentObject_somDispatchV *somTD_ODPersistentObject_somDispatchV;
typedef long SOMLINK somTP_ODPersistentObject_somDispatchL(ODPersistentObject *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODPersistentObject_somDispatchL *somTD_ODPersistentObject_somDispatchL;
typedef void* SOMLINK somTP_ODPersistentObject_somDispatchA(ODPersistentObject *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODPersistentObject_somDispatchA *somTD_ODPersistentObject_somDispatchA;
typedef double SOMLINK somTP_ODPersistentObject_somDispatchD(ODPersistentObject *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODPersistentObject_somDispatchD *somTD_ODPersistentObject_somDispatchD;
typedef SOMObject* SOMLINK somTP_ODPersistentObject_somPrintSelf(ODPersistentObject *somSelf);
typedef somTP_ODPersistentObject_somPrintSelf *somTD_ODPersistentObject_somPrintSelf;
typedef void SOMLINK somTP_ODPersistentObject_somDumpSelf(ODPersistentObject *somSelf,
long level);
typedef somTP_ODPersistentObject_somDumpSelf *somTD_ODPersistentObject_somDumpSelf;
typedef void SOMLINK somTP_ODPersistentObject_somDumpSelfInt(ODPersistentObject *somSelf,
long level);
typedef somTP_ODPersistentObject_somDumpSelfInt *somTD_ODPersistentObject_somDumpSelfInt;
}
#endif /* ODPersistentObject_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 ODPersistentObject
*/
class ODPersistentObject : public ODRefCntObject
{
public:
// ODPersistentObject::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 (!_ODPersistentObject) ODPersistentObjectNewClass(ODPersistentObject_MajorVersion,ODPersistentObject_MinorVersion);
return (void*)
SOM_Resolve(_ODPersistentObject,SOMClass,somNewNoInit)
((SOMClass *)((void*)_ODPersistentObject));
}
// ODPersistentObject::delete uses somDestruct.
void operator delete(void * obj)
{
if (obj && *(void**)obj) {
SOM_Resolve(obj,SOMObject,somFree)
((SOMObject*)obj);
}
}
ODPersistentObject& operator=(ODPersistentObject& fromObj)
{
this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
return *this;
}
ODPersistentObject()
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODPersistentObjectCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultInit(0);
}
ODPersistentObject(ODPersistentObject* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODPersistentObjectCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(nocnv,nopar)
#endif
ODPersistentObject(const ODPersistentObject* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODPersistentObjectCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(restore)
#endif
/* method: InitPersistentObject */
void InitPersistentObject(Environment *ev,
ODStorageUnit* storageUnit)
{
SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,InitPersistentObject)
(this, ev,storageUnit);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: InitPersistentObjectFromStorage */
void InitPersistentObjectFromStorage(Environment *ev,
ODStorageUnit* storageUnit)
{
SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,InitPersistentObjectFromStorage)
(this, ev,storageUnit);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: ReleaseAll */
void ReleaseAll(Environment *ev)
{
SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,ReleaseAll)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Externalize */
void Externalize(Environment *ev)
{
SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,Externalize)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: GetStorageUnit */
ODStorageUnit* GetStorageUnit(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODStorageUnit* __somResult =
SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,GetStorageUnit)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,GetStorageUnit)
(this, ev);
#endif
}
/* method: GetID */
ODID GetID(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODID __somResult =
SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,GetID)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,GetID)
(this, ev);
#endif
}
/* method: CloneInto */
void CloneInto(Environment *ev,
ODDraftKey key,
ODStorageUnit* toSU,
ODFrame* scope)
{
SOM_ResolveD(this,ODPersistentObject,ODPersistentObject,CloneInto)
(this, ev,key,toSU,scope);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/*
* Reintroduce inherited methods
*/
/* method: InitRefCntObject */
void InitRefCntObject(Environment *ev)
{
SOM_ResolveD(this,ODPersistentObject,ODRefCntObject,InitRefCntObject)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Acquire */
void Acquire(Environment *ev)
{
SOM_ResolveD(this,ODPersistentObject,ODRefCntObject,Acquire)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,ODRefCntObject,GetRefCount)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODPersistentObject,ODRefCntObject,GetRefCount)
(this, ev);
#endif
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somUninit)
(this);
}
/* method: InitObject */
void InitObject(Environment *ev)
{
SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,ODObject,HasExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODPersistentObject,ODObject,HasExtension)
(this, ev,extensionName);
#endif
}
/* method: AcquireExtension */
ODExtension* AcquireExtension(Environment *ev,
ODType extensionName)
{
#ifdef SOMCHKEXCEPT
ODExtension* __somResult =
SOM_ResolveD(this,ODPersistentObject,ODObject,AcquireExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODPersistentObject,ODObject,AcquireExtension)
(this, ev,extensionName);
#endif
}
/* method: ReleaseExtension */
void ReleaseExtension(Environment *ev,
ODExtension* extension)
{
SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,ODObject,Purge)
(this, ev,size);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODPersistentObject,ODObject,Purge)
(this, ev,size);
#endif
}
/* method: IsEqualTo */
ODBoolean IsEqualTo(Environment *ev,
ODObject* object)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODPersistentObject,ODObject,IsEqualTo)
(this, ev,object);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODPersistentObject,ODObject,IsEqualTo)
(this, ev,object);
#endif
}
/* method: SubClassResponsibility */
void SubClassResponsibility(Environment *ev)
{
SOM_ResolveD(this,ODPersistentObject,ODObject,SubClassResponsibility)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somInit)
(this);
}
/* initializer method: somDefaultInit */
void somDefaultInit(som3InitCtrl* ctrl)
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultInit)
(this,ctrl);
}
/* method: somDestruct */
void somDestruct(octet doFree,
som3DestructCtrl* ctrl)
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somDestruct)
(this,doFree,ctrl);
}
/* initializer method: somDefaultCopyInit */
void somDefaultCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultAssign */
ODPersistentObject* somDefaultAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultAssign)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstCopyInit */
void somDefaultConstCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultConstCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultVCopyInit */
void somDefaultVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultVCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstVCopyInit */
void somDefaultConstVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultConstVCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultConstAssign */
ODPersistentObject* somDefaultConstAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultConstAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultVAssign */
ODPersistentObject* somDefaultVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultVAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultConstVAssign */
ODPersistentObject* somDefaultConstVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somDefaultConstVAssign)
(this,ctrl,fromObj);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somFree)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
string somGetClassName()
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somRespondsTo)
(this,mId);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean ODPersistentObject_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean ODPersistentObject_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somResetObj)
(this);
}
/* va_list method: somDispatchV */
/* the va_list invocation form */
void ODPersistentObject_somDispatchV(somId methodId,
somId descriptor,
va_list ap)
{ SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
va_end(ap);
}
/* va_list method: somDispatchL */
/* the va_list invocation form */
long ODPersistentObject_somDispatchL(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchA */
/* the va_list invocation form */
void* ODPersistentObject_somDispatchA(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchD */
/* the va_list invocation form */
double ODPersistentObject_somDispatchD(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODPersistentObject,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,ODPersistentObject,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,ODPersistentObject,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,ODPersistentObject,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* ODPersistentObject */
#endif /* SOM_ODPersistentObject_xh */