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

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


#ifndef SOM_ODRecord_h
#define SOM_ODRecord_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 ODRecordClassData (*resolve_ODRecordClassData())
#define ODRecordCClassData (*resolve_ODRecordCClassData())

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

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

#define ODRecord_MajorVersion 0
#define ODRecord_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODRecordNewClass c
#define ODRecordClassData d
#define ODRecordCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODRecord_classObj ODRecordClassData.classObject
#define _ODRecord ODRecord_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODRecordClassDataStructure {
	SOMClass *classObject;
	somMToken somInit;
	somMToken somUninit;
	somMToken InitODRecord;
}  _ODRecordClassData;
SOMEXTERN struct ODRecordClassDataStructure * SOMLINK resolve_ODRecordClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODRecordCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODRecordCClassData;
SOMEXTERN struct ODRecordCClassDataStructure * SOMLINK resolve_ODRecordCClassData(void);

/*
 * New and Renew macros for ODRecord
 */
#define ODRecordNew() \
   (_somNew(_ODRecord ? _ODRecord : ODRecordNewClass(ODRecord_MajorVersion, ODRecord_MinorVersion)))
#define ODRecordRenew(buf) \
   (_somRenew(_ODRecord ? _ODRecord : ODRecordNewClass(ODRecord_MajorVersion, ODRecord_MinorVersion), buf))

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

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

/*
 * New Method: InitODRecord
 */
typedef void   (SOMLINK * somTD_ODRecord_InitODRecord)(ODRecord *somSelf, Environment *ev);
#define somMD_ODRecord_InitODRecord "::ODRecord::InitODRecord"
#define ODRecord_InitODRecord(somSelf,ev) \
    (SOM_Resolve(somSelf, ODRecord, InitODRecord) \
	(somSelf,ev))
#ifndef SOMGD_InitODRecord
    #if (defined(_InitODRecord) || defined(__InitODRecord))
        #undef _InitODRecord
        #undef __InitODRecord
        #define SOMGD_InitODRecord 1
    #else
        #define _InitODRecord ODRecord_InitODRecord
    #endif /* _InitODRecord */
#endif /* SOMGD_InitODRecord */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODRecord_InitODDescList ODDescList_InitODDescList
#define ODRecord_InitODDesc ODDesc_InitODDesc
#define ODRecord_GetAEDesc ODDesc_GetAEDesc
#define ODRecord_SetAEDesc ODDesc_SetAEDesc
#define ODRecord_SetHadToAllocate ODDesc_SetHadToAllocate
#define ODRecord_InitObject ODObject_InitObject
#define ODRecord_IsInitialized ODObject_IsInitialized
#define ODRecord_HasExtension ODObject_HasExtension
#define ODRecord_GetExtension ODObject_GetExtension
#define ODRecord_ReleaseExtension ODObject_ReleaseExtension
#define ODRecord_Purge ODObject_Purge
#define ODRecord_IsEqualTo ODObject_IsEqualTo
#define ODRecord_SubClassResponsibility ODObject_SubClassResponsibility
#define ODRecord_somDefaultInit SOMObject_somDefaultInit
#define ODRecord_somDestruct SOMObject_somDestruct
#define ODRecord_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODRecord_somDefaultAssign SOMObject_somDefaultAssign
#define ODRecord_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODRecord_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODRecord_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODRecord_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODRecord_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODRecord_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODRecord_somFree SOMObject_somFree
#define ODRecord_somGetClass SOMObject_somGetClass
#define ODRecord_somGetClassName SOMObject_somGetClassName
#define ODRecord_somGetSize SOMObject_somGetSize
#define ODRecord_somIsA SOMObject_somIsA
#define ODRecord_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODRecord_somRespondsTo SOMObject_somRespondsTo
#define ODRecord_somDispatch SOMObject_somDispatch
#define ODRecord_somClassDispatch SOMObject_somClassDispatch
#define ODRecord_somCastObj SOMObject_somCastObj
#define ODRecord_somResetObj SOMObject_somResetObj
#define ODRecord_somDispatchV SOMObject_somDispatchV
#define ODRecord_somDispatchL SOMObject_somDispatchL
#define ODRecord_somDispatchA SOMObject_somDispatchA
#define ODRecord_somDispatchD SOMObject_somDispatchD
#define ODRecord_somPrintSelf SOMObject_somPrintSelf
#define ODRecord_somDumpSelf SOMObject_somDumpSelf
#define ODRecord_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODRecord_h */
