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

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


#ifndef SOM_ODWindowIterator_h
#define SOM_ODWindowIterator_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 ODWindowIteratorClassData (*resolve_ODWindowIteratorClassData())
#define ODWindowIteratorCClassData (*resolve_ODWindowIteratorCClassData())

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

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

#define ODWindowIterator_MajorVersion 0
#define ODWindowIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODWindowIteratorNewClass c
#define ODWindowIteratorClassData d
#define ODWindowIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODWindowIterator_classObj ODWindowIteratorClassData.classObject
#define _ODWindowIterator ODWindowIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODWindowIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken InitWindowIterator;
	somMToken First;
	somMToken Next;
	somMToken Last;
	somMToken Previous;
	somMToken IsNotComplete;
}  _ODWindowIteratorClassData;
SOMEXTERN struct ODWindowIteratorClassDataStructure * SOMLINK resolve_ODWindowIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODWindowIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODWindowIteratorCClassData;
SOMEXTERN struct ODWindowIteratorCClassDataStructure * SOMLINK resolve_ODWindowIteratorCClassData(void);

/*
 * New and Renew macros for ODWindowIterator
 */
#define ODWindowIteratorNew() \
   (_somNew(_ODWindowIterator ? _ODWindowIterator : ODWindowIteratorNewClass(ODWindowIterator_MajorVersion, ODWindowIterator_MinorVersion)))
#define ODWindowIteratorRenew(buf) \
   (_somRenew(_ODWindowIterator ? _ODWindowIterator : ODWindowIteratorNewClass(ODWindowIterator_MajorVersion, ODWindowIterator_MinorVersion), buf))

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

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

/*
 * New Method: InitWindowIterator
 */
typedef void   (SOMLINK * somTD_ODWindowIterator_InitWindowIterator)(ODWindowIterator *somSelf, Environment *ev,
		ODWindowState* windowState);
#define somMD_ODWindowIterator_InitWindowIterator "::ODWindowIterator::InitWindowIterator"
#define ODWindowIterator_InitWindowIterator(somSelf,ev,windowState) \
    (SOM_Resolve(somSelf, ODWindowIterator, InitWindowIterator) \
	(somSelf,ev,windowState))
#ifndef SOMGD_InitWindowIterator
    #if (defined(_InitWindowIterator) || defined(__InitWindowIterator))
        #undef _InitWindowIterator
        #undef __InitWindowIterator
        #define SOMGD_InitWindowIterator 1
    #else
        #define _InitWindowIterator ODWindowIterator_InitWindowIterator
    #endif /* _InitWindowIterator */
#endif /* SOMGD_InitWindowIterator */

/*
 * New Method: First
 */
typedef ODWindow*   (SOMLINK * somTD_ODWindowIterator_First)(ODWindowIterator *somSelf, Environment *ev);
#define somMD_ODWindowIterator_First "::ODWindowIterator::First"
#define ODWindowIterator_First(somSelf,ev) \
    (SOM_Resolve(somSelf, ODWindowIterator, First) \
	(somSelf,ev))
#ifndef SOMGD_First
    #if (defined(_First) || defined(__First))
        #undef _First
        #undef __First
        #define SOMGD_First 1
    #else
        #define _First ODWindowIterator_First
    #endif /* _First */
#endif /* SOMGD_First */

/*
 * New Method: Next
 */
typedef ODWindow*   (SOMLINK * somTD_ODWindowIterator_Next)(ODWindowIterator *somSelf, Environment *ev);
#define somMD_ODWindowIterator_Next "::ODWindowIterator::Next"
#define ODWindowIterator_Next(somSelf,ev) \
    (SOM_Resolve(somSelf, ODWindowIterator, Next) \
	(somSelf,ev))
#ifndef SOMGD_Next
    #if (defined(_Next) || defined(__Next))
        #undef _Next
        #undef __Next
        #define SOMGD_Next 1
    #else
        #define _Next ODWindowIterator_Next
    #endif /* _Next */
#endif /* SOMGD_Next */

/*
 * New Method: Last
 */
typedef ODWindow*   (SOMLINK * somTD_ODWindowIterator_Last)(ODWindowIterator *somSelf, Environment *ev);
#define somMD_ODWindowIterator_Last "::ODWindowIterator::Last"
#define ODWindowIterator_Last(somSelf,ev) \
    (SOM_Resolve(somSelf, ODWindowIterator, Last) \
	(somSelf,ev))
#ifndef SOMGD_Last
    #if (defined(_Last) || defined(__Last))
        #undef _Last
        #undef __Last
        #define SOMGD_Last 1
    #else
        #define _Last ODWindowIterator_Last
    #endif /* _Last */
#endif /* SOMGD_Last */

/*
 * New Method: Previous
 */
typedef ODWindow*   (SOMLINK * somTD_ODWindowIterator_Previous)(ODWindowIterator *somSelf, Environment *ev);
#define somMD_ODWindowIterator_Previous "::ODWindowIterator::Previous"
#define ODWindowIterator_Previous(somSelf,ev) \
    (SOM_Resolve(somSelf, ODWindowIterator, Previous) \
	(somSelf,ev))
#ifndef SOMGD_Previous
    #if (defined(_Previous) || defined(__Previous))
        #undef _Previous
        #undef __Previous
        #define SOMGD_Previous 1
    #else
        #define _Previous ODWindowIterator_Previous
    #endif /* _Previous */
#endif /* SOMGD_Previous */

/*
 * New Method: IsNotComplete
 */
typedef ODBoolean   (SOMLINK * somTD_ODWindowIterator_IsNotComplete)(ODWindowIterator *somSelf, Environment *ev);
#define somMD_ODWindowIterator_IsNotComplete "::ODWindowIterator::IsNotComplete"
#define ODWindowIterator_IsNotComplete(somSelf,ev) \
    (SOM_Resolve(somSelf, ODWindowIterator, IsNotComplete) \
	(somSelf,ev))
#ifndef SOMGD_IsNotComplete
    #if (defined(_IsNotComplete) || defined(__IsNotComplete))
        #undef _IsNotComplete
        #undef __IsNotComplete
        #define SOMGD_IsNotComplete 1
    #else
        #define _IsNotComplete ODWindowIterator_IsNotComplete
    #endif /* _IsNotComplete */
#endif /* SOMGD_IsNotComplete */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODWindowIterator_InitObject ODObject_InitObject
#define ODWindowIterator_IsInitialized ODObject_IsInitialized
#define ODWindowIterator_HasExtension ODObject_HasExtension
#define ODWindowIterator_GetExtension ODObject_GetExtension
#define ODWindowIterator_ReleaseExtension ODObject_ReleaseExtension
#define ODWindowIterator_Purge ODObject_Purge
#define ODWindowIterator_IsEqualTo ODObject_IsEqualTo
#define ODWindowIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define ODWindowIterator_somDefaultInit SOMObject_somDefaultInit
#define ODWindowIterator_somDestruct SOMObject_somDestruct
#define ODWindowIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODWindowIterator_somDefaultAssign SOMObject_somDefaultAssign
#define ODWindowIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODWindowIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODWindowIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODWindowIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODWindowIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODWindowIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODWindowIterator_somFree SOMObject_somFree
#define ODWindowIterator_somGetClass SOMObject_somGetClass
#define ODWindowIterator_somGetClassName SOMObject_somGetClassName
#define ODWindowIterator_somGetSize SOMObject_somGetSize
#define ODWindowIterator_somIsA SOMObject_somIsA
#define ODWindowIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODWindowIterator_somRespondsTo SOMObject_somRespondsTo
#define ODWindowIterator_somDispatch SOMObject_somDispatch
#define ODWindowIterator_somClassDispatch SOMObject_somClassDispatch
#define ODWindowIterator_somCastObj SOMObject_somCastObj
#define ODWindowIterator_somResetObj SOMObject_somResetObj
#define ODWindowIterator_somDispatchV SOMObject_somDispatchV
#define ODWindowIterator_somDispatchL SOMObject_somDispatchL
#define ODWindowIterator_somDispatchA SOMObject_somDispatchA
#define ODWindowIterator_somDispatchD SOMObject_somDispatchD
#define ODWindowIterator_somPrintSelf SOMObject_somPrintSelf
#define ODWindowIterator_somDumpSelf SOMObject_somDumpSelf
#define ODWindowIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODWindowIterator_h */
