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

/*
 * 
 *  Theory of Operation
 * 
 * 
 * 
 *  Classes defined in this interface
 * 
 */


#ifndef SOM_ODInfo_h
#define SOM_ODInfo_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 ODInfoClassData (*resolve_ODInfoClassData())
#define ODInfoCClassData (*resolve_ODInfoCClassData())

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

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

#define ODInfo_MajorVersion 0
#define ODInfo_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODInfoNewClass c
#define ODInfoClassData d
#define ODInfoCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODInfo_classObj ODInfoClassData.classObject
#define _ODInfo ODInfo_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODInfoClassDataStructure {
	SOMClass *classObject;
	somMToken InitInfo;
	somMToken ShowPartFrameInfo;
}  _ODInfoClassData;
SOMEXTERN struct ODInfoClassDataStructure * SOMLINK resolve_ODInfoClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODInfoCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODInfoCClassData;
SOMEXTERN struct ODInfoCClassDataStructure * SOMLINK resolve_ODInfoCClassData(void);

/*
 * New and Renew macros for ODInfo
 */
#define ODInfoNew() \
   (_somNew(_ODInfo ? _ODInfo : ODInfoNewClass(ODInfo_MajorVersion, ODInfo_MinorVersion)))
#define ODInfoRenew(buf) \
   (_somRenew(_ODInfo ? _ODInfo : ODInfoNewClass(ODInfo_MajorVersion, ODInfo_MinorVersion), buf))

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

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

/*
 * New Method: InitInfo
 */
typedef void   (SOMLINK * somTD_ODInfo_InitInfo)(ODInfo *somSelf, Environment *ev,
		ODSession* session);
#define somMD_ODInfo_InitInfo "::ODInfo::InitInfo"
#define ODInfo_InitInfo(somSelf,ev,session) \
    (SOM_Resolve(somSelf, ODInfo, InitInfo) \
	(somSelf,ev,session))
#ifndef SOMGD_InitInfo
    #if (defined(_InitInfo) || defined(__InitInfo))
        #undef _InitInfo
        #undef __InitInfo
        #define SOMGD_InitInfo 1
    #else
        #define _InitInfo ODInfo_InitInfo
    #endif /* _InitInfo */
#endif /* SOMGD_InitInfo */

/*
 * New Method: ShowPartFrameInfo
 */
typedef ODBoolean   (SOMLINK * somTD_ODInfo_ShowPartFrameInfo)(ODInfo *somSelf, Environment *ev,
		ODFacet* facet);
#define somMD_ODInfo_ShowPartFrameInfo "::ODInfo::ShowPartFrameInfo"
#define ODInfo_ShowPartFrameInfo(somSelf,ev,facet) \
    (SOM_Resolve(somSelf, ODInfo, ShowPartFrameInfo) \
	(somSelf,ev,facet))
#ifndef SOMGD_ShowPartFrameInfo
    #if (defined(_ShowPartFrameInfo) || defined(__ShowPartFrameInfo))
        #undef _ShowPartFrameInfo
        #undef __ShowPartFrameInfo
        #define SOMGD_ShowPartFrameInfo 1
    #else
        #define _ShowPartFrameInfo ODInfo_ShowPartFrameInfo
    #endif /* _ShowPartFrameInfo */
#endif /* SOMGD_ShowPartFrameInfo */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODInfo_InitObject ODObject_InitObject
#define ODInfo_IsInitialized ODObject_IsInitialized
#define ODInfo_HasExtension ODObject_HasExtension
#define ODInfo_GetExtension ODObject_GetExtension
#define ODInfo_ReleaseExtension ODObject_ReleaseExtension
#define ODInfo_Purge ODObject_Purge
#define ODInfo_IsEqualTo ODObject_IsEqualTo
#define ODInfo_SubClassResponsibility ODObject_SubClassResponsibility
#define ODInfo_somDefaultInit SOMObject_somDefaultInit
#define ODInfo_somDestruct SOMObject_somDestruct
#define ODInfo_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODInfo_somDefaultAssign SOMObject_somDefaultAssign
#define ODInfo_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODInfo_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODInfo_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODInfo_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODInfo_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODInfo_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODInfo_somFree SOMObject_somFree
#define ODInfo_somGetClass SOMObject_somGetClass
#define ODInfo_somGetClassName SOMObject_somGetClassName
#define ODInfo_somGetSize SOMObject_somGetSize
#define ODInfo_somIsA SOMObject_somIsA
#define ODInfo_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODInfo_somRespondsTo SOMObject_somRespondsTo
#define ODInfo_somDispatch SOMObject_somDispatch
#define ODInfo_somClassDispatch SOMObject_somClassDispatch
#define ODInfo_somCastObj SOMObject_somCastObj
#define ODInfo_somResetObj SOMObject_somResetObj
#define ODInfo_somDispatchV SOMObject_somDispatchV
#define ODInfo_somDispatchL SOMObject_somDispatchL
#define ODInfo_somDispatchA SOMObject_somDispatchA
#define ODInfo_somDispatchD SOMObject_somDispatchD
#define ODInfo_somPrintSelf SOMObject_somPrintSelf
#define ODInfo_somDumpSelf SOMObject_somDumpSelf
#define ODInfo_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODInfo_h */
