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

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


#ifndef SOM_CMStorageUnitRefIterator_h
#define SOM_CMStorageUnitRefIterator_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 CMStorageUnitRefIteratorClassData (*resolve_CMStorageUnitRefIteratorClassData())
#define CMStorageUnitRefIteratorCClassData (*resolve_CMStorageUnitRefIteratorCClassData())

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

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

#define CMStorageUnitRefIterator_MajorVersion 0
#define CMStorageUnitRefIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define CMStorageUnitRefIteratorNewClass c
#define CMStorageUnitRefIteratorClassData d
#define CMStorageUnitRefIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define CMStorageUnitRefIterator_classObj CMStorageUnitRefIteratorClassData.classObject
#define _CMStorageUnitRefIterator CMStorageUnitRefIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct CMStorageUnitRefIteratorClassDataStructure {
	SOMClass *classObject;
}  _CMStorageUnitRefIteratorClassData;
SOMEXTERN struct CMStorageUnitRefIteratorClassDataStructure * SOMLINK resolve_CMStorageUnitRefIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct CMStorageUnitRefIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _CMStorageUnitRefIteratorCClassData;
SOMEXTERN struct CMStorageUnitRefIteratorCClassDataStructure * SOMLINK resolve_CMStorageUnitRefIteratorCClassData(void);

/*
 * New and Renew macros for CMStorageUnitRefIterator
 */
#define CMStorageUnitRefIteratorNew() \
   (_somNew(_CMStorageUnitRefIterator ? _CMStorageUnitRefIterator : CMStorageUnitRefIteratorNewClass(CMStorageUnitRefIterator_MajorVersion, CMStorageUnitRefIterator_MinorVersion)))
#define CMStorageUnitRefIteratorRenew(buf) \
   (_somRenew(_CMStorageUnitRefIterator ? _CMStorageUnitRefIterator : CMStorageUnitRefIteratorNewClass(CMStorageUnitRefIterator_MajorVersion, CMStorageUnitRefIterator_MinorVersion), buf))

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

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

/*
 * Override method: InitStorageUnitRefIterator
 */
#define CMStorageUnitRefIterator_InitStorageUnitRefIterator(somSelf,ev,storageUnit) \
	ODStorageUnitRefIterator_InitStorageUnitRefIterator(somSelf,ev,storageUnit)

/*
 * Override method: First
 */
#define CMStorageUnitRefIterator_First(somSelf,ev) \
	ODStorageUnitRefIterator_First(somSelf,ev)

/*
 * Override method: Next
 */
#define CMStorageUnitRefIterator_Next(somSelf,ev) \
	ODStorageUnitRefIterator_Next(somSelf,ev)

/*
 * Override method: IsNotComplete
 */
#define CMStorageUnitRefIterator_IsNotComplete(somSelf,ev) \
	ODStorageUnitRefIterator_IsNotComplete(somSelf,ev)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define CMStorageUnitRefIterator_InitObject ODObject_InitObject
#define CMStorageUnitRefIterator_IsInitialized ODObject_IsInitialized
#define CMStorageUnitRefIterator_HasExtension ODObject_HasExtension
#define CMStorageUnitRefIterator_GetExtension ODObject_GetExtension
#define CMStorageUnitRefIterator_ReleaseExtension ODObject_ReleaseExtension
#define CMStorageUnitRefIterator_Purge ODObject_Purge
#define CMStorageUnitRefIterator_IsEqualTo ODObject_IsEqualTo
#define CMStorageUnitRefIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define CMStorageUnitRefIterator_somDefaultInit SOMObject_somDefaultInit
#define CMStorageUnitRefIterator_somDestruct SOMObject_somDestruct
#define CMStorageUnitRefIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define CMStorageUnitRefIterator_somDefaultAssign SOMObject_somDefaultAssign
#define CMStorageUnitRefIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define CMStorageUnitRefIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define CMStorageUnitRefIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define CMStorageUnitRefIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define CMStorageUnitRefIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define CMStorageUnitRefIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define CMStorageUnitRefIterator_somFree SOMObject_somFree
#define CMStorageUnitRefIterator_somGetClass SOMObject_somGetClass
#define CMStorageUnitRefIterator_somGetClassName SOMObject_somGetClassName
#define CMStorageUnitRefIterator_somGetSize SOMObject_somGetSize
#define CMStorageUnitRefIterator_somIsA SOMObject_somIsA
#define CMStorageUnitRefIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define CMStorageUnitRefIterator_somRespondsTo SOMObject_somRespondsTo
#define CMStorageUnitRefIterator_somDispatch SOMObject_somDispatch
#define CMStorageUnitRefIterator_somClassDispatch SOMObject_somClassDispatch
#define CMStorageUnitRefIterator_somCastObj SOMObject_somCastObj
#define CMStorageUnitRefIterator_somResetObj SOMObject_somResetObj
#define CMStorageUnitRefIterator_somDispatchV SOMObject_somDispatchV
#define CMStorageUnitRefIterator_somDispatchL SOMObject_somDispatchL
#define CMStorageUnitRefIterator_somDispatchA SOMObject_somDispatchA
#define CMStorageUnitRefIterator_somDispatchD SOMObject_somDispatchD
#define CMStorageUnitRefIterator_somPrintSelf SOMObject_somPrintSelf
#define CMStorageUnitRefIterator_somDumpSelf SOMObject_somDumpSelf
#define CMStorageUnitRefIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_CMStorageUnitRefIterator_h */
