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

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


#ifndef SOM_ODOSLToken_h
#define SOM_ODOSLToken_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 ODOSLTokenClassData (*resolve_ODOSLTokenClassData())
#define ODOSLTokenCClassData (*resolve_ODOSLTokenCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODOSLToken
#define ODOSLToken SOMObject
#endif
#include <ODDesc.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 ODDesc
    #define ODDesc SOMObject
#endif /* ODDesc */
#ifndef ODOSLToken
    #define ODOSLToken SOMObject
#endif /* ODOSLToken */

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

#define ODOSLToken_MajorVersion 0
#define ODOSLToken_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODOSLTokenNewClass c
#define ODOSLTokenClassData d
#define ODOSLTokenCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODOSLToken_classObj ODOSLTokenClassData.classObject
#define _ODOSLToken ODOSLToken_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODOSLTokenClassDataStructure {
	SOMClass *classObject;
	somMToken somInit;
	somMToken somUninit;
	somMToken InitODOSLToken;
}  _ODOSLTokenClassData;
SOMEXTERN struct ODOSLTokenClassDataStructure * SOMLINK resolve_ODOSLTokenClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODOSLTokenCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODOSLTokenCClassData;
SOMEXTERN struct ODOSLTokenCClassDataStructure * SOMLINK resolve_ODOSLTokenCClassData(void);

/*
 * New and Renew macros for ODOSLToken
 */
#define ODOSLTokenNew() \
   (_somNew(_ODOSLToken ? _ODOSLToken : ODOSLTokenNewClass(ODOSLToken_MajorVersion, ODOSLToken_MinorVersion)))
#define ODOSLTokenRenew(buf) \
   (_somRenew(_ODOSLToken ? _ODOSLToken : ODOSLTokenNewClass(ODOSLToken_MajorVersion, ODOSLToken_MinorVersion), buf))

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

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

/*
 * New Method: InitODOSLToken
 */
typedef void   (SOMLINK * somTD_ODOSLToken_InitODOSLToken)(ODOSLToken *somSelf, Environment *ev);
#define somMD_ODOSLToken_InitODOSLToken "::ODOSLToken::InitODOSLToken"
#define ODOSLToken_InitODOSLToken(somSelf,ev) \
    (SOM_Resolve(somSelf, ODOSLToken, InitODOSLToken) \
	(somSelf,ev))
#ifndef SOMGD_InitODOSLToken
    #if (defined(_InitODOSLToken) || defined(__InitODOSLToken))
        #undef _InitODOSLToken
        #undef __InitODOSLToken
        #define SOMGD_InitODOSLToken 1
    #else
        #define _InitODOSLToken ODOSLToken_InitODOSLToken
    #endif /* _InitODOSLToken */
#endif /* SOMGD_InitODOSLToken */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODOSLToken_InitODDesc ODDesc_InitODDesc
#define ODOSLToken_GetAEDesc ODDesc_GetAEDesc
#define ODOSLToken_SetAEDesc ODDesc_SetAEDesc
#define ODOSLToken_SetHadToAllocate ODDesc_SetHadToAllocate
#define ODOSLToken_InitObject ODObject_InitObject
#define ODOSLToken_IsInitialized ODObject_IsInitialized
#define ODOSLToken_HasExtension ODObject_HasExtension
#define ODOSLToken_GetExtension ODObject_GetExtension
#define ODOSLToken_ReleaseExtension ODObject_ReleaseExtension
#define ODOSLToken_Purge ODObject_Purge
#define ODOSLToken_IsEqualTo ODObject_IsEqualTo
#define ODOSLToken_SubClassResponsibility ODObject_SubClassResponsibility
#define ODOSLToken_somDefaultInit SOMObject_somDefaultInit
#define ODOSLToken_somDestruct SOMObject_somDestruct
#define ODOSLToken_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODOSLToken_somDefaultAssign SOMObject_somDefaultAssign
#define ODOSLToken_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODOSLToken_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODOSLToken_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODOSLToken_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODOSLToken_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODOSLToken_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODOSLToken_somFree SOMObject_somFree
#define ODOSLToken_somGetClass SOMObject_somGetClass
#define ODOSLToken_somGetClassName SOMObject_somGetClassName
#define ODOSLToken_somGetSize SOMObject_somGetSize
#define ODOSLToken_somIsA SOMObject_somIsA
#define ODOSLToken_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODOSLToken_somRespondsTo SOMObject_somRespondsTo
#define ODOSLToken_somDispatch SOMObject_somDispatch
#define ODOSLToken_somClassDispatch SOMObject_somClassDispatch
#define ODOSLToken_somCastObj SOMObject_somCastObj
#define ODOSLToken_somResetObj SOMObject_somResetObj
#define ODOSLToken_somDispatchV SOMObject_somDispatchV
#define ODOSLToken_somDispatchL SOMObject_somDispatchL
#define ODOSLToken_somDispatchA SOMObject_somDispatchA
#define ODOSLToken_somDispatchD SOMObject_somDispatchD
#define ODOSLToken_somPrintSelf SOMObject_somPrintSelf
#define ODOSLToken_somDumpSelf SOMObject_somDumpSelf
#define ODOSLToken_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODOSLToken_h */
