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

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


#ifndef SOM_ODDescList_h
#define SOM_ODDescList_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 ODDescListClassData (*resolve_ODDescListClassData())
#define ODDescListCClassData (*resolve_ODDescListCClassData())

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

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

#define ODDescList_MajorVersion 0
#define ODDescList_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODDescListNewClass c
#define ODDescListClassData d
#define ODDescListCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODDescList_classObj ODDescListClassData.classObject
#define _ODDescList ODDescList_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODDescListClassDataStructure {
	SOMClass *classObject;
	somMToken somInit;
	somMToken somUninit;
	somMToken InitODDescList;
}  _ODDescListClassData;
SOMEXTERN struct ODDescListClassDataStructure * SOMLINK resolve_ODDescListClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODDescListCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODDescListCClassData;
SOMEXTERN struct ODDescListCClassDataStructure * SOMLINK resolve_ODDescListCClassData(void);

/*
 * New and Renew macros for ODDescList
 */
#define ODDescListNew() \
   (_somNew(_ODDescList ? _ODDescList : ODDescListNewClass(ODDescList_MajorVersion, ODDescList_MinorVersion)))
#define ODDescListRenew(buf) \
   (_somRenew(_ODDescList ? _ODDescList : ODDescListNewClass(ODDescList_MajorVersion, ODDescList_MinorVersion), buf))

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

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

/*
 * New Method: InitODDescList
 */
typedef void   (SOMLINK * somTD_ODDescList_InitODDescList)(ODDescList *somSelf, Environment *ev);
#define somMD_ODDescList_InitODDescList "::ODDescList::InitODDescList"
#define ODDescList_InitODDescList(somSelf,ev) \
    (SOM_Resolve(somSelf, ODDescList, InitODDescList) \
	(somSelf,ev))
#ifndef SOMGD_InitODDescList
    #if (defined(_InitODDescList) || defined(__InitODDescList))
        #undef _InitODDescList
        #undef __InitODDescList
        #define SOMGD_InitODDescList 1
    #else
        #define _InitODDescList ODDescList_InitODDescList
    #endif /* _InitODDescList */
#endif /* SOMGD_InitODDescList */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODDescList_InitODDesc ODDesc_InitODDesc
#define ODDescList_GetAEDesc ODDesc_GetAEDesc
#define ODDescList_SetAEDesc ODDesc_SetAEDesc
#define ODDescList_SetHadToAllocate ODDesc_SetHadToAllocate
#define ODDescList_InitObject ODObject_InitObject
#define ODDescList_IsInitialized ODObject_IsInitialized
#define ODDescList_HasExtension ODObject_HasExtension
#define ODDescList_GetExtension ODObject_GetExtension
#define ODDescList_ReleaseExtension ODObject_ReleaseExtension
#define ODDescList_Purge ODObject_Purge
#define ODDescList_IsEqualTo ODObject_IsEqualTo
#define ODDescList_SubClassResponsibility ODObject_SubClassResponsibility
#define ODDescList_somDefaultInit SOMObject_somDefaultInit
#define ODDescList_somDestruct SOMObject_somDestruct
#define ODDescList_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODDescList_somDefaultAssign SOMObject_somDefaultAssign
#define ODDescList_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODDescList_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODDescList_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODDescList_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODDescList_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODDescList_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODDescList_somFree SOMObject_somFree
#define ODDescList_somGetClass SOMObject_somGetClass
#define ODDescList_somGetClassName SOMObject_somGetClassName
#define ODDescList_somGetSize SOMObject_somGetSize
#define ODDescList_somIsA SOMObject_somIsA
#define ODDescList_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODDescList_somRespondsTo SOMObject_somRespondsTo
#define ODDescList_somDispatch SOMObject_somDispatch
#define ODDescList_somClassDispatch SOMObject_somClassDispatch
#define ODDescList_somCastObj SOMObject_somCastObj
#define ODDescList_somResetObj SOMObject_somResetObj
#define ODDescList_somDispatchV SOMObject_somDispatchV
#define ODDescList_somDispatchL SOMObject_somDispatchL
#define ODDescList_somDispatchA SOMObject_somDispatchA
#define ODDescList_somDispatchD SOMObject_somDispatchD
#define ODDescList_somPrintSelf SOMObject_somPrintSelf
#define ODDescList_somDumpSelf SOMObject_somDumpSelf
#define ODDescList_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODDescList_h */
