
/*
 * This file was generated by the SOM Compiler.
 * FileName: \odwin\h\MSSGSI.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith.dll: 2.41
 */

/*
 * 
 *  Classes defined in this interface
 * 
 */


#ifndef SOM_DefaultAccessorSI_h
#define SOM_DefaultAccessorSI_h


#include <som.h>

/*
 * -- 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))



/*
 * Define class data structures as resolution macros
 */
#define DefaultAccessorSIClassData (*resolve_DefaultAccessorSIClassData())
#define DefaultAccessorSICClassData (*resolve_DefaultAccessorSICClassData())

/*
 * Define the class name as an object type
 */
#ifndef DefaultAccessorSI
#define DefaultAccessorSI SOMObject
#endif
#include <SemtIntB.h>

/*
 * Start of user-defined types:
 */
#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef ODObject
    #define ODObject SOMObject
#endif /* ODObject */
#ifndef ODExtension
    #define ODExtension SOMObject
#endif /* ODExtension */
#ifndef ODRefCntObject
    #define ODRefCntObject SOMObject
#endif /* ODRefCntObject */
#ifndef ODSemanticInterface
    #define ODSemanticInterface SOMObject
#endif /* ODSemanticInterface */
#ifndef ODMessageInterface
    #define ODMessageInterface SOMObject
#endif /* ODMessageInterface */
#ifndef ODSession
    #define ODSession SOMObject
#endif /* ODSession */
#ifndef ODPart
    #define ODPart SOMObject
#endif /* ODPart */
#ifndef ODDesc
    #define ODDesc SOMObject
#endif /* ODDesc */
#ifndef ODAppleEvent
    #define ODAppleEvent SOMObject
#endif /* ODAppleEvent */
#ifndef ODOSLToken
    #define ODOSLToken SOMObject
#endif /* ODOSLToken */
#ifndef DefaultAccessorSI
    #define DefaultAccessorSI SOMObject
#endif /* DefaultAccessorSI */

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

#define DefaultAccessorSI_MajorVersion 0
#define DefaultAccessorSI_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define DefaultAccessorSINewClass c
#define DefaultAccessorSIClassData d
#define DefaultAccessorSICClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define DefaultAccessorSI_classObj DefaultAccessorSIClassData.classObject
#define _DefaultAccessorSI DefaultAccessorSI_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK DefaultAccessorSINewClass(integer4 somntmajorVersion,
		integer4 somntminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct DefaultAccessorSIClassDataStructure {
	SOMClass *classObject;
	somMToken InitCPlusSemanticInterface;
	somMToken GetSIHelper;
}  _DefaultAccessorSIClassData;
SOMEXTERN struct DefaultAccessorSIClassDataStructure * SOMLINK resolve_DefaultAccessorSIClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct DefaultAccessorSICClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _DefaultAccessorSICClassData;
SOMEXTERN struct DefaultAccessorSICClassDataStructure * SOMLINK resolve_DefaultAccessorSICClassData(void);

/*
 * New and Renew macros for DefaultAccessorSI
 */
#define DefaultAccessorSINew() \
   (_somNew(_DefaultAccessorSI ? _DefaultAccessorSI : DefaultAccessorSINewClass(DefaultAccessorSI_MajorVersion, DefaultAccessorSI_MinorVersion)))
#define DefaultAccessorSIRenew(buf) \
   (_somRenew(_DefaultAccessorSI ? _DefaultAccessorSI : DefaultAccessorSINewClass(DefaultAccessorSI_MajorVersion, DefaultAccessorSI_MinorVersion), buf))

/*
 * Override method: somInit
 */
#define DefaultAccessorSI_somInit(somSelf) \
	SOMObject_somInit(somSelf)

/*
 * Override method: somUninit
 */
#define DefaultAccessorSI_somUninit(somSelf) \
	SOMObject_somUninit(somSelf)

/*
 * Override method: InitSemanticInterface
 */
#define DefaultAccessorSI_InitSemanticInterface(somSelf,ev,base,session) \
	ODSemanticInterface_InitSemanticInterface(somSelf,ev,base,session)

/*
 * Override method: CallEventHandler
 */
#define DefaultAccessorSI_CallEventHandler(somSelf,ev,thePart,theODAppleEvent,reply) \
	ODSemanticInterface_CallEventHandler(somSelf,ev,thePart,theODAppleEvent,reply)

/*
 * Override method: CallCoercionHandler
 */
#define DefaultAccessorSI_CallCoercionHandler(somSelf,ev,thePart,theODDesc,toType,theResult) \
	ODSemanticInterface_CallCoercionHandler(somSelf,ev,thePart,theODDesc,toType,theResult)

/*
 * Override method: CallObjectAccessor
 */
#define DefaultAccessorSI_CallObjectAccessor(somSelf,ev,thePart,desiredClass,container,containerClass,form,selectionData,value) \
	ODSemanticInterface_CallObjectAccessor(somSelf,ev,thePart,desiredClass,container,containerClass,form,selectionData,value)

/*
 * Override method: CallPredispatchProc
 */
#define DefaultAccessorSI_CallPredispatchProc(somSelf,ev,thePart,theODAppleEvent,reply) \
	ODSemanticInterface_CallPredispatchProc(somSelf,ev,thePart,theODAppleEvent,reply)

/*
 * Override method: CallCompareProc
 */
#define DefaultAccessorSI_CallCompareProc(somSelf,ev,thePart,oper,obj1,obj2,result) \
	ODSemanticInterface_CallCompareProc(somSelf,ev,thePart,oper,obj1,obj2,result)

/*
 * Override method: CallCountProc
 */
#define DefaultAccessorSI_CallCountProc(somSelf,ev,thePart,desiredType,containerClass,container,result) \
	ODSemanticInterface_CallCountProc(somSelf,ev,thePart,desiredType,containerClass,container,result)

/*
 * Override method: CallDisposeTokenProc
 */
#define DefaultAccessorSI_CallDisposeTokenProc(somSelf,ev,thePart,unneededToken) \
	ODSemanticInterface_CallDisposeTokenProc(somSelf,ev,thePart,unneededToken)

/*
 * Override method: CallGetErrDescProc
 */
#define DefaultAccessorSI_CallGetErrDescProc(somSelf,ev,thePart,errDesc) \
	ODSemanticInterface_CallGetErrDescProc(somSelf,ev,thePart,errDesc)

/*
 * Override method: CallGetMarkTokenProc
 */
#define DefaultAccessorSI_CallGetMarkTokenProc(somSelf,ev,thePart,dContainerToken,containerClass,result) \
	ODSemanticInterface_CallGetMarkTokenProc(somSelf,ev,thePart,dContainerToken,containerClass,result)

/*
 * Override method: CallMarkProc
 */
#define DefaultAccessorSI_CallMarkProc(somSelf,ev,thePart,dToken,markToken,index) \
	ODSemanticInterface_CallMarkProc(somSelf,ev,thePart,dToken,markToken,index)

/*
 * Override method: CallAdjustMarksProc
 */
#define DefaultAccessorSI_CallAdjustMarksProc(somSelf,ev,thePart,newStart,newStop,markToken) \
	ODSemanticInterface_CallAdjustMarksProc(somSelf,ev,thePart,newStart,newStop,markToken)

/*
 * Override method: CallTokenInquiryProc
 */
#define DefaultAccessorSI_CallTokenInquiryProc(somSelf,ev,value) \
	ODSemanticInterface_CallTokenInquiryProc(somSelf,ev,value)

/*
 * New Method: InitCPlusSemanticInterface
 */
typedef void   (SOMLINK * somTD_DefaultAccessorSI_InitCPlusSemanticInterface)(DefaultAccessorSI *somSelf, Environment *ev,
		ODPart* base,
		SIHelperAbs* helper,
		ODSession* session);
#define somMD_DefaultAccessorSI_InitCPlusSemanticInterface "::DefaultAccessorSI::InitCPlusSemanticInterface"
#define DefaultAccessorSI_InitCPlusSemanticInterface(somSelf,ev,base,helper,session) \
    (SOM_Resolve(somSelf, DefaultAccessorSI, InitCPlusSemanticInterface) \
	(somSelf,ev,base,helper,session))
#ifndef SOMGD_InitCPlusSemanticInterface
    #if (defined(_InitCPlusSemanticInterface) || defined(__InitCPlusSemanticInterface))
        #undef _InitCPlusSemanticInterface
        #undef __InitCPlusSemanticInterface
        #define SOMGD_InitCPlusSemanticInterface 1
    #else
        #define _InitCPlusSemanticInterface DefaultAccessorSI_InitCPlusSemanticInterface
    #endif /* _InitCPlusSemanticInterface */
#endif /* SOMGD_InitCPlusSemanticInterface */

/*
 * New Method: GetSIHelper
 */
typedef SIHelperAbs*   (SOMLINK * somTD_DefaultAccessorSI_GetSIHelper)(DefaultAccessorSI *somSelf, Environment *ev);
#define somMD_DefaultAccessorSI_GetSIHelper "::DefaultAccessorSI::GetSIHelper"
#define DefaultAccessorSI_GetSIHelper(somSelf,ev) \
    (SOM_Resolve(somSelf, DefaultAccessorSI, GetSIHelper) \
	(somSelf,ev))
#ifndef SOMGD_GetSIHelper
    #if (defined(_GetSIHelper) || defined(__GetSIHelper))
        #undef _GetSIHelper
        #undef __GetSIHelper
        #define SOMGD_GetSIHelper 1
    #else
        #define _GetSIHelper DefaultAccessorSI_GetSIHelper
    #endif /* _GetSIHelper */
#endif /* SOMGD_GetSIHelper */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define DefaultAccessorSI_GetOSLSupportFlags ODSemanticInterface_GetOSLSupportFlags
#define DefaultAccessorSI_SetOSLSupportFlags ODSemanticInterface_SetOSLSupportFlags
#define DefaultAccessorSI_UsingPredispatchProc ODSemanticInterface_UsingPredispatchProc
#define DefaultAccessorSI_InitExtension ODExtension_InitExtension
#define DefaultAccessorSI_GetBase ODExtension_GetBase
#define DefaultAccessorSI_BaseRemoved ODExtension_BaseRemoved
#define DefaultAccessorSI_IsValid ODExtension_IsValid
#define DefaultAccessorSI_CheckValid ODExtension_CheckValid
#define DefaultAccessorSI_InitRefCntObject ODRefCntObject_InitRefCntObject
#define DefaultAccessorSI_IncrementRefCount ODRefCntObject_IncrementRefCount
#define DefaultAccessorSI_Release ODRefCntObject_Release
#define DefaultAccessorSI_GetRefCount ODRefCntObject_GetRefCount
#define DefaultAccessorSI_InitObject ODObject_InitObject
#define DefaultAccessorSI_IsInitialized ODObject_IsInitialized
#define DefaultAccessorSI_HasExtension ODObject_HasExtension
#define DefaultAccessorSI_GetExtension ODObject_GetExtension
#define DefaultAccessorSI_ReleaseExtension ODObject_ReleaseExtension
#define DefaultAccessorSI_Purge ODObject_Purge
#define DefaultAccessorSI_IsEqualTo ODObject_IsEqualTo
#define DefaultAccessorSI_SubClassResponsibility ODObject_SubClassResponsibility
#define DefaultAccessorSI_somDefaultInit SOMObject_somDefaultInit
#define DefaultAccessorSI_somDestruct SOMObject_somDestruct
#define DefaultAccessorSI_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define DefaultAccessorSI_somDefaultAssign SOMObject_somDefaultAssign
#define DefaultAccessorSI_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define DefaultAccessorSI_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define DefaultAccessorSI_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define DefaultAccessorSI_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define DefaultAccessorSI_somDefaultVAssign SOMObject_somDefaultVAssign
#define DefaultAccessorSI_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define DefaultAccessorSI_somFree SOMObject_somFree
#define DefaultAccessorSI_somGetClass SOMObject_somGetClass
#define DefaultAccessorSI_somGetClassName SOMObject_somGetClassName
#define DefaultAccessorSI_somGetSize SOMObject_somGetSize
#define DefaultAccessorSI_somIsA SOMObject_somIsA
#define DefaultAccessorSI_somIsInstanceOf SOMObject_somIsInstanceOf
#define DefaultAccessorSI_somRespondsTo SOMObject_somRespondsTo
#define DefaultAccessorSI_somDispatch SOMObject_somDispatch
#define DefaultAccessorSI_somClassDispatch SOMObject_somClassDispatch
#define DefaultAccessorSI_somCastObj SOMObject_somCastObj
#define DefaultAccessorSI_somResetObj SOMObject_somResetObj
#define DefaultAccessorSI_somDispatchV SOMObject_somDispatchV
#define DefaultAccessorSI_somDispatchL SOMObject_somDispatchL
#define DefaultAccessorSI_somDispatchA SOMObject_somDispatchA
#define DefaultAccessorSI_somDispatchD SOMObject_somDispatchD
#define DefaultAccessorSI_somPrintSelf SOMObject_somPrintSelf
#define DefaultAccessorSI_somDumpSelf SOMObject_somDumpSelf
#define DefaultAccessorSI_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_DefaultAccessorSI_h */
