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

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


#ifndef SOM_ODFileContainer_h
#define SOM_ODFileContainer_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 ODFileContainerClassData (*resolve_ODFileContainerClassData())
#define ODFileContainerCClassData (*resolve_ODFileContainerCClassData())

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

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

#define ODFileContainer_MajorVersion 0
#define ODFileContainer_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODFileContainerNewClass c
#define ODFileContainerClassData d
#define ODFileContainerCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODFileContainer_classObj ODFileContainerClassData.classObject
#define _ODFileContainer ODFileContainer_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODFileContainerClassDataStructure {
	SOMClass *classObject;
	somMToken GetPlatformFile;
}  _ODFileContainerClassData;
SOMEXTERN struct ODFileContainerClassDataStructure * SOMLINK resolve_ODFileContainerClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODFileContainerCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODFileContainerCClassData;
SOMEXTERN struct ODFileContainerCClassDataStructure * SOMLINK resolve_ODFileContainerCClassData(void);

/*
 * New and Renew macros for ODFileContainer
 */
#define ODFileContainerNew() \
   (_somNew(_ODFileContainer ? _ODFileContainer : ODFileContainerNewClass(ODFileContainer_MajorVersion, ODFileContainer_MinorVersion)))
#define ODFileContainerRenew(buf) \
   (_somRenew(_ODFileContainer ? _ODFileContainer : ODFileContainerNewClass(ODFileContainer_MajorVersion, ODFileContainer_MinorVersion), buf))

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

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

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

/*
 * Override method: GetID
 */
#define ODFileContainer_GetID(somSelf,ev) \
	ODContainer_GetID(somSelf,ev)

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

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

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

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

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

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

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

/*
 * Override method: Close
 */
#define ODFileContainer_Close(somSelf,ev) \
	ODContainer_Close(somSelf,ev)

/*
 * New Method: GetPlatformFile
 */
typedef PlatformFile*   (SOMLINK * somTD_ODFileContainer_GetPlatformFile)(ODFileContainer *somSelf, Environment *ev);
#define somMD_ODFileContainer_GetPlatformFile "::ODFileContainer::GetPlatformFile"
#define ODFileContainer_GetPlatformFile(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFileContainer, GetPlatformFile) \
	(somSelf,ev))
#ifndef SOMGD_GetPlatformFile
    #if (defined(_GetPlatformFile) || defined(__GetPlatformFile))
        #undef _GetPlatformFile
        #undef __GetPlatformFile
        #define SOMGD_GetPlatformFile 1
    #else
        #define _GetPlatformFile ODFileContainer_GetPlatformFile
    #endif /* _GetPlatformFile */
#endif /* SOMGD_GetPlatformFile */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODFileContainer_GetDirtyFlag ODBentoContainer_GetDirtyFlag
#define ODFileContainer_SetDirtyFlag ODBentoContainer_SetDirtyFlag
#define ODFileContainer_GetHeap ODBentoContainer_GetHeap
#define ODFileContainer_GetCMSession ODBentoContainer_GetCMSession
#define ODFileContainer_GetStorageSystem ODContainer_GetStorageSystem
#define ODFileContainer_GetDocument ODContainer_GetDocument
#define ODFileContainer_ReleaseDocument ODContainer_ReleaseDocument
#define ODFileContainer_InitRefCntObject ODRefCntObject_InitRefCntObject
#define ODFileContainer_IncrementRefCount ODRefCntObject_IncrementRefCount
#define ODFileContainer_Release ODRefCntObject_Release
#define ODFileContainer_GetRefCount ODRefCntObject_GetRefCount
#define ODFileContainer_InitObject ODObject_InitObject
#define ODFileContainer_IsInitialized ODObject_IsInitialized
#define ODFileContainer_HasExtension ODObject_HasExtension
#define ODFileContainer_GetExtension ODObject_GetExtension
#define ODFileContainer_ReleaseExtension ODObject_ReleaseExtension
#define ODFileContainer_IsEqualTo ODObject_IsEqualTo
#define ODFileContainer_SubClassResponsibility ODObject_SubClassResponsibility
#define ODFileContainer_somDefaultInit SOMObject_somDefaultInit
#define ODFileContainer_somDestruct SOMObject_somDestruct
#define ODFileContainer_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODFileContainer_somDefaultAssign SOMObject_somDefaultAssign
#define ODFileContainer_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODFileContainer_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODFileContainer_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODFileContainer_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODFileContainer_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODFileContainer_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODFileContainer_somFree SOMObject_somFree
#define ODFileContainer_somGetClass SOMObject_somGetClass
#define ODFileContainer_somGetClassName SOMObject_somGetClassName
#define ODFileContainer_somGetSize SOMObject_somGetSize
#define ODFileContainer_somIsA SOMObject_somIsA
#define ODFileContainer_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODFileContainer_somRespondsTo SOMObject_somRespondsTo
#define ODFileContainer_somDispatch SOMObject_somDispatch
#define ODFileContainer_somClassDispatch SOMObject_somClassDispatch
#define ODFileContainer_somCastObj SOMObject_somCastObj
#define ODFileContainer_somResetObj SOMObject_somResetObj
#define ODFileContainer_somDispatchV SOMObject_somDispatchV
#define ODFileContainer_somDispatchL SOMObject_somDispatchL
#define ODFileContainer_somDispatchA SOMObject_somDispatchA
#define ODFileContainer_somDispatchD SOMObject_somDispatchD
#define ODFileContainer_somPrintSelf SOMObject_somPrintSelf
#define ODFileContainer_somDumpSelf SOMObject_somDumpSelf
#define ODFileContainer_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODFileContainer_h */
