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

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


#ifndef SOM_ODBaseNameResolver_h
#define SOM_ODBaseNameResolver_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 ODBaseNameResolverClassData (*resolve_ODBaseNameResolverClassData())
#define ODBaseNameResolverCClassData (*resolve_ODBaseNameResolverCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODBaseNameResolver
#define ODBaseNameResolver SOMObject
#endif
#include <ODObject.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 ODBaseNameResolver
    #define ODBaseNameResolver SOMObject
#endif /* ODBaseNameResolver */
#ifndef ODPart
    #define ODPart SOMObject
#endif /* ODPart */
#ifndef ODMessageInterface
    #define ODMessageInterface SOMObject
#endif /* ODMessageInterface */
#ifndef ODSession
    #define ODSession SOMObject
#endif /* ODSession */
#ifndef ODFrame
    #define ODFrame SOMObject
#endif /* ODFrame */
#ifndef ODSemanticInterface
    #define ODSemanticInterface SOMObject
#endif /* ODSemanticInterface */
#ifndef ODDesc
    #define ODDesc SOMObject
#endif /* ODDesc */
#ifndef ODOSLToken
    #define ODOSLToken SOMObject
#endif /* ODOSLToken */
#ifndef ODObjectSpec
    #define ODObjectSpec SOMObject
#endif /* ODObjectSpec */

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

#define ODBaseNameResolver_MajorVersion 1
#define ODBaseNameResolver_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODBaseNameResolverNewClass c
#define ODBaseNameResolverClassData d
#define ODBaseNameResolverCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODBaseNameResolver_classObj ODBaseNameResolverClassData.classObject
#define _ODBaseNameResolver ODBaseNameResolver_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODBaseNameResolverClassDataStructure {
	SOMClass *classObject;
	somMToken Resolve;
	somMToken CreateSwapToken;
	somMToken GetContainingFrame;
	somMToken CallObjectAccessor;
	somMToken DisposeToken;
	somMToken InitBaseNameResolver;
}  _ODBaseNameResolverClassData;
SOMEXTERN struct ODBaseNameResolverClassDataStructure * SOMLINK resolve_ODBaseNameResolverClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODBaseNameResolverCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODBaseNameResolverCClassData;
SOMEXTERN struct ODBaseNameResolverCClassDataStructure * SOMLINK resolve_ODBaseNameResolverCClassData(void);

/*
 * New and Renew macros for ODBaseNameResolver
 */
#define ODBaseNameResolverNew() \
   (_somNew(_ODBaseNameResolver ? _ODBaseNameResolver : ODBaseNameResolverNewClass(ODBaseNameResolver_MajorVersion, ODBaseNameResolver_MinorVersion)))
#define ODBaseNameResolverRenew(buf) \
   (_somRenew(_ODBaseNameResolver ? _ODBaseNameResolver : ODBaseNameResolverNewClass(ODBaseNameResolver_MajorVersion, ODBaseNameResolver_MinorVersion), buf))

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

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

/*
 * New Method: Resolve
 */
typedef void   (SOMLINK * somTD_ODBaseNameResolver_Resolve)(ODBaseNameResolver *somSelf, Environment *ev,
		ODObjectSpec* theObject,
		ODOSLToken* token,
		ODPart* contextPart);
#define somMD_ODBaseNameResolver_Resolve "::ODBaseNameResolver::Resolve"
#define ODBaseNameResolver_Resolve(somSelf,ev,theObject,token,contextPart) \
    (SOM_Resolve(somSelf, ODBaseNameResolver, Resolve) \
	(somSelf,ev,theObject,token,contextPart))
#ifndef SOMGD_Resolve
    #if (defined(_Resolve) || defined(__Resolve))
        #undef _Resolve
        #undef __Resolve
        #define SOMGD_Resolve 1
    #else
        #define _Resolve ODBaseNameResolver_Resolve
    #endif /* _Resolve */
#endif /* SOMGD_Resolve */

/*
 * New Method: CreateSwapToken
 */
typedef void   (SOMLINK * somTD_ODBaseNameResolver_CreateSwapToken)(ODBaseNameResolver *somSelf, Environment *ev,
		ODOSLToken** token,
		ODFrame* frame);
#define somMD_ODBaseNameResolver_CreateSwapToken "::ODBaseNameResolver::CreateSwapToken"
#define ODBaseNameResolver_CreateSwapToken(somSelf,ev,token,frame) \
    (SOM_Resolve(somSelf, ODBaseNameResolver, CreateSwapToken) \
	(somSelf,ev,token,frame))
#ifndef SOMGD_CreateSwapToken
    #if (defined(_CreateSwapToken) || defined(__CreateSwapToken))
        #undef _CreateSwapToken
        #undef __CreateSwapToken
        #define SOMGD_CreateSwapToken 1
    #else
        #define _CreateSwapToken ODBaseNameResolver_CreateSwapToken
    #endif /* _CreateSwapToken */
#endif /* SOMGD_CreateSwapToken */

/*
 * New Method: GetContainingFrame
 */
typedef ODFrame*   (SOMLINK * somTD_ODBaseNameResolver_GetContainingFrame)(ODBaseNameResolver *somSelf, Environment *ev);
#define somMD_ODBaseNameResolver_GetContainingFrame "::ODBaseNameResolver::GetContainingFrame"
#define ODBaseNameResolver_GetContainingFrame(somSelf,ev) \
    (SOM_Resolve(somSelf, ODBaseNameResolver, GetContainingFrame) \
	(somSelf,ev))
#ifndef SOMGD_GetContainingFrame
    #if (defined(_GetContainingFrame) || defined(__GetContainingFrame))
        #undef _GetContainingFrame
        #undef __GetContainingFrame
        #define SOMGD_GetContainingFrame 1
    #else
        #define _GetContainingFrame ODBaseNameResolver_GetContainingFrame
    #endif /* _GetContainingFrame */
#endif /* SOMGD_GetContainingFrame */

/*
 * New Method: CallObjectAccessor
 */
typedef void   (SOMLINK * somTD_ODBaseNameResolver_CallObjectAccessor)(ODBaseNameResolver *somSelf, Environment *ev,
		ODPart* part,
		ODDescType desiredClass,
		ODOSLToken* containerToken,
		ODDescType containerClass,
		ODDescType keyForm,
		ODDesc* keyData,
		ODOSLToken* token);
#define somMD_ODBaseNameResolver_CallObjectAccessor "::ODBaseNameResolver::CallObjectAccessor"
#define ODBaseNameResolver_CallObjectAccessor(somSelf,ev,part,desiredClass,containerToken,containerClass,keyForm,keyData,token) \
    (SOM_Resolve(somSelf, ODBaseNameResolver, CallObjectAccessor) \
	(somSelf,ev,part,desiredClass,containerToken,containerClass,keyForm,keyData,token))
#ifndef SOMGD_CallObjectAccessor
    #if (defined(_CallObjectAccessor) || defined(__CallObjectAccessor))
        #undef _CallObjectAccessor
        #undef __CallObjectAccessor
        #define SOMGD_CallObjectAccessor 1
    #else
        #define _CallObjectAccessor ODBaseNameResolver_CallObjectAccessor
    #endif /* _CallObjectAccessor */
#endif /* SOMGD_CallObjectAccessor */

/*
 * New Method: DisposeToken
 */
typedef void   (SOMLINK * somTD_ODBaseNameResolver_DisposeToken)(ODBaseNameResolver *somSelf, Environment *ev,
		ODOSLToken* theToken);
#define somMD_ODBaseNameResolver_DisposeToken "::ODBaseNameResolver::DisposeToken"
#define ODBaseNameResolver_DisposeToken(somSelf,ev,theToken) \
    (SOM_Resolve(somSelf, ODBaseNameResolver, DisposeToken) \
	(somSelf,ev,theToken))
#ifndef SOMGD_DisposeToken
    #if (defined(_DisposeToken) || defined(__DisposeToken))
        #undef _DisposeToken
        #undef __DisposeToken
        #define SOMGD_DisposeToken 1
    #else
        #define _DisposeToken ODBaseNameResolver_DisposeToken
    #endif /* _DisposeToken */
#endif /* SOMGD_DisposeToken */

/*
 * New Method: InitBaseNameResolver
 */
typedef void   (SOMLINK * somTD_ODBaseNameResolver_InitBaseNameResolver)(ODBaseNameResolver *somSelf, Environment *ev,
		ODSession* session);
#define somMD_ODBaseNameResolver_InitBaseNameResolver "::ODBaseNameResolver::InitBaseNameResolver"
#define ODBaseNameResolver_InitBaseNameResolver(somSelf,ev,session) \
    (SOM_Resolve(somSelf, ODBaseNameResolver, InitBaseNameResolver) \
	(somSelf,ev,session))
#ifndef SOMGD_InitBaseNameResolver
    #if (defined(_InitBaseNameResolver) || defined(__InitBaseNameResolver))
        #undef _InitBaseNameResolver
        #undef __InitBaseNameResolver
        #define SOMGD_InitBaseNameResolver 1
    #else
        #define _InitBaseNameResolver ODBaseNameResolver_InitBaseNameResolver
    #endif /* _InitBaseNameResolver */
#endif /* SOMGD_InitBaseNameResolver */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODBaseNameResolver_InitObject ODObject_InitObject
#define ODBaseNameResolver_IsInitialized ODObject_IsInitialized
#define ODBaseNameResolver_HasExtension ODObject_HasExtension
#define ODBaseNameResolver_GetExtension ODObject_GetExtension
#define ODBaseNameResolver_ReleaseExtension ODObject_ReleaseExtension
#define ODBaseNameResolver_Purge ODObject_Purge
#define ODBaseNameResolver_IsEqualTo ODObject_IsEqualTo
#define ODBaseNameResolver_SubClassResponsibility ODObject_SubClassResponsibility
#define ODBaseNameResolver_somDefaultInit SOMObject_somDefaultInit
#define ODBaseNameResolver_somDestruct SOMObject_somDestruct
#define ODBaseNameResolver_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODBaseNameResolver_somDefaultAssign SOMObject_somDefaultAssign
#define ODBaseNameResolver_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODBaseNameResolver_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODBaseNameResolver_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODBaseNameResolver_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODBaseNameResolver_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODBaseNameResolver_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODBaseNameResolver_somFree SOMObject_somFree
#define ODBaseNameResolver_somGetClass SOMObject_somGetClass
#define ODBaseNameResolver_somGetClassName SOMObject_somGetClassName
#define ODBaseNameResolver_somGetSize SOMObject_somGetSize
#define ODBaseNameResolver_somIsA SOMObject_somIsA
#define ODBaseNameResolver_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODBaseNameResolver_somRespondsTo SOMObject_somRespondsTo
#define ODBaseNameResolver_somDispatch SOMObject_somDispatch
#define ODBaseNameResolver_somClassDispatch SOMObject_somClassDispatch
#define ODBaseNameResolver_somCastObj SOMObject_somCastObj
#define ODBaseNameResolver_somResetObj SOMObject_somResetObj
#define ODBaseNameResolver_somDispatchV SOMObject_somDispatchV
#define ODBaseNameResolver_somDispatchL SOMObject_somDispatchL
#define ODBaseNameResolver_somDispatchA SOMObject_somDispatchA
#define ODBaseNameResolver_somDispatchD SOMObject_somDispatchD
#define ODBaseNameResolver_somPrintSelf SOMObject_somPrintSelf
#define ODBaseNameResolver_somDumpSelf SOMObject_somDumpSelf
#define ODBaseNameResolver_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODBaseNameResolver_h */
