
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\BUILD\NT\ship\include\screxten.xh.
 * Generated using:
 *     SOM Precompiler somipc: Development
 *     SOM Emitter emitxh.dll: Development
 */

#ifndef SOM_ODScriptExtension_xh
#define SOM_ODScriptExtension_xh

class ODScriptExtension;

#define ODScriptExtension_MajorVersion 1
#define ODScriptExtension_MinorVersion 0

/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

/* C++ parent defs */
#ifndef SOM_ODExtension_xh
#include <Extensn.xh>
#endif

#ifndef ODScriptExtension_API
#define ODScriptExtension_API
/*
 * -- The Class API
 */

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODRefCntObject;
class ODScriptExtension;
class ODPart;
class ODStorageUnit;
class ODScriptComponent;
typedef
long  ODScriptExtension_ODScrRegRet;

#ifndef SOM_DONT_USE_SHORT_NAMES
#ifndef SOMTGD_ODScrRegRet
    #ifdef ODScrRegRet
        #undef ODScrRegRet
        #define SOMTGD_ODScrRegRet 1
    #else
        #define ODScrRegRet ODScriptExtension_ODScrRegRet
    #endif /* ODScrRegRet */
#endif /* SOMTGD_ODScrRegRet */
#endif /* SOM_DONT_USE_SHORT_NAMES */

/*
 * End of user-defined types.
 */

/* A procedure to create the ODScriptExtension Class */
SOMEXTERN
#if (defined(SOM_Module_screxten_Source) || defined(ODScriptExtension_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODScriptExtension))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODScriptExtensionNewClass(
		integer4,
		integer4 );

/* The API to the ODScriptExtension class object, and the methods it introduces. */
SOMEXTERN struct ODScriptExtensionClassDataStructure {
	SOMClass *classObject;
	somMToken _get_ReqFlags;
	somMToken _set_ReqFlags;
	somMToken _get_ReqFlagsMask;
	somMToken _set_ReqFlagsMask;
	somMToken InitScriptExtension;
	somMToken SetContainingExtension;
	somMToken InitScriptFromStorage;
	somMToken RetrieveComponentData;
	somMToken ScriptExternalize;
	somMToken ExternalizeComponentData;
	somMToken PutComponentData;
	somMToken InitScriptEditor;
	somMToken EndScripting;
	somMToken Register;
	somMToken DoRegisterClass;
	somMToken DoRegisterObject;
	somMToken DoRegisterObjToComp;
	somMToken DoRegisterContainedPart;
	somMToken DeRegister;
	somMToken DoDeRegisterObject;
	somMToken DoDeRegisterContainedPart;
	somMToken DoDeRegisterExtension;
	somMToken AddContainedPart;
	somMToken DropContainedPart;
	somMToken GetScriptComponent;
	somMToken CheckComponent;
	somMToken getContainingExt;
	somMToken getScrComp;
	somMToken getExtName;
	somMToken setExtName;
	somMToken MarkChanged;
	somMToken NameChanged;
}
#if !(defined(SOM_Module_screxten_Source) || defined(ODScriptExtension_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODScriptExtension))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODScriptExtensionClassData;
#define _ODScriptExtension ODScriptExtensionClassData.classObject

/* The API to parentMtabs for ODScriptExtension, and the instance data it introduces. */
SOMEXTERN struct ODScriptExtensionCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_screxten_Source) || defined(ODScriptExtension_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODScriptExtension))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODScriptExtensionCClassData;

/*
 * -- Typedefs for ODScriptExtension Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_ODScriptExtension_InitScriptExtension(ODScriptExtension *somSelf, Environment *ev,
		ODPart* owner);
typedef somTP_ODScriptExtension_InitScriptExtension *somTD_ODScriptExtension_InitScriptExtension;
typedef void   SOMLINK somTP_ODScriptExtension_SetContainingExtension(ODScriptExtension *somSelf, Environment *ev,
		ODScriptExtension* theContExt);
typedef somTP_ODScriptExtension_SetContainingExtension *somTD_ODScriptExtension_SetContainingExtension;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_InitScriptFromStorage(ODScriptExtension *somSelf, Environment *ev,
		ODPart* owner,
		ODStorageUnit* stor);
typedef somTP_ODScriptExtension_InitScriptFromStorage *somTD_ODScriptExtension_InitScriptFromStorage;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_RetrieveComponentData(ODScriptExtension *somSelf, Environment *ev,
		long* pBufferSize,
		void* pBuffer);
typedef somTP_ODScriptExtension_RetrieveComponentData *somTD_ODScriptExtension_RetrieveComponentData;
typedef void   SOMLINK somTP_ODScriptExtension_ScriptExternalize(ODScriptExtension *somSelf, Environment *ev,
		ODStorageUnit* stor);
typedef somTP_ODScriptExtension_ScriptExternalize *somTD_ODScriptExtension_ScriptExternalize;
typedef void   SOMLINK somTP_ODScriptExtension_ExternalizeComponentData(ODScriptExtension *somSelf, Environment *ev,
		long BufferSZ,
		octet* Buffer,
		ODStorageUnit* stor);
typedef somTP_ODScriptExtension_ExternalizeComponentData *somTD_ODScriptExtension_ExternalizeComponentData;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_PutComponentData(ODScriptExtension *somSelf, Environment *ev,
		long BufferSZ,
		octet* Buffer);
typedef somTP_ODScriptExtension_PutComponentData *somTD_ODScriptExtension_PutComponentData;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_InitScriptEditor(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_InitScriptEditor *somTD_ODScriptExtension_InitScriptEditor;
typedef void   SOMLINK somTP_ODScriptExtension_EndScripting(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_EndScripting *somTD_ODScriptExtension_EndScripting;
typedef ODScriptExtension_ODScrRegRet   SOMLINK somTP_ODScriptExtension_Register(ODScriptExtension *somSelf, Environment *ev,
		ODScriptExtension* RegScope,
		string Prefix);
typedef somTP_ODScriptExtension_Register *somTD_ODScriptExtension_Register;
typedef ODScriptExtension_ODScrRegRet   SOMLINK somTP_ODScriptExtension_DoRegisterClass(ODScriptExtension *somSelf, Environment *ev,
		string theClassName);
typedef somTP_ODScriptExtension_DoRegisterClass *somTD_ODScriptExtension_DoRegisterClass;
typedef ODScriptExtension_ODScrRegRet   SOMLINK somTP_ODScriptExtension_DoRegisterObject(ODScriptExtension *somSelf, Environment *ev,
		SOMObject* theObj,
		string itsClass,
		string itsDefaultName,
		string thePrefix,
		string* theNameUsed,
		ODScriptExtension* itsScope,
		ODBoolean mayAddDigits);
typedef somTP_ODScriptExtension_DoRegisterObject *somTD_ODScriptExtension_DoRegisterObject;
typedef ODScriptExtension_ODScrRegRet   SOMLINK somTP_ODScriptExtension_DoRegisterObjToComp(ODScriptExtension *somSelf, Environment *ev,
		SOMObject* theObj,
		string itsClass,
		string itsDefaultName,
		string thePrefix,
		string* theNameUsed,
		ODScriptExtension* itsScope,
		ODBoolean mayAddDigits,
		ODBoolean registeringObject);
typedef somTP_ODScriptExtension_DoRegisterObjToComp *somTD_ODScriptExtension_DoRegisterObjToComp;
typedef ODScriptExtension_ODScrRegRet   SOMLINK somTP_ODScriptExtension_DoRegisterContainedPart(ODScriptExtension *somSelf, Environment *ev,
		ODPart* thePart,
		string itsName,
		string itsPrefix,
		ODScriptExtension* RegScope,
		string* nameUsed,
		ODBoolean mayAddDigits);
typedef somTP_ODScriptExtension_DoRegisterContainedPart *somTD_ODScriptExtension_DoRegisterContainedPart;
typedef void   SOMLINK somTP_ODScriptExtension_DeRegister(ODScriptExtension *somSelf, Environment *ev,
		ODScriptExtension* ExtScope,
		ODBoolean doContScopes);
typedef somTP_ODScriptExtension_DeRegister *somTD_ODScriptExtension_DeRegister;
typedef void   SOMLINK somTP_ODScriptExtension_DoDeRegisterObject(ODScriptExtension *somSelf, Environment *ev,
		SOMObject* theObject,
		ODScriptExtension* itsScope,
		ODBoolean doContScopes);
typedef somTP_ODScriptExtension_DoDeRegisterObject *somTD_ODScriptExtension_DoDeRegisterObject;
typedef void   SOMLINK somTP_ODScriptExtension_DoDeRegisterContainedPart(ODScriptExtension *somSelf, Environment *ev,
		ODPart* thePart,
		ODScriptExtension* ExtScope,
		ODBoolean doContScopes);
typedef somTP_ODScriptExtension_DoDeRegisterContainedPart *somTD_ODScriptExtension_DoDeRegisterContainedPart;
typedef void   SOMLINK somTP_ODScriptExtension_DoDeRegisterExtension(ODScriptExtension *somSelf, Environment *ev,
		ODScriptExtension* theExt,
		ODBoolean doContScopes);
typedef somTP_ODScriptExtension_DoDeRegisterExtension *somTD_ODScriptExtension_DoDeRegisterExtension;
typedef ODScriptExtension_ODScrRegRet   SOMLINK somTP_ODScriptExtension_AddContainedPart(ODScriptExtension *somSelf, Environment *ev,
		ODPart* part);
typedef somTP_ODScriptExtension_AddContainedPart *somTD_ODScriptExtension_AddContainedPart;
typedef void   SOMLINK somTP_ODScriptExtension_DropContainedPart(ODScriptExtension *somSelf, Environment *ev,
		ODPart* part);
typedef somTP_ODScriptExtension_DropContainedPart *somTD_ODScriptExtension_DropContainedPart;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_GetScriptComponent(ODScriptExtension *somSelf, Environment *ev,
		ODULong SubType);
typedef somTP_ODScriptExtension_GetScriptComponent *somTD_ODScriptExtension_GetScriptComponent;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_CheckComponent(ODScriptExtension *somSelf, Environment *ev,
		ODScriptExtension* theScope);
typedef somTP_ODScriptExtension_CheckComponent *somTD_ODScriptExtension_CheckComponent;
typedef ODScriptExtension*   SOMLINK somTP_ODScriptExtension_getContainingExt(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_getContainingExt *somTD_ODScriptExtension_getContainingExt;
typedef ODScriptComponent*   SOMLINK somTP_ODScriptExtension_getScrComp(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_getScrComp *somTD_ODScriptExtension_getScrComp;
typedef string   SOMLINK somTP_ODScriptExtension_getExtName(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_getExtName *somTD_ODScriptExtension_getExtName;
typedef void   SOMLINK somTP_ODScriptExtension_setExtName(ODScriptExtension *somSelf, Environment *ev,
		string theName);
typedef somTP_ODScriptExtension_setExtName *somTD_ODScriptExtension_setExtName;
typedef void   SOMLINK somTP_ODScriptExtension_MarkChanged(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_MarkChanged *somTD_ODScriptExtension_MarkChanged;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_NameChanged(ODScriptExtension *somSelf, Environment *ev,
		SOMObject* theObject,
		string newName,
		string oldName);
typedef somTP_ODScriptExtension_NameChanged *somTD_ODScriptExtension_NameChanged;
typedef ODSLong   SOMLINK somTP_ODScriptExtension__get_ReqFlags(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension__get_ReqFlags *somTD_ODScriptExtension__get_ReqFlags;
typedef void   SOMLINK somTP_ODScriptExtension__set_ReqFlags(ODScriptExtension *somSelf, Environment *ev,
		ODSLong ReqFlags);
typedef somTP_ODScriptExtension__set_ReqFlags *somTD_ODScriptExtension__set_ReqFlags;
typedef ODSLong   SOMLINK somTP_ODScriptExtension__get_ReqFlagsMask(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension__get_ReqFlagsMask *somTD_ODScriptExtension__get_ReqFlagsMask;
typedef void   SOMLINK somTP_ODScriptExtension__set_ReqFlagsMask(ODScriptExtension *somSelf, Environment *ev,
		ODSLong ReqFlagsMask);
typedef somTP_ODScriptExtension__set_ReqFlagsMask *somTD_ODScriptExtension__set_ReqFlagsMask;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODScriptExtension_InitExtension(ODScriptExtension *somSelf, Environment *ev,
		ODObject* base);
typedef somTP_ODScriptExtension_InitExtension *somTD_ODScriptExtension_InitExtension;
typedef ODObject*   SOMLINK somTP_ODScriptExtension_GetBase(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_GetBase *somTD_ODScriptExtension_GetBase;
typedef void   SOMLINK somTP_ODScriptExtension_BaseRemoved(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_BaseRemoved *somTD_ODScriptExtension_BaseRemoved;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_IsValid(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_IsValid *somTD_ODScriptExtension_IsValid;
typedef void   SOMLINK somTP_ODScriptExtension_CheckValid(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_CheckValid *somTD_ODScriptExtension_CheckValid;
typedef void   SOMLINK somTP_ODScriptExtension_Release(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_Release *somTD_ODScriptExtension_Release;
typedef void   SOMLINK somTP_ODScriptExtension_InitRefCntObject(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_InitRefCntObject *somTD_ODScriptExtension_InitRefCntObject;
typedef void   SOMLINK somTP_ODScriptExtension_Acquire(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_Acquire *somTD_ODScriptExtension_Acquire;
typedef ODULong   SOMLINK somTP_ODScriptExtension_GetRefCount(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_GetRefCount *somTD_ODScriptExtension_GetRefCount;
typedef void   SOMLINK somTP_ODScriptExtension_somUninit(ODScriptExtension *somSelf);
typedef somTP_ODScriptExtension_somUninit *somTD_ODScriptExtension_somUninit;
typedef void   SOMLINK somTP_ODScriptExtension_InitObject(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_InitObject *somTD_ODScriptExtension_InitObject;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_HasExtension(ODScriptExtension *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODScriptExtension_HasExtension *somTD_ODScriptExtension_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODScriptExtension_AcquireExtension(ODScriptExtension *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODScriptExtension_AcquireExtension *somTD_ODScriptExtension_AcquireExtension;
typedef void   SOMLINK somTP_ODScriptExtension_ReleaseExtension(ODScriptExtension *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODScriptExtension_ReleaseExtension *somTD_ODScriptExtension_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODScriptExtension_Purge(ODScriptExtension *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODScriptExtension_Purge *somTD_ODScriptExtension_Purge;
typedef ODBoolean   SOMLINK somTP_ODScriptExtension_IsEqualTo(ODScriptExtension *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODScriptExtension_IsEqualTo *somTD_ODScriptExtension_IsEqualTo;
typedef void   SOMLINK somTP_ODScriptExtension_SubClassResponsibility(ODScriptExtension *somSelf, Environment *ev);
typedef somTP_ODScriptExtension_SubClassResponsibility *somTD_ODScriptExtension_SubClassResponsibility;
typedef void   SOMLINK somTP_ODScriptExtension_somInit(ODScriptExtension *somSelf);
typedef somTP_ODScriptExtension_somInit *somTD_ODScriptExtension_somInit;
typedef void   SOMLINK somTP_ODScriptExtension_somDefaultInit(ODScriptExtension *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODScriptExtension_somDefaultInit *somTD_ODScriptExtension_somDefaultInit;
typedef void   SOMLINK somTP_ODScriptExtension_somDestruct(ODScriptExtension *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODScriptExtension_somDestruct *somTD_ODScriptExtension_somDestruct;
typedef void   SOMLINK somTP_ODScriptExtension_somDefaultCopyInit(ODScriptExtension *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODScriptExtension_somDefaultCopyInit *somTD_ODScriptExtension_somDefaultCopyInit;
typedef ODScriptExtension*   SOMLINK somTP_ODScriptExtension_somDefaultAssign(ODScriptExtension *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODScriptExtension_somDefaultAssign *somTD_ODScriptExtension_somDefaultAssign;
typedef void   SOMLINK somTP_ODScriptExtension_somDefaultConstCopyInit(ODScriptExtension *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODScriptExtension_somDefaultConstCopyInit *somTD_ODScriptExtension_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODScriptExtension_somDefaultVCopyInit(ODScriptExtension *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODScriptExtension_somDefaultVCopyInit *somTD_ODScriptExtension_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODScriptExtension_somDefaultConstVCopyInit(ODScriptExtension *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODScriptExtension_somDefaultConstVCopyInit *somTD_ODScriptExtension_somDefaultConstVCopyInit;
typedef ODScriptExtension*   SOMLINK somTP_ODScriptExtension_somDefaultConstAssign(ODScriptExtension *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODScriptExtension_somDefaultConstAssign *somTD_ODScriptExtension_somDefaultConstAssign;
typedef ODScriptExtension*   SOMLINK somTP_ODScriptExtension_somDefaultVAssign(ODScriptExtension *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODScriptExtension_somDefaultVAssign *somTD_ODScriptExtension_somDefaultVAssign;
typedef ODScriptExtension*   SOMLINK somTP_ODScriptExtension_somDefaultConstVAssign(ODScriptExtension *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODScriptExtension_somDefaultConstVAssign *somTD_ODScriptExtension_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODScriptExtension_somFree(ODScriptExtension *somSelf);
typedef somTP_ODScriptExtension_somFree *somTD_ODScriptExtension_somFree;
typedef SOMClass*   SOMLINK somTP_ODScriptExtension_somGetClass(ODScriptExtension *somSelf);
typedef somTP_ODScriptExtension_somGetClass *somTD_ODScriptExtension_somGetClass;
typedef string   SOMLINK somTP_ODScriptExtension_somGetClassName(ODScriptExtension *somSelf);
typedef somTP_ODScriptExtension_somGetClassName *somTD_ODScriptExtension_somGetClassName;
typedef long   SOMLINK somTP_ODScriptExtension_somGetSize(ODScriptExtension *somSelf);
typedef somTP_ODScriptExtension_somGetSize *somTD_ODScriptExtension_somGetSize;
typedef boolean   SOMLINK somTP_ODScriptExtension_somIsA(ODScriptExtension *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODScriptExtension_somIsA *somTD_ODScriptExtension_somIsA;
typedef boolean   SOMLINK somTP_ODScriptExtension_somIsInstanceOf(ODScriptExtension *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODScriptExtension_somIsInstanceOf *somTD_ODScriptExtension_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODScriptExtension_somRespondsTo(ODScriptExtension *somSelf,
		somId mId);
typedef somTP_ODScriptExtension_somRespondsTo *somTD_ODScriptExtension_somRespondsTo;
typedef boolean   SOMLINK somTP_ODScriptExtension_somDispatch(ODScriptExtension *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODScriptExtension_somDispatch *somTD_ODScriptExtension_somDispatch;
typedef boolean   SOMLINK somTP_ODScriptExtension_somClassDispatch(ODScriptExtension *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODScriptExtension_somClassDispatch *somTD_ODScriptExtension_somClassDispatch;
typedef boolean   SOMLINK somTP_ODScriptExtension_somCastObj(ODScriptExtension *somSelf,
		SOMClass* cls);
typedef somTP_ODScriptExtension_somCastObj *somTD_ODScriptExtension_somCastObj;
typedef boolean   SOMLINK somTP_ODScriptExtension_somResetObj(ODScriptExtension *somSelf);
typedef somTP_ODScriptExtension_somResetObj *somTD_ODScriptExtension_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODScriptExtension_somPrintSelf(ODScriptExtension *somSelf);
typedef somTP_ODScriptExtension_somPrintSelf *somTD_ODScriptExtension_somPrintSelf;
typedef void   SOMLINK somTP_ODScriptExtension_somDumpSelf(ODScriptExtension *somSelf,
		long level);
typedef somTP_ODScriptExtension_somDumpSelf *somTD_ODScriptExtension_somDumpSelf;
typedef void   SOMLINK somTP_ODScriptExtension_somDumpSelfInt(ODScriptExtension *somSelf,
		long level);
typedef somTP_ODScriptExtension_somDumpSelfInt *somTD_ODScriptExtension_somDumpSelfInt;
}

#endif /* ODScriptExtension_API */


/*
 * -- This emitter believes that method thunks are unavailable,
 * -- so somResolve will be called.
 */
#undef somresolve_
#define somresolve_(obj,mToken) (somResolve(obj,mToken))

/*
 * -- The C++ Wrapper Class for ODScriptExtension
 */
class ODScriptExtension : public ODExtension
{
public:

// ODScriptExtension::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 (!_ODScriptExtension) ODScriptExtensionNewClass(ODScriptExtension_MajorVersion,ODScriptExtension_MinorVersion);
   return (void*)
      SOM_Resolve(_ODScriptExtension,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODScriptExtension));
}

// ODScriptExtension::delete uses somDestruct.
void operator delete(void * obj)
{
   if (obj && *(void**)obj) {
      SOM_Resolve(obj,SOMObject,somDestruct)
         ((SOMObject*)obj, 1, 0);
   }
}

ODScriptExtension()
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODScriptExtensionCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

ODScriptExtension(ODScriptExtension* fromObj)
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODScriptExtensionCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}

ODScriptExtension(const ODScriptExtension* fromObj)
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODScriptExtensionCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* method: InitScriptExtension */
void   InitScriptExtension(Environment *ev,
		ODPart* owner)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,InitScriptExtension)
	(this, ev,owner);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: SetContainingExtension */
void   SetContainingExtension(Environment *ev,
		ODScriptExtension* theContExt)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,SetContainingExtension)
	(this, ev,theContExt);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: InitScriptFromStorage */
ODBoolean   InitScriptFromStorage(Environment *ev,
		ODPart* owner,
		ODStorageUnit* stor)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,InitScriptFromStorage)
	(this, ev,owner,stor);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,InitScriptFromStorage)
	(this, ev,owner,stor);
#endif
}


/* method: RetrieveComponentData */
ODBoolean   RetrieveComponentData(Environment *ev,
		long* pBufferSize,
		void* pBuffer)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,RetrieveComponentData)
	(this, ev,pBufferSize,pBuffer);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,RetrieveComponentData)
	(this, ev,pBufferSize,pBuffer);
#endif
}


/* method: ScriptExternalize */
void   ScriptExternalize(Environment *ev,
		ODStorageUnit* stor)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,ScriptExternalize)
	(this, ev,stor);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: ExternalizeComponentData */
void   ExternalizeComponentData(Environment *ev,
		long BufferSZ,
		octet* Buffer,
		ODStorageUnit* stor)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,ExternalizeComponentData)
	(this, ev,BufferSZ,Buffer,stor);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: PutComponentData */
ODBoolean   PutComponentData(Environment *ev,
		long BufferSZ,
		octet* Buffer)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,PutComponentData)
	(this, ev,BufferSZ,Buffer);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,PutComponentData)
	(this, ev,BufferSZ,Buffer);
#endif
}


/* method: InitScriptEditor */
ODBoolean   InitScriptEditor(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,InitScriptEditor)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,InitScriptEditor)
	(this, ev);
#endif
}


/* method: EndScripting */
void   EndScripting(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,EndScripting)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: Register */
ODScriptExtension_ODScrRegRet   Register(Environment *ev,
		ODScriptExtension* RegScope,
		string Prefix)
{
#ifdef SOMCHKEXCEPT
   ODScriptExtension_ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,Register)
	(this, ev,RegScope,Prefix);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,Register)
	(this, ev,RegScope,Prefix);
#endif
}


/* method: DoRegisterClass */
ODScriptExtension_ODScrRegRet   DoRegisterClass(Environment *ev,
		string theClassName)
{
#ifdef SOMCHKEXCEPT
   ODScriptExtension_ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoRegisterClass)
	(this, ev,theClassName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoRegisterClass)
	(this, ev,theClassName);
#endif
}


/* method: DoRegisterObject */
ODScriptExtension_ODScrRegRet   DoRegisterObject(Environment *ev,
		SOMObject* theObj,
		string itsClass,
		string itsDefaultName,
		string thePrefix,
		string* theNameUsed,
		ODScriptExtension* itsScope,
		ODBoolean mayAddDigits)
{
#ifdef SOMCHKEXCEPT
   ODScriptExtension_ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoRegisterObject)
	(this, ev,theObj,itsClass,itsDefaultName,thePrefix,theNameUsed,itsScope,mayAddDigits);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoRegisterObject)
	(this, ev,theObj,itsClass,itsDefaultName,thePrefix,theNameUsed,itsScope,mayAddDigits);
#endif
}


/* method: DoRegisterObjToComp */
ODScriptExtension_ODScrRegRet   DoRegisterObjToComp(Environment *ev,
		SOMObject* theObj,
		string itsClass,
		string itsDefaultName,
		string thePrefix,
		string* theNameUsed,
		ODScriptExtension* itsScope,
		ODBoolean mayAddDigits,
		ODBoolean registeringObject)
{
#ifdef SOMCHKEXCEPT
   ODScriptExtension_ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoRegisterObjToComp)
	(this, ev,theObj,itsClass,itsDefaultName,thePrefix,theNameUsed,itsScope,mayAddDigits,registeringObject);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoRegisterObjToComp)
	(this, ev,theObj,itsClass,itsDefaultName,thePrefix,theNameUsed,itsScope,mayAddDigits,registeringObject);
#endif
}


/* method: DoRegisterContainedPart */
ODScriptExtension_ODScrRegRet   DoRegisterContainedPart(Environment *ev,
		ODPart* thePart,
		string itsName,
		string itsPrefix,
		ODScriptExtension* RegScope,
		string* nameUsed,
		ODBoolean mayAddDigits)
{
#ifdef SOMCHKEXCEPT
   ODScriptExtension_ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoRegisterContainedPart)
	(this, ev,thePart,itsName,itsPrefix,RegScope,nameUsed,mayAddDigits);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoRegisterContainedPart)
	(this, ev,thePart,itsName,itsPrefix,RegScope,nameUsed,mayAddDigits);
#endif
}


/* method: DeRegister */
void   DeRegister(Environment *ev,
		ODScriptExtension* ExtScope,
		ODBoolean doContScopes)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DeRegister)
	(this, ev,ExtScope,doContScopes);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: DoDeRegisterObject */
void   DoDeRegisterObject(Environment *ev,
		SOMObject* theObject,
		ODScriptExtension* itsScope,
		ODBoolean doContScopes)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoDeRegisterObject)
	(this, ev,theObject,itsScope,doContScopes);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: DoDeRegisterContainedPart */
void   DoDeRegisterContainedPart(Environment *ev,
		ODPart* thePart,
		ODScriptExtension* ExtScope,
		ODBoolean doContScopes)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoDeRegisterContainedPart)
	(this, ev,thePart,ExtScope,doContScopes);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: DoDeRegisterExtension */
void   DoDeRegisterExtension(Environment *ev,
		ODScriptExtension* theExt,
		ODBoolean doContScopes)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DoDeRegisterExtension)
	(this, ev,theExt,doContScopes);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: AddContainedPart */
ODScriptExtension_ODScrRegRet   AddContainedPart(Environment *ev,
		ODPart* part)
{
#ifdef SOMCHKEXCEPT
   ODScriptExtension_ODScrRegRet __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,AddContainedPart)
	(this, ev,part);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,AddContainedPart)
	(this, ev,part);
#endif
}


/* method: DropContainedPart */
void   DropContainedPart(Environment *ev,
		ODPart* part)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,DropContainedPart)
	(this, ev,part);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetScriptComponent */
ODBoolean   GetScriptComponent(Environment *ev,
		ODULong SubType)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,GetScriptComponent)
	(this, ev,SubType);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,GetScriptComponent)
	(this, ev,SubType);
#endif
}


/* method: CheckComponent */
ODBoolean   CheckComponent(Environment *ev,
		ODScriptExtension* theScope)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,CheckComponent)
	(this, ev,theScope);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,CheckComponent)
	(this, ev,theScope);
#endif
}


/* method: getContainingExt */
ODScriptExtension*   getContainingExt(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODScriptExtension* __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,getContainingExt)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,getContainingExt)
	(this, ev);
#endif
}


/* method: getScrComp */
ODScriptComponent*   getScrComp(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODScriptComponent* __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,getScrComp)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,getScrComp)
	(this, ev);
#endif
}


/* method: getExtName */
string   getExtName(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   string __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,getExtName)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,getExtName)
	(this, ev);
#endif
}


/* method: setExtName */
void   setExtName(Environment *ev,
		string theName)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,setExtName)
	(this, ev,theName);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: MarkChanged */
void   MarkChanged(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,MarkChanged)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: NameChanged */
ODBoolean   NameChanged(Environment *ev,
		SOMObject* theObject,
		string newName,
		string oldName)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,NameChanged)
	(this, ev,theObject,newName,oldName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,NameChanged)
	(this, ev,theObject,newName,oldName);
#endif
}


/* method: _get_ReqFlags */
ODSLong   _get_ReqFlags(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODSLong __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,_get_ReqFlags)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,_get_ReqFlags)
	(this, ev);
#endif
}


/* method: _set_ReqFlags */
void   _set_ReqFlags(Environment *ev,
		ODSLong ReqFlags)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,_set_ReqFlags)
	(this, ev,ReqFlags);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: _get_ReqFlagsMask */
ODSLong   _get_ReqFlagsMask(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODSLong __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,_get_ReqFlagsMask)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,_get_ReqFlagsMask)
	(this, ev);
#endif
}


/* method: _set_ReqFlagsMask */
void   _set_ReqFlagsMask(Environment *ev,
		ODSLong ReqFlagsMask)
{
   SOM_ResolveD(this,ODScriptExtension,ODScriptExtension,_set_ReqFlagsMask)
	(this, ev,ReqFlagsMask);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/*
 * Reintroduce inherited methods
 */

/* method: InitExtension */
void   InitExtension(Environment *ev,
		ODObject* base)
{
   SOM_ResolveD(this,ODScriptExtension,ODExtension,InitExtension)
	(this, ev,base);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetBase */
ODObject*   GetBase(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODObject* __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODExtension,GetBase)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODExtension,GetBase)
	(this, ev);
#endif
}


/* method: BaseRemoved */
void   BaseRemoved(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,ODExtension,BaseRemoved)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: IsValid */
ODBoolean   IsValid(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODExtension,IsValid)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODExtension,IsValid)
	(this, ev);
#endif
}


/* method: CheckValid */
void   CheckValid(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,ODExtension,CheckValid)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: Release */
void   Release(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,ODRefCntObject,Release)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: InitRefCntObject */
void   InitRefCntObject(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,ODRefCntObject,InitRefCntObject)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: Acquire */
void   Acquire(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,ODRefCntObject,Acquire)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetRefCount */
ODULong   GetRefCount(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODULong __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODRefCntObject,GetRefCount)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODRefCntObject,GetRefCount)
	(this, ev);
#endif
}


/* method: somUninit */
void   somUninit()
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somUninit)
	(this);
}


/* method: InitObject */
void   InitObject(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,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,ODScriptExtension,ODObject,HasExtension)
	(this, ev,extensionName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODObject,HasExtension)
	(this, ev,extensionName);
#endif
}


/* method: AcquireExtension */
ODExtension*   AcquireExtension(Environment *ev,
		ODType extensionName)
{
#ifdef SOMCHKEXCEPT
   ODExtension* __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODObject,AcquireExtension)
	(this, ev,extensionName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODObject,AcquireExtension)
	(this, ev,extensionName);
#endif
}


/* method: ReleaseExtension */
void   ReleaseExtension(Environment *ev,
		ODExtension* extension)
{
   SOM_ResolveD(this,ODScriptExtension,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,ODScriptExtension,ODObject,Purge)
	(this, ev,size);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODObject,Purge)
	(this, ev,size);
#endif
}


/* method: IsEqualTo */
ODBoolean   IsEqualTo(Environment *ev,
		ODObject* object)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODScriptExtension,ODObject,IsEqualTo)
	(this, ev,object);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODScriptExtension,ODObject,IsEqualTo)
	(this, ev,object);
#endif
}


/* method: SubClassResponsibility */
void   SubClassResponsibility(Environment *ev)
{
   SOM_ResolveD(this,ODScriptExtension,ODObject,SubClassResponsibility)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: somInit */
void   somInit()
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somInit)
	(this);
}


/* initializer method: somDefaultInit */
void   somDefaultInit(somInitCtrl* ctrl)
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultInit)
	(this,ctrl);
}


/* method: somDestruct */
void   somDestruct(octet doFree,
		somDestructCtrl* ctrl)
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somDestruct)
	(this,doFree,ctrl);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultCopyInit)
	(this,ctrl,fromObj);
}


/* method: somDefaultAssign */
ODScriptExtension*  somDefaultAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultAssign)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultConstCopyInit)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultVCopyInit)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultConstVCopyInit)
	(this,ctrl,fromObj);
}


/* method: somDefaultConstAssign */
ODScriptExtension*  somDefaultConstAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultConstAssign)
	(this,ctrl,fromObj);
}


/* method: somDefaultVAssign */
ODScriptExtension*  somDefaultVAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultVAssign)
	(this,ctrl,fromObj);
}


/* method: somDefaultConstVAssign */
ODScriptExtension*  somDefaultConstVAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somDefaultConstVAssign)
	(this,ctrl,fromObj);
}


/* method: somFree */
void   somFree()
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somFree)
	(this);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somGetClass)
	(this);
}


/* method: somGetClassName */
string   somGetClassName()
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somGetClassName)
	(this);
}


/* method: somGetSize */
long   somGetSize()
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somGetSize)
	(this);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somIsA)
	(this,aClassObj);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somIsInstanceOf)
	(this,aClassObj);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somRespondsTo)
	(this,mId);
}


/* va_list method: somDispatch */
/* the va_list invocation form */
boolean   ODScriptExtension_somDispatch(somToken* retValue,
		somId methodId,
		va_list ap)
{
return SOM_ResolveD(this,ODScriptExtension,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,ODScriptExtension,SOMObject,somDispatch)
	(this,retValue,methodId,ap);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean   ODScriptExtension_somClassDispatch(SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap)
{
return SOM_ResolveD(this,ODScriptExtension,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,ODScriptExtension,SOMObject,somClassDispatch)
	(this,clsObj,retValue,methodId,ap);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* cls)
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somCastObj)
	(this,cls);
}


/* method: somResetObj */
boolean   somResetObj()
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somResetObj)
	(this);
}


/* method: somPrintSelf */
SOMObject*   somPrintSelf()
{
   return SOM_ResolveD(this,ODScriptExtension,SOMObject,somPrintSelf)
	(this);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somDumpSelf)
	(this,level);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
   SOM_ResolveD(this,ODScriptExtension,SOMObject,somDumpSelfInt)
	(this,level);
}



};   /* ODScriptExtension */



#endif       /* SOM_ODScriptExtension_xh */
