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

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


#ifndef SOM_ODAddressDesc_h
#define SOM_ODAddressDesc_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 ODAddressDescClassData (*resolve_ODAddressDescClassData())
#define ODAddressDescCClassData (*resolve_ODAddressDescCClassData())

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

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

#define ODAddressDesc_MajorVersion 0
#define ODAddressDesc_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODAddressDescNewClass c
#define ODAddressDescClassData d
#define ODAddressDescCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODAddressDesc_classObj ODAddressDescClassData.classObject
#define _ODAddressDesc ODAddressDesc_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODAddressDescClassDataStructure {
	SOMClass *classObject;
	somMToken somInit;
	somMToken somUninit;
	somMToken InitODAddressDesc;
}  _ODAddressDescClassData;
SOMEXTERN struct ODAddressDescClassDataStructure * SOMLINK resolve_ODAddressDescClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODAddressDescCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODAddressDescCClassData;
SOMEXTERN struct ODAddressDescCClassDataStructure * SOMLINK resolve_ODAddressDescCClassData(void);

/*
 * New and Renew macros for ODAddressDesc
 */
#define ODAddressDescNew() \
   (_somNew(_ODAddressDesc ? _ODAddressDesc : ODAddressDescNewClass(ODAddressDesc_MajorVersion, ODAddressDesc_MinorVersion)))
#define ODAddressDescRenew(buf) \
   (_somRenew(_ODAddressDesc ? _ODAddressDesc : ODAddressDescNewClass(ODAddressDesc_MajorVersion, ODAddressDesc_MinorVersion), buf))

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

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

/*
 * New Method: InitODAddressDesc
 */
typedef void   (SOMLINK * somTD_ODAddressDesc_InitODAddressDesc)(ODAddressDesc *somSelf, Environment *ev);
#define somMD_ODAddressDesc_InitODAddressDesc "::ODAddressDesc::InitODAddressDesc"
#define ODAddressDesc_InitODAddressDesc(somSelf,ev) \
    (SOM_Resolve(somSelf, ODAddressDesc, InitODAddressDesc) \
	(somSelf,ev))
#ifndef SOMGD_InitODAddressDesc
    #if (defined(_InitODAddressDesc) || defined(__InitODAddressDesc))
        #undef _InitODAddressDesc
        #undef __InitODAddressDesc
        #define SOMGD_InitODAddressDesc 1
    #else
        #define _InitODAddressDesc ODAddressDesc_InitODAddressDesc
    #endif /* _InitODAddressDesc */
#endif /* SOMGD_InitODAddressDesc */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODAddressDesc_InitODDesc ODDesc_InitODDesc
#define ODAddressDesc_GetAEDesc ODDesc_GetAEDesc
#define ODAddressDesc_SetAEDesc ODDesc_SetAEDesc
#define ODAddressDesc_SetHadToAllocate ODDesc_SetHadToAllocate
#define ODAddressDesc_InitObject ODObject_InitObject
#define ODAddressDesc_IsInitialized ODObject_IsInitialized
#define ODAddressDesc_HasExtension ODObject_HasExtension
#define ODAddressDesc_GetExtension ODObject_GetExtension
#define ODAddressDesc_ReleaseExtension ODObject_ReleaseExtension
#define ODAddressDesc_Purge ODObject_Purge
#define ODAddressDesc_IsEqualTo ODObject_IsEqualTo
#define ODAddressDesc_SubClassResponsibility ODObject_SubClassResponsibility
#define ODAddressDesc_somDefaultInit SOMObject_somDefaultInit
#define ODAddressDesc_somDestruct SOMObject_somDestruct
#define ODAddressDesc_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODAddressDesc_somDefaultAssign SOMObject_somDefaultAssign
#define ODAddressDesc_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODAddressDesc_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODAddressDesc_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODAddressDesc_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODAddressDesc_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODAddressDesc_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODAddressDesc_somFree SOMObject_somFree
#define ODAddressDesc_somGetClass SOMObject_somGetClass
#define ODAddressDesc_somGetClassName SOMObject_somGetClassName
#define ODAddressDesc_somGetSize SOMObject_somGetSize
#define ODAddressDesc_somIsA SOMObject_somIsA
#define ODAddressDesc_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODAddressDesc_somRespondsTo SOMObject_somRespondsTo
#define ODAddressDesc_somDispatch SOMObject_somDispatch
#define ODAddressDesc_somClassDispatch SOMObject_somClassDispatch
#define ODAddressDesc_somCastObj SOMObject_somCastObj
#define ODAddressDesc_somResetObj SOMObject_somResetObj
#define ODAddressDesc_somDispatchV SOMObject_somDispatchV
#define ODAddressDesc_somDispatchL SOMObject_somDispatchL
#define ODAddressDesc_somDispatchA SOMObject_somDispatchA
#define ODAddressDesc_somDispatchD SOMObject_somDispatchD
#define ODAddressDesc_somPrintSelf SOMObject_somPrintSelf
#define ODAddressDesc_somDumpSelf SOMObject_somDumpSelf
#define ODAddressDesc_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODAddressDesc_h */
