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

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


#ifndef SOM_ODTypeListIterator_h
#define SOM_ODTypeListIterator_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 ODTypeListIteratorClassData (*resolve_ODTypeListIteratorClassData())
#define ODTypeListIteratorCClassData (*resolve_ODTypeListIteratorCClassData())

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

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

#define ODTypeListIterator_MajorVersion 0
#define ODTypeListIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODTypeListIteratorNewClass c
#define ODTypeListIteratorClassData d
#define ODTypeListIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODTypeListIterator_classObj ODTypeListIteratorClassData.classObject
#define _ODTypeListIterator ODTypeListIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODTypeListIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken IsNotComplete;
	somMToken First;
	somMToken Next;
	somMToken InitODTypeListIterator;
}  _ODTypeListIteratorClassData;
SOMEXTERN struct ODTypeListIteratorClassDataStructure * SOMLINK resolve_ODTypeListIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODTypeListIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODTypeListIteratorCClassData;
SOMEXTERN struct ODTypeListIteratorCClassDataStructure * SOMLINK resolve_ODTypeListIteratorCClassData(void);

/*
 * New and Renew macros for ODTypeListIterator
 */
#define ODTypeListIteratorNew() \
   (_somNew(_ODTypeListIterator ? _ODTypeListIterator : ODTypeListIteratorNewClass(ODTypeListIterator_MajorVersion, ODTypeListIterator_MinorVersion)))
#define ODTypeListIteratorRenew(buf) \
   (_somRenew(_ODTypeListIterator ? _ODTypeListIterator : ODTypeListIteratorNewClass(ODTypeListIterator_MajorVersion, ODTypeListIterator_MinorVersion), buf))

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

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

/*
 * New Method: IsNotComplete
 */
typedef ODBoolean   (SOMLINK * somTD_ODTypeListIterator_IsNotComplete)(ODTypeListIterator *somSelf, Environment *ev);
#define somMD_ODTypeListIterator_IsNotComplete "::ODTypeListIterator::IsNotComplete"
#define ODTypeListIterator_IsNotComplete(somSelf,ev) \
    (SOM_Resolve(somSelf, ODTypeListIterator, IsNotComplete) \
	(somSelf,ev))
#ifndef SOMGD_IsNotComplete
    #if (defined(_IsNotComplete) || defined(__IsNotComplete))
        #undef _IsNotComplete
        #undef __IsNotComplete
        #define SOMGD_IsNotComplete 1
    #else
        #define _IsNotComplete ODTypeListIterator_IsNotComplete
    #endif /* _IsNotComplete */
#endif /* SOMGD_IsNotComplete */

/*
 * New Method: First
 */
typedef ODType   (SOMLINK * somTD_ODTypeListIterator_First)(ODTypeListIterator *somSelf, Environment *ev);
#define somMD_ODTypeListIterator_First "::ODTypeListIterator::First"
#define ODTypeListIterator_First(somSelf,ev) \
    (SOM_Resolve(somSelf, ODTypeListIterator, First) \
	(somSelf,ev))
#ifndef SOMGD_First
    #if (defined(_First) || defined(__First))
        #undef _First
        #undef __First
        #define SOMGD_First 1
    #else
        #define _First ODTypeListIterator_First
    #endif /* _First */
#endif /* SOMGD_First */

/*
 * New Method: Next
 */
typedef ODType   (SOMLINK * somTD_ODTypeListIterator_Next)(ODTypeListIterator *somSelf, Environment *ev);
#define somMD_ODTypeListIterator_Next "::ODTypeListIterator::Next"
#define ODTypeListIterator_Next(somSelf,ev) \
    (SOM_Resolve(somSelf, ODTypeListIterator, Next) \
	(somSelf,ev))
#ifndef SOMGD_Next
    #if (defined(_Next) || defined(__Next))
        #undef _Next
        #undef __Next
        #define SOMGD_Next 1
    #else
        #define _Next ODTypeListIterator_Next
    #endif /* _Next */
#endif /* SOMGD_Next */

/*
 * New Method: InitODTypeListIterator
 */
typedef void   (SOMLINK * somTD_ODTypeListIterator_InitODTypeListIterator)(ODTypeListIterator *somSelf, Environment *ev,
		ODTypeList* typeList);
#define somMD_ODTypeListIterator_InitODTypeListIterator "::ODTypeListIterator::InitODTypeListIterator"
#define ODTypeListIterator_InitODTypeListIterator(somSelf,ev,typeList) \
    (SOM_Resolve(somSelf, ODTypeListIterator, InitODTypeListIterator) \
	(somSelf,ev,typeList))
#ifndef SOMGD_InitODTypeListIterator
    #if (defined(_InitODTypeListIterator) || defined(__InitODTypeListIterator))
        #undef _InitODTypeListIterator
        #undef __InitODTypeListIterator
        #define SOMGD_InitODTypeListIterator 1
    #else
        #define _InitODTypeListIterator ODTypeListIterator_InitODTypeListIterator
    #endif /* _InitODTypeListIterator */
#endif /* SOMGD_InitODTypeListIterator */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODTypeListIterator_InitObject ODObject_InitObject
#define ODTypeListIterator_IsInitialized ODObject_IsInitialized
#define ODTypeListIterator_HasExtension ODObject_HasExtension
#define ODTypeListIterator_GetExtension ODObject_GetExtension
#define ODTypeListIterator_ReleaseExtension ODObject_ReleaseExtension
#define ODTypeListIterator_Purge ODObject_Purge
#define ODTypeListIterator_IsEqualTo ODObject_IsEqualTo
#define ODTypeListIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define ODTypeListIterator_somDefaultInit SOMObject_somDefaultInit
#define ODTypeListIterator_somDestruct SOMObject_somDestruct
#define ODTypeListIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODTypeListIterator_somDefaultAssign SOMObject_somDefaultAssign
#define ODTypeListIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODTypeListIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODTypeListIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODTypeListIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODTypeListIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODTypeListIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODTypeListIterator_somFree SOMObject_somFree
#define ODTypeListIterator_somGetClass SOMObject_somGetClass
#define ODTypeListIterator_somGetClassName SOMObject_somGetClassName
#define ODTypeListIterator_somGetSize SOMObject_somGetSize
#define ODTypeListIterator_somIsA SOMObject_somIsA
#define ODTypeListIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODTypeListIterator_somRespondsTo SOMObject_somRespondsTo
#define ODTypeListIterator_somDispatch SOMObject_somDispatch
#define ODTypeListIterator_somClassDispatch SOMObject_somClassDispatch
#define ODTypeListIterator_somCastObj SOMObject_somCastObj
#define ODTypeListIterator_somResetObj SOMObject_somResetObj
#define ODTypeListIterator_somDispatchV SOMObject_somDispatchV
#define ODTypeListIterator_somDispatchL SOMObject_somDispatchL
#define ODTypeListIterator_somDispatchA SOMObject_somDispatchA
#define ODTypeListIterator_somDispatchD SOMObject_somDispatchD
#define ODTypeListIterator_somPrintSelf SOMObject_somPrintSelf
#define ODTypeListIterator_somDumpSelf SOMObject_somDumpSelf
#define ODTypeListIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODTypeListIterator_h */
