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

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


#ifndef SOM_ODStorageUnitRefIterator_h
#define SOM_ODStorageUnitRefIterator_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 ODStorageUnitRefIteratorClassData (*resolve_ODStorageUnitRefIteratorClassData())
#define ODStorageUnitRefIteratorCClassData (*resolve_ODStorageUnitRefIteratorCClassData())

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

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

#define ODStorageUnitRefIterator_MajorVersion 0
#define ODStorageUnitRefIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODStorageUnitRefIteratorNewClass c
#define ODStorageUnitRefIteratorClassData d
#define ODStorageUnitRefIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODStorageUnitRefIterator_classObj ODStorageUnitRefIteratorClassData.classObject
#define _ODStorageUnitRefIterator ODStorageUnitRefIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODStorageUnitRefIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken InitStorageUnitRefIterator;
	somMToken First;
	somMToken Next;
	somMToken IsNotComplete;
}  _ODStorageUnitRefIteratorClassData;
SOMEXTERN struct ODStorageUnitRefIteratorClassDataStructure * SOMLINK resolve_ODStorageUnitRefIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODStorageUnitRefIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODStorageUnitRefIteratorCClassData;
SOMEXTERN struct ODStorageUnitRefIteratorCClassDataStructure * SOMLINK resolve_ODStorageUnitRefIteratorCClassData(void);

/*
 * New and Renew macros for ODStorageUnitRefIterator
 */
#define ODStorageUnitRefIteratorNew() \
   (_somNew(_ODStorageUnitRefIterator ? _ODStorageUnitRefIterator : ODStorageUnitRefIteratorNewClass(ODStorageUnitRefIterator_MajorVersion, ODStorageUnitRefIterator_MinorVersion)))
#define ODStorageUnitRefIteratorRenew(buf) \
   (_somRenew(_ODStorageUnitRefIterator ? _ODStorageUnitRefIterator : ODStorageUnitRefIteratorNewClass(ODStorageUnitRefIterator_MajorVersion, ODStorageUnitRefIterator_MinorVersion), buf))

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

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

/*
 * New Method: InitStorageUnitRefIterator
 */
typedef void   (SOMLINK * somTD_ODStorageUnitRefIterator_InitStorageUnitRefIterator)(ODStorageUnitRefIterator *somSelf, Environment *ev,
		ODStorageUnit* storageUnit);
#define somMD_ODStorageUnitRefIterator_InitStorageUnitRefIterator "::ODStorageUnitRefIterator::InitStorageUnitRefIterator"
#define ODStorageUnitRefIterator_InitStorageUnitRefIterator(somSelf,ev,storageUnit) \
    (SOM_Resolve(somSelf, ODStorageUnitRefIterator, InitStorageUnitRefIterator) \
	(somSelf,ev,storageUnit))
#ifndef SOMGD_InitStorageUnitRefIterator
    #if (defined(_InitStorageUnitRefIterator) || defined(__InitStorageUnitRefIterator))
        #undef _InitStorageUnitRefIterator
        #undef __InitStorageUnitRefIterator
        #define SOMGD_InitStorageUnitRefIterator 1
    #else
        #define _InitStorageUnitRefIterator ODStorageUnitRefIterator_InitStorageUnitRefIterator
    #endif /* _InitStorageUnitRefIterator */
#endif /* SOMGD_InitStorageUnitRefIterator */

/*
 * New Method: First
 */
typedef ODStorageUnitRef   (SOMLINK * somTD_ODStorageUnitRefIterator_First)(ODStorageUnitRefIterator *somSelf, Environment *ev);
#define somMD_ODStorageUnitRefIterator_First "::ODStorageUnitRefIterator::First"
#define ODStorageUnitRefIterator_First(somSelf,ev) \
    (SOM_Resolve(somSelf, ODStorageUnitRefIterator, First) \
	(somSelf,ev))
#ifndef SOMGD_First
    #if (defined(_First) || defined(__First))
        #undef _First
        #undef __First
        #define SOMGD_First 1
    #else
        #define _First ODStorageUnitRefIterator_First
    #endif /* _First */
#endif /* SOMGD_First */

/*
 * New Method: Next
 */
typedef ODStorageUnitRef   (SOMLINK * somTD_ODStorageUnitRefIterator_Next)(ODStorageUnitRefIterator *somSelf, Environment *ev);
#define somMD_ODStorageUnitRefIterator_Next "::ODStorageUnitRefIterator::Next"
#define ODStorageUnitRefIterator_Next(somSelf,ev) \
    (SOM_Resolve(somSelf, ODStorageUnitRefIterator, Next) \
	(somSelf,ev))
#ifndef SOMGD_Next
    #if (defined(_Next) || defined(__Next))
        #undef _Next
        #undef __Next
        #define SOMGD_Next 1
    #else
        #define _Next ODStorageUnitRefIterator_Next
    #endif /* _Next */
#endif /* SOMGD_Next */

/*
 * New Method: IsNotComplete
 */
typedef ODBoolean   (SOMLINK * somTD_ODStorageUnitRefIterator_IsNotComplete)(ODStorageUnitRefIterator *somSelf, Environment *ev);
#define somMD_ODStorageUnitRefIterator_IsNotComplete "::ODStorageUnitRefIterator::IsNotComplete"
#define ODStorageUnitRefIterator_IsNotComplete(somSelf,ev) \
    (SOM_Resolve(somSelf, ODStorageUnitRefIterator, IsNotComplete) \
	(somSelf,ev))
#ifndef SOMGD_IsNotComplete
    #if (defined(_IsNotComplete) || defined(__IsNotComplete))
        #undef _IsNotComplete
        #undef __IsNotComplete
        #define SOMGD_IsNotComplete 1
    #else
        #define _IsNotComplete ODStorageUnitRefIterator_IsNotComplete
    #endif /* _IsNotComplete */
#endif /* SOMGD_IsNotComplete */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODStorageUnitRefIterator_InitObject ODObject_InitObject
#define ODStorageUnitRefIterator_IsInitialized ODObject_IsInitialized
#define ODStorageUnitRefIterator_HasExtension ODObject_HasExtension
#define ODStorageUnitRefIterator_GetExtension ODObject_GetExtension
#define ODStorageUnitRefIterator_ReleaseExtension ODObject_ReleaseExtension
#define ODStorageUnitRefIterator_Purge ODObject_Purge
#define ODStorageUnitRefIterator_IsEqualTo ODObject_IsEqualTo
#define ODStorageUnitRefIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define ODStorageUnitRefIterator_somDefaultInit SOMObject_somDefaultInit
#define ODStorageUnitRefIterator_somDestruct SOMObject_somDestruct
#define ODStorageUnitRefIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODStorageUnitRefIterator_somDefaultAssign SOMObject_somDefaultAssign
#define ODStorageUnitRefIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODStorageUnitRefIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODStorageUnitRefIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODStorageUnitRefIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODStorageUnitRefIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODStorageUnitRefIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODStorageUnitRefIterator_somFree SOMObject_somFree
#define ODStorageUnitRefIterator_somGetClass SOMObject_somGetClass
#define ODStorageUnitRefIterator_somGetClassName SOMObject_somGetClassName
#define ODStorageUnitRefIterator_somGetSize SOMObject_somGetSize
#define ODStorageUnitRefIterator_somIsA SOMObject_somIsA
#define ODStorageUnitRefIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODStorageUnitRefIterator_somRespondsTo SOMObject_somRespondsTo
#define ODStorageUnitRefIterator_somDispatch SOMObject_somDispatch
#define ODStorageUnitRefIterator_somClassDispatch SOMObject_somClassDispatch
#define ODStorageUnitRefIterator_somCastObj SOMObject_somCastObj
#define ODStorageUnitRefIterator_somResetObj SOMObject_somResetObj
#define ODStorageUnitRefIterator_somDispatchV SOMObject_somDispatchV
#define ODStorageUnitRefIterator_somDispatchL SOMObject_somDispatchL
#define ODStorageUnitRefIterator_somDispatchA SOMObject_somDispatchA
#define ODStorageUnitRefIterator_somDispatchD SOMObject_somDispatchD
#define ODStorageUnitRefIterator_somPrintSelf SOMObject_somPrintSelf
#define ODStorageUnitRefIterator_somDumpSelf SOMObject_somDumpSelf
#define ODStorageUnitRefIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODStorageUnitRefIterator_h */
