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

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


#ifndef SOM_ODLinkSourceIterator_h
#define SOM_ODLinkSourceIterator_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 ODLinkSourceIteratorClassData (*resolve_ODLinkSourceIteratorClassData())
#define ODLinkSourceIteratorCClassData (*resolve_ODLinkSourceIteratorCClassData())

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

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

#define ODLinkSourceIterator_MajorVersion 0
#define ODLinkSourceIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODLinkSourceIteratorNewClass c
#define ODLinkSourceIteratorClassData d
#define ODLinkSourceIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODLinkSourceIterator_classObj ODLinkSourceIteratorClassData.classObject
#define _ODLinkSourceIterator ODLinkSourceIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODLinkSourceIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken IsNotComplete;
	somMToken First;
	somMToken Next;
	somMToken InitODLinkSourceIterator;
}  _ODLinkSourceIteratorClassData;
SOMEXTERN struct ODLinkSourceIteratorClassDataStructure * SOMLINK resolve_ODLinkSourceIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODLinkSourceIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODLinkSourceIteratorCClassData;
SOMEXTERN struct ODLinkSourceIteratorCClassDataStructure * SOMLINK resolve_ODLinkSourceIteratorCClassData(void);

/*
 * New and Renew macros for ODLinkSourceIterator
 */
#define ODLinkSourceIteratorNew() \
   (_somNew(_ODLinkSourceIterator ? _ODLinkSourceIterator : ODLinkSourceIteratorNewClass(ODLinkSourceIterator_MajorVersion, ODLinkSourceIterator_MinorVersion)))
#define ODLinkSourceIteratorRenew(buf) \
   (_somRenew(_ODLinkSourceIterator ? _ODLinkSourceIterator : ODLinkSourceIteratorNewClass(ODLinkSourceIterator_MajorVersion, ODLinkSourceIterator_MinorVersion), buf))

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

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

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

/*
 * New Method: First
 */
typedef ODLinkSource*   (SOMLINK * somTD_ODLinkSourceIterator_First)(ODLinkSourceIterator *somSelf, Environment *ev);
#define somMD_ODLinkSourceIterator_First "::ODLinkSourceIterator::First"
#define ODLinkSourceIterator_First(somSelf,ev) \
    (SOM_Resolve(somSelf, ODLinkSourceIterator, First) \
	(somSelf,ev))
#ifndef SOMGD_First
    #if (defined(_First) || defined(__First))
        #undef _First
        #undef __First
        #define SOMGD_First 1
    #else
        #define _First ODLinkSourceIterator_First
    #endif /* _First */
#endif /* SOMGD_First */

/*
 * New Method: Next
 */
typedef ODLinkSource*   (SOMLINK * somTD_ODLinkSourceIterator_Next)(ODLinkSourceIterator *somSelf, Environment *ev);
#define somMD_ODLinkSourceIterator_Next "::ODLinkSourceIterator::Next"
#define ODLinkSourceIterator_Next(somSelf,ev) \
    (SOM_Resolve(somSelf, ODLinkSourceIterator, Next) \
	(somSelf,ev))
#ifndef SOMGD_Next
    #if (defined(_Next) || defined(__Next))
        #undef _Next
        #undef __Next
        #define SOMGD_Next 1
    #else
        #define _Next ODLinkSourceIterator_Next
    #endif /* _Next */
#endif /* SOMGD_Next */

/*
 * New Method: InitODLinkSourceIterator
 */
typedef void   (SOMLINK * somTD_ODLinkSourceIterator_InitODLinkSourceIterator)(ODLinkSourceIterator *somSelf, Environment *ev);
#define somMD_ODLinkSourceIterator_InitODLinkSourceIterator "::ODLinkSourceIterator::InitODLinkSourceIterator"
#define ODLinkSourceIterator_InitODLinkSourceIterator(somSelf,ev) \
    (SOM_Resolve(somSelf, ODLinkSourceIterator, InitODLinkSourceIterator) \
	(somSelf,ev))
#ifndef SOMGD_InitODLinkSourceIterator
    #if (defined(_InitODLinkSourceIterator) || defined(__InitODLinkSourceIterator))
        #undef _InitODLinkSourceIterator
        #undef __InitODLinkSourceIterator
        #define SOMGD_InitODLinkSourceIterator 1
    #else
        #define _InitODLinkSourceIterator ODLinkSourceIterator_InitODLinkSourceIterator
    #endif /* _InitODLinkSourceIterator */
#endif /* SOMGD_InitODLinkSourceIterator */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODLinkSourceIterator_InitObject ODObject_InitObject
#define ODLinkSourceIterator_IsInitialized ODObject_IsInitialized
#define ODLinkSourceIterator_HasExtension ODObject_HasExtension
#define ODLinkSourceIterator_GetExtension ODObject_GetExtension
#define ODLinkSourceIterator_ReleaseExtension ODObject_ReleaseExtension
#define ODLinkSourceIterator_Purge ODObject_Purge
#define ODLinkSourceIterator_IsEqualTo ODObject_IsEqualTo
#define ODLinkSourceIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define ODLinkSourceIterator_somDefaultInit SOMObject_somDefaultInit
#define ODLinkSourceIterator_somDestruct SOMObject_somDestruct
#define ODLinkSourceIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODLinkSourceIterator_somDefaultAssign SOMObject_somDefaultAssign
#define ODLinkSourceIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODLinkSourceIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODLinkSourceIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODLinkSourceIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODLinkSourceIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODLinkSourceIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODLinkSourceIterator_somFree SOMObject_somFree
#define ODLinkSourceIterator_somGetClass SOMObject_somGetClass
#define ODLinkSourceIterator_somGetClassName SOMObject_somGetClassName
#define ODLinkSourceIterator_somGetSize SOMObject_somGetSize
#define ODLinkSourceIterator_somIsA SOMObject_somIsA
#define ODLinkSourceIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODLinkSourceIterator_somRespondsTo SOMObject_somRespondsTo
#define ODLinkSourceIterator_somDispatch SOMObject_somDispatch
#define ODLinkSourceIterator_somClassDispatch SOMObject_somClassDispatch
#define ODLinkSourceIterator_somCastObj SOMObject_somCastObj
#define ODLinkSourceIterator_somResetObj SOMObject_somResetObj
#define ODLinkSourceIterator_somDispatchV SOMObject_somDispatchV
#define ODLinkSourceIterator_somDispatchL SOMObject_somDispatchL
#define ODLinkSourceIterator_somDispatchA SOMObject_somDispatchA
#define ODLinkSourceIterator_somDispatchD SOMObject_somDispatchD
#define ODLinkSourceIterator_somPrintSelf SOMObject_somPrintSelf
#define ODLinkSourceIterator_somDumpSelf SOMObject_somDumpSelf
#define ODLinkSourceIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODLinkSourceIterator_h */
