home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
ObjectNS.xh
< prev
next >
Wrap
Text File
|
1997-04-02
|
30KB
|
987 lines
/*
* This file was generated by the SOM Compiler.
* FileName: F:\build\os2\ship\include\ObjectNS.xh.
* Generated using:
* SOM Precompiler somipc: 2.29.1.17
* SOM Emitter emitxh: 2.47
*/
#ifndef SOM_ODObjectNameSpace_xh
#define SOM_ODObjectNameSpace_xh
class ODObjectNameSpace;
#define ODObjectNameSpace_MajorVersion 1
#define ODObjectNameSpace_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_ODNameSpace_xh
#include <NamSpac.xh>
#endif
#ifndef ODObjectNameSpace_API
#define ODObjectNameSpace_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 ODNameSpace;
class ODStorageUnitView;
class ODObjectNameSpace;
class ODObjectIterator;
/*
* End of bindings for IDL types.
*/
/* A procedure to create the ODObjectNameSpace Class */
SOMEXTERN SOMClass * SOMLINK ODObjectNameSpaceNewClass(
integer4 majorVersion,
integer4 minorVersion);
/* The API to the ODObjectNameSpace class object, and the methods it introduces. */
SOMEXTERN struct ODObjectNameSpaceClassDataStructure {
SOMClass *classObject;
somMToken Register;
somMToken GetEntry;
somMToken CreateIterator;
somMToken reserved1;
} SOMDLINK ODObjectNameSpaceClassData;
#define _ODObjectNameSpace ODObjectNameSpaceClassData.classObject
/* The API to parentMtabs for ODObjectNameSpace, and the instance data it introduces. */
SOMEXTERN struct ODObjectNameSpaceCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} SOMDLINK ODObjectNameSpaceCClassData;
/*
* -- Typedefs for ODObjectNameSpace Method Procedures
*/
SOMEXTERN {
typedef void SOMLINK somTP_ODObjectNameSpace_Register(ODObjectNameSpace *somSelf, Environment *ev,
ODISOStr key,
ODObject* object);
typedef somTP_ODObjectNameSpace_Register *somTD_ODObjectNameSpace_Register;
typedef ODBoolean SOMLINK somTP_ODObjectNameSpace_GetEntry(ODObjectNameSpace *somSelf, Environment *ev,
ODISOStr key,
ODObject** object);
typedef somTP_ODObjectNameSpace_GetEntry *somTD_ODObjectNameSpace_GetEntry;
typedef ODObjectIterator* SOMLINK somTP_ODObjectNameSpace_CreateIterator(ODObjectNameSpace *somSelf, Environment *ev);
typedef somTP_ODObjectNameSpace_CreateIterator *somTD_ODObjectNameSpace_CreateIterator;
/*
* -- Typedefs for Reintroduced Wrapper Methods
*/
typedef ODISOStr SOMLINK somTP_ODObjectNameSpace_GetName(ODObjectNameSpace *somSelf, Environment *ev);
typedef somTP_ODObjectNameSpace_GetName *somTD_ODObjectNameSpace_GetName;
typedef ODNSTypeSpec SOMLINK somTP_ODObjectNameSpace_GetType(ODObjectNameSpace *somSelf, Environment *ev);
typedef somTP_ODObjectNameSpace_GetType *somTD_ODObjectNameSpace_GetType;
typedef ODNameSpace* SOMLINK somTP_ODObjectNameSpace_GetParent(ODObjectNameSpace *somSelf, Environment *ev);
typedef somTP_ODObjectNameSpace_GetParent *somTD_ODObjectNameSpace_GetParent;
typedef void SOMLINK somTP_ODObjectNameSpace_SetType(ODObjectNameSpace *somSelf, Environment *ev,
ODNSTypeSpec type);
typedef somTP_ODObjectNameSpace_SetType *somTD_ODObjectNameSpace_SetType;
typedef void SOMLINK somTP_ODObjectNameSpace_Unregister(ODObjectNameSpace *somSelf, Environment *ev,
ODISOStr key);
typedef somTP_ODObjectNameSpace_Unregister *somTD_ODObjectNameSpace_Unregister;
typedef ODBoolean SOMLINK somTP_ODObjectNameSpace_Exists(ODObjectNameSpace *somSelf, Environment *ev,
ODISOStr key);
typedef somTP_ODObjectNameSpace_Exists *somTD_ODObjectNameSpace_Exists;
typedef void SOMLINK somTP_ODObjectNameSpace_WriteToFile(ODObjectNameSpace *somSelf, Environment *ev,
ODByteArray* file);
typedef somTP_ODObjectNameSpace_WriteToFile *somTD_ODObjectNameSpace_WriteToFile;
typedef void SOMLINK somTP_ODObjectNameSpace_ReadFromFile(ODObjectNameSpace *somSelf, Environment *ev,
ODByteArray* file);
typedef somTP_ODObjectNameSpace_ReadFromFile *somTD_ODObjectNameSpace_ReadFromFile;
typedef void SOMLINK somTP_ODObjectNameSpace_WriteToStorage(ODObjectNameSpace *somSelf, Environment *ev,
ODStorageUnitView* view);
typedef somTP_ODObjectNameSpace_WriteToStorage *somTD_ODObjectNameSpace_WriteToStorage;
typedef void SOMLINK somTP_ODObjectNameSpace_ReadFromStorage(ODObjectNameSpace *somSelf, Environment *ev,
ODStorageUnitView* view);
typedef somTP_ODObjectNameSpace_ReadFromStorage *somTD_ODObjectNameSpace_ReadFromStorage;
typedef void SOMLINK somTP_ODObjectNameSpace_somUninit(ODObjectNameSpace *somSelf);
typedef somTP_ODObjectNameSpace_somUninit *somTD_ODObjectNameSpace_somUninit;
typedef ODSize SOMLINK somTP_ODObjectNameSpace_Purge(ODObjectNameSpace *somSelf, Environment *ev,
ODSize size);
typedef somTP_ODObjectNameSpace_Purge *somTD_ODObjectNameSpace_Purge;
typedef void SOMLINK somTP_ODObjectNameSpace_InitObject(ODObjectNameSpace *somSelf, Environment *ev);
typedef somTP_ODObjectNameSpace_InitObject *somTD_ODObjectNameSpace_InitObject;
typedef ODBoolean SOMLINK somTP_ODObjectNameSpace_HasExtension(ODObjectNameSpace *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODObjectNameSpace_HasExtension *somTD_ODObjectNameSpace_HasExtension;
typedef ODExtension* SOMLINK somTP_ODObjectNameSpace_AcquireExtension(ODObjectNameSpace *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODObjectNameSpace_AcquireExtension *somTD_ODObjectNameSpace_AcquireExtension;
typedef void SOMLINK somTP_ODObjectNameSpace_ReleaseExtension(ODObjectNameSpace *somSelf, Environment *ev,
ODExtension* extension);
typedef somTP_ODObjectNameSpace_ReleaseExtension *somTD_ODObjectNameSpace_ReleaseExtension;
typedef ODBoolean SOMLINK somTP_ODObjectNameSpace_IsEqualTo(ODObjectNameSpace *somSelf, Environment *ev,
ODObject* object);
typedef somTP_ODObjectNameSpace_IsEqualTo *somTD_ODObjectNameSpace_IsEqualTo;
typedef void SOMLINK somTP_ODObjectNameSpace_SubClassResponsibility(ODObjectNameSpace *somSelf, Environment *ev);
typedef somTP_ODObjectNameSpace_SubClassResponsibility *somTD_ODObjectNameSpace_SubClassResponsibility;
typedef void SOMLINK somTP_ODObjectNameSpace_somInit(ODObjectNameSpace *somSelf);
typedef somTP_ODObjectNameSpace_somInit *somTD_ODObjectNameSpace_somInit;
typedef void SOMLINK somTP_ODObjectNameSpace_somDefaultInit(ODObjectNameSpace *somSelf,
som3InitCtrl* ctrl);
typedef somTP_ODObjectNameSpace_somDefaultInit *somTD_ODObjectNameSpace_somDefaultInit;
typedef void SOMLINK somTP_ODObjectNameSpace_somDestruct(ODObjectNameSpace *somSelf,
octet doFree,
som3DestructCtrl* ctrl);
typedef somTP_ODObjectNameSpace_somDestruct *somTD_ODObjectNameSpace_somDestruct;
typedef void SOMLINK somTP_ODObjectNameSpace_somDefaultCopyInit(ODObjectNameSpace *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODObjectNameSpace_somDefaultCopyInit *somTD_ODObjectNameSpace_somDefaultCopyInit;
typedef ODObjectNameSpace* SOMLINK somTP_ODObjectNameSpace_somDefaultAssign(ODObjectNameSpace *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODObjectNameSpace_somDefaultAssign *somTD_ODObjectNameSpace_somDefaultAssign;
typedef void SOMLINK somTP_ODObjectNameSpace_somDefaultConstCopyInit(ODObjectNameSpace *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODObjectNameSpace_somDefaultConstCopyInit *somTD_ODObjectNameSpace_somDefaultConstCopyInit;
typedef void SOMLINK somTP_ODObjectNameSpace_somDefaultVCopyInit(ODObjectNameSpace *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODObjectNameSpace_somDefaultVCopyInit *somTD_ODObjectNameSpace_somDefaultVCopyInit;
typedef void SOMLINK somTP_ODObjectNameSpace_somDefaultConstVCopyInit(ODObjectNameSpace *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODObjectNameSpace_somDefaultConstVCopyInit *somTD_ODObjectNameSpace_somDefaultConstVCopyInit;
typedef ODObjectNameSpace* SOMLINK somTP_ODObjectNameSpace_somDefaultConstAssign(ODObjectNameSpace *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODObjectNameSpace_somDefaultConstAssign *somTD_ODObjectNameSpace_somDefaultConstAssign;
typedef ODObjectNameSpace* SOMLINK somTP_ODObjectNameSpace_somDefaultVAssign(ODObjectNameSpace *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODObjectNameSpace_somDefaultVAssign *somTD_ODObjectNameSpace_somDefaultVAssign;
typedef ODObjectNameSpace* SOMLINK somTP_ODObjectNameSpace_somDefaultConstVAssign(ODObjectNameSpace *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODObjectNameSpace_somDefaultConstVAssign *somTD_ODObjectNameSpace_somDefaultConstVAssign;
typedef void SOMLINK somTP_ODObjectNameSpace_somFree(ODObjectNameSpace *somSelf);
typedef somTP_ODObjectNameSpace_somFree *somTD_ODObjectNameSpace_somFree;
typedef SOMClass* SOMLINK somTP_ODObjectNameSpace_somGetClass(ODObjectNameSpace *somSelf);
typedef somTP_ODObjectNameSpace_somGetClass *somTD_ODObjectNameSpace_somGetClass;
typedef string SOMLINK somTP_ODObjectNameSpace_somGetClassName(ODObjectNameSpace *somSelf);
typedef somTP_ODObjectNameSpace_somGetClassName *somTD_ODObjectNameSpace_somGetClassName;
typedef long SOMLINK somTP_ODObjectNameSpace_somGetSize(ODObjectNameSpace *somSelf);
typedef somTP_ODObjectNameSpace_somGetSize *somTD_ODObjectNameSpace_somGetSize;
typedef boolean SOMLINK somTP_ODObjectNameSpace_somIsA(ODObjectNameSpace *somSelf,
SOMClass* aClassObj);
typedef somTP_ODObjectNameSpace_somIsA *somTD_ODObjectNameSpace_somIsA;
typedef boolean SOMLINK somTP_ODObjectNameSpace_somIsInstanceOf(ODObjectNameSpace *somSelf,
SOMClass* aClassObj);
typedef somTP_ODObjectNameSpace_somIsInstanceOf *somTD_ODObjectNameSpace_somIsInstanceOf;
typedef boolean SOMLINK somTP_ODObjectNameSpace_somRespondsTo(ODObjectNameSpace *somSelf,
somId mId);
typedef somTP_ODObjectNameSpace_somRespondsTo *somTD_ODObjectNameSpace_somRespondsTo;
typedef boolean SOMLINK somTP_ODObjectNameSpace_somDispatch(ODObjectNameSpace *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODObjectNameSpace_somDispatch *somTD_ODObjectNameSpace_somDispatch;
typedef boolean SOMLINK somTP_ODObjectNameSpace_somClassDispatch(ODObjectNameSpace *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODObjectNameSpace_somClassDispatch *somTD_ODObjectNameSpace_somClassDispatch;
typedef boolean SOMLINK somTP_ODObjectNameSpace_somCastObj(ODObjectNameSpace *somSelf,
SOMClass* cls);
typedef somTP_ODObjectNameSpace_somCastObj *somTD_ODObjectNameSpace_somCastObj;
typedef boolean SOMLINK somTP_ODObjectNameSpace_somResetObj(ODObjectNameSpace *somSelf);
typedef somTP_ODObjectNameSpace_somResetObj *somTD_ODObjectNameSpace_somResetObj;
typedef void SOMLINK somTP_ODObjectNameSpace_somDispatchV(ODObjectNameSpace *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODObjectNameSpace_somDispatchV *somTD_ODObjectNameSpace_somDispatchV;
typedef long SOMLINK somTP_ODObjectNameSpace_somDispatchL(ODObjectNameSpace *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODObjectNameSpace_somDispatchL *somTD_ODObjectNameSpace_somDispatchL;
typedef void* SOMLINK somTP_ODObjectNameSpace_somDispatchA(ODObjectNameSpace *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODObjectNameSpace_somDispatchA *somTD_ODObjectNameSpace_somDispatchA;
typedef double SOMLINK somTP_ODObjectNameSpace_somDispatchD(ODObjectNameSpace *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODObjectNameSpace_somDispatchD *somTD_ODObjectNameSpace_somDispatchD;
typedef SOMObject* SOMLINK somTP_ODObjectNameSpace_somPrintSelf(ODObjectNameSpace *somSelf);
typedef somTP_ODObjectNameSpace_somPrintSelf *somTD_ODObjectNameSpace_somPrintSelf;
typedef void SOMLINK somTP_ODObjectNameSpace_somDumpSelf(ODObjectNameSpace *somSelf,
long level);
typedef somTP_ODObjectNameSpace_somDumpSelf *somTD_ODObjectNameSpace_somDumpSelf;
typedef void SOMLINK somTP_ODObjectNameSpace_somDumpSelfInt(ODObjectNameSpace *somSelf,
long level);
typedef somTP_ODObjectNameSpace_somDumpSelfInt *somTD_ODObjectNameSpace_somDumpSelfInt;
}
#endif /* ODObjectNameSpace_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 ODObjectNameSpace
*/
class ODObjectNameSpace : public ODNameSpace
{
public:
// ODObjectNameSpace::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 (!_ODObjectNameSpace) ODObjectNameSpaceNewClass(ODObjectNameSpace_MajorVersion,ODObjectNameSpace_MinorVersion);
return (void*)
SOM_Resolve(_ODObjectNameSpace,SOMClass,somNewNoInit)
((SOMClass *)((void*)_ODObjectNameSpace));
}
// ODObjectNameSpace::delete uses somDestruct.
void operator delete(void * obj)
{
if (obj && *(void**)obj) {
SOM_Resolve(obj,SOMObject,somFree)
((SOMObject*)obj);
}
}
ODObjectNameSpace& operator=(ODObjectNameSpace& fromObj)
{
this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
return *this;
}
ODObjectNameSpace()
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODObjectNameSpaceCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultInit(0);
}
ODObjectNameSpace(ODObjectNameSpace* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODObjectNameSpaceCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(nocnv,nopar)
#endif
ODObjectNameSpace(const ODObjectNameSpace* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODObjectNameSpaceCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(restore)
#endif
/* method: Register */
void Register(Environment *ev,
ODISOStr key,
ODObject* object)
{
SOM_ResolveD(this,ODObjectNameSpace,ODObjectNameSpace,Register)
(this, ev,key,object);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: GetEntry */
ODBoolean GetEntry(Environment *ev,
ODISOStr key,
ODObject** object)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODObjectNameSpace,GetEntry)
(this, ev,key,object);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODObjectNameSpace,GetEntry)
(this, ev,key,object);
#endif
}
/* method: CreateIterator */
ODObjectIterator* CreateIterator(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODObjectIterator* __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODObjectNameSpace,CreateIterator)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODObjectNameSpace,CreateIterator)
(this, ev);
#endif
}
/*
* Reintroduce inherited methods
*/
/* method: GetName */
ODISOStr GetName(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODISOStr __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,GetName)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,GetName)
(this, ev);
#endif
}
/* method: GetType */
ODNSTypeSpec GetType(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODNSTypeSpec __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,GetType)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,GetType)
(this, ev);
#endif
}
/* method: GetParent */
ODNameSpace* GetParent(Environment *ev)
{
#ifdef SOMCHKEXCEPT
ODNameSpace* __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,GetParent)
(this, ev);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,GetParent)
(this, ev);
#endif
}
/* method: SetType */
void SetType(Environment *ev,
ODNSTypeSpec type)
{
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,SetType)
(this, ev,type);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Unregister */
void Unregister(Environment *ev,
ODISOStr key)
{
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,Unregister)
(this, ev,key);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Exists */
ODBoolean Exists(Environment *ev,
ODISOStr key)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,Exists)
(this, ev,key);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,Exists)
(this, ev,key);
#endif
}
/* method: WriteToFile */
void WriteToFile(Environment *ev,
ODByteArray* file)
{
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,WriteToFile)
(this, ev,file);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: ReadFromFile */
void ReadFromFile(Environment *ev,
ODByteArray* file)
{
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,ReadFromFile)
(this, ev,file);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: WriteToStorage */
void WriteToStorage(Environment *ev,
ODStorageUnitView* view)
{
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,WriteToStorage)
(this, ev,view);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: ReadFromStorage */
void ReadFromStorage(Environment *ev,
ODStorageUnitView* view)
{
SOM_ResolveD(this,ODObjectNameSpace,ODNameSpace,ReadFromStorage)
(this, ev,view);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somUninit)
(this);
}
/* method: Purge */
ODSize Purge(Environment *ev,
ODSize size)
{
#ifdef SOMCHKEXCEPT
ODSize __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODObject,Purge)
(this, ev,size);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODObject,Purge)
(this, ev,size);
#endif
}
/* method: InitObject */
void InitObject(Environment *ev)
{
SOM_ResolveD(this,ODObjectNameSpace,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,ODObjectNameSpace,ODObject,HasExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODObject,HasExtension)
(this, ev,extensionName);
#endif
}
/* method: AcquireExtension */
ODExtension* AcquireExtension(Environment *ev,
ODType extensionName)
{
#ifdef SOMCHKEXCEPT
ODExtension* __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODObject,AcquireExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODObject,AcquireExtension)
(this, ev,extensionName);
#endif
}
/* method: ReleaseExtension */
void ReleaseExtension(Environment *ev,
ODExtension* extension)
{
SOM_ResolveD(this,ODObjectNameSpace,ODObject,ReleaseExtension)
(this, ev,extension);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: IsEqualTo */
ODBoolean IsEqualTo(Environment *ev,
ODObject* object)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODObjectNameSpace,ODObject,IsEqualTo)
(this, ev,object);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODObjectNameSpace,ODObject,IsEqualTo)
(this, ev,object);
#endif
}
/* method: SubClassResponsibility */
void SubClassResponsibility(Environment *ev)
{
SOM_ResolveD(this,ODObjectNameSpace,ODObject,SubClassResponsibility)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somInit)
(this);
}
/* initializer method: somDefaultInit */
void somDefaultInit(som3InitCtrl* ctrl)
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultInit)
(this,ctrl);
}
/* method: somDestruct */
void somDestruct(octet doFree,
som3DestructCtrl* ctrl)
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDestruct)
(this,doFree,ctrl);
}
/* initializer method: somDefaultCopyInit */
void somDefaultCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultAssign */
ODObjectNameSpace* somDefaultAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultAssign)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstCopyInit */
void somDefaultConstCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultConstCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultVCopyInit */
void somDefaultVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultVCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstVCopyInit */
void somDefaultConstVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultConstVCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultConstAssign */
ODObjectNameSpace* somDefaultConstAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultConstAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultVAssign */
ODObjectNameSpace* somDefaultVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultVAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultConstVAssign */
ODObjectNameSpace* somDefaultConstVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDefaultConstVAssign)
(this,ctrl,fromObj);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somFree)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
string somGetClassName()
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somRespondsTo)
(this,mId);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean ODObjectNameSpace_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODObjectNameSpace,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,ODObjectNameSpace,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean ODObjectNameSpace_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODObjectNameSpace,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,ODObjectNameSpace,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somResetObj)
(this);
}
/* va_list method: somDispatchV */
/* the va_list invocation form */
void ODObjectNameSpace_somDispatchV(somId methodId,
somId descriptor,
va_list ap)
{ SOM_ResolveD(this,ODObjectNameSpace,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,ODObjectNameSpace,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
va_end(ap);
}
/* va_list method: somDispatchL */
/* the va_list invocation form */
long ODObjectNameSpace_somDispatchL(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODObjectNameSpace,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,ODObjectNameSpace,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchA */
/* the va_list invocation form */
void* ODObjectNameSpace_somDispatchA(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODObjectNameSpace,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,ODObjectNameSpace,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchD */
/* the va_list invocation form */
double ODObjectNameSpace_somDispatchD(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODObjectNameSpace,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,ODObjectNameSpace,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,ODObjectNameSpace,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* ODObjectNameSpace */
#endif /* SOM_ODObjectNameSpace_xh */