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

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


#ifndef SOM_ODMemContainer_h
#define SOM_ODMemContainer_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 ODMemContainerClassData (*resolve_ODMemContainerClassData())
#define ODMemContainerCClassData (*resolve_ODMemContainerCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODMemContainer
#define ODMemContainer SOMObject
#endif
#include <CMCtr.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 ODRefCntObject
    #define ODRefCntObject SOMObject
#endif /* ODRefCntObject */
#ifndef ODStorageSystem
    #define ODStorageSystem SOMObject
#endif /* ODStorageSystem */
#ifndef ODContainer
    #define ODContainer SOMObject
#endif /* ODContainer */
#ifndef ODDocument
    #define ODDocument SOMObject
#endif /* ODDocument */
#ifndef ODBentoContainer
    #define ODBentoContainer SOMObject
#endif /* ODBentoContainer */
#ifndef ODMemContainer
    #define ODMemContainer SOMObject
#endif /* ODMemContainer */

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

#define ODMemContainer_MajorVersion 0
#define ODMemContainer_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODMemContainerNewClass c
#define ODMemContainerClassData d
#define ODMemContainerCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODMemContainer_classObj ODMemContainerClassData.classObject
#define _ODMemContainer ODMemContainer_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODMemContainerClassDataStructure {
	SOMClass *classObject;
}  _ODMemContainerClassData;
SOMEXTERN struct ODMemContainerClassDataStructure * SOMLINK resolve_ODMemContainerClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODMemContainerCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODMemContainerCClassData;
SOMEXTERN struct ODMemContainerCClassDataStructure * SOMLINK resolve_ODMemContainerCClassData(void);

/*
 * New and Renew macros for ODMemContainer
 */
#define ODMemContainerNew() \
   (_somNew(_ODMemContainer ? _ODMemContainer : ODMemContainerNewClass(ODMemContainer_MajorVersion, ODMemContainer_MinorVersion)))
#define ODMemContainerRenew(buf) \
   (_somRenew(_ODMemContainer ? _ODMemContainer : ODMemContainerNewClass(ODMemContainer_MajorVersion, ODMemContainer_MinorVersion), buf))

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

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

/*
 * Override method: Purge
 */
#define ODMemContainer_Purge(somSelf,ev,size) \
	ODObject_Purge(somSelf,ev,size)

/*
 * Override method: GetName
 */
#define ODMemContainer_GetName(somSelf,ev) \
	ODContainer_GetName(somSelf,ev)

/*
 * Override method: SetName
 */
#define ODMemContainer_SetName(somSelf,ev,name) \
	ODContainer_SetName(somSelf,ev,name)

/*
 * Override method: InitContainer
 */
#define ODMemContainer_InitContainer(somSelf,ev,system,id) \
	ODContainer_InitContainer(somSelf,ev,system,id)

/*
 * Override method: GetCMContainer
 */
#define ODMemContainer_GetCMContainer(somSelf,ev) \
	ODBentoContainer_GetCMContainer(somSelf,ev)

/*
 * Override method: GetHandlers
 */
#define ODMemContainer_GetHandlers(somSelf,ev) \
	ODBentoContainer_GetHandlers(somSelf,ev)

/*
 * Override method: Create
 */
#define ODMemContainer_Create(somSelf,ev) \
	ODContainer_Create(somSelf,ev)

/*
 * Override method: Open
 */
#define ODMemContainer_Open(somSelf,ev) \
	ODContainer_Open(somSelf,ev)

/*
 * Override method: Close
 */
#define ODMemContainer_Close(somSelf,ev) \
	ODContainer_Close(somSelf,ev)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODMemContainer_GetDirtyFlag ODBentoContainer_GetDirtyFlag
#define ODMemContainer_SetDirtyFlag ODBentoContainer_SetDirtyFlag
#define ODMemContainer_GetHeap ODBentoContainer_GetHeap
#define ODMemContainer_GetCMSession ODBentoContainer_GetCMSession
#define ODMemContainer_GetStorageSystem ODContainer_GetStorageSystem
#define ODMemContainer_GetID ODContainer_GetID
#define ODMemContainer_GetDocument ODContainer_GetDocument
#define ODMemContainer_ReleaseDocument ODContainer_ReleaseDocument
#define ODMemContainer_InitRefCntObject ODRefCntObject_InitRefCntObject
#define ODMemContainer_IncrementRefCount ODRefCntObject_IncrementRefCount
#define ODMemContainer_Release ODRefCntObject_Release
#define ODMemContainer_GetRefCount ODRefCntObject_GetRefCount
#define ODMemContainer_InitObject ODObject_InitObject
#define ODMemContainer_IsInitialized ODObject_IsInitialized
#define ODMemContainer_HasExtension ODObject_HasExtension
#define ODMemContainer_GetExtension ODObject_GetExtension
#define ODMemContainer_ReleaseExtension ODObject_ReleaseExtension
#define ODMemContainer_IsEqualTo ODObject_IsEqualTo
#define ODMemContainer_SubClassResponsibility ODObject_SubClassResponsibility
#define ODMemContainer_somDefaultInit SOMObject_somDefaultInit
#define ODMemContainer_somDestruct SOMObject_somDestruct
#define ODMemContainer_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODMemContainer_somDefaultAssign SOMObject_somDefaultAssign
#define ODMemContainer_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODMemContainer_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODMemContainer_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODMemContainer_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODMemContainer_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODMemContainer_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODMemContainer_somFree SOMObject_somFree
#define ODMemContainer_somGetClass SOMObject_somGetClass
#define ODMemContainer_somGetClassName SOMObject_somGetClassName
#define ODMemContainer_somGetSize SOMObject_somGetSize
#define ODMemContainer_somIsA SOMObject_somIsA
#define ODMemContainer_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODMemContainer_somRespondsTo SOMObject_somRespondsTo
#define ODMemContainer_somDispatch SOMObject_somDispatch
#define ODMemContainer_somClassDispatch SOMObject_somClassDispatch
#define ODMemContainer_somCastObj SOMObject_somCastObj
#define ODMemContainer_somResetObj SOMObject_somResetObj
#define ODMemContainer_somDispatchV SOMObject_somDispatchV
#define ODMemContainer_somDispatchL SOMObject_somDispatchL
#define ODMemContainer_somDispatchA SOMObject_somDispatchA
#define ODMemContainer_somDispatchD SOMObject_somDispatchD
#define ODMemContainer_somPrintSelf SOMObject_somPrintSelf
#define ODMemContainer_somDumpSelf SOMObject_somDumpSelf
#define ODMemContainer_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODMemContainer_h */
