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

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


#ifndef SOM_CMLinkSourceIterator_h
#define SOM_CMLinkSourceIterator_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 CMLinkSourceIteratorClassData (*resolve_CMLinkSourceIteratorClassData())
#define CMLinkSourceIteratorCClassData (*resolve_CMLinkSourceIteratorCClassData())

/*
 * Define the class name as an object type
 */
#ifndef CMLinkSourceIterator
#define CMLinkSourceIterator SOMObject
#endif
#include <LkSrcItr.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 */
#ifndef CMLinkSourceIterator
    #define CMLinkSourceIterator SOMObject
#endif /* CMLinkSourceIterator */
#ifndef CMDraft
    #define CMDraft SOMObject
#endif /* CMDraft */

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

#define CMLinkSourceIterator_MajorVersion 0
#define CMLinkSourceIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define CMLinkSourceIteratorNewClass c
#define CMLinkSourceIteratorClassData d
#define CMLinkSourceIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define CMLinkSourceIterator_classObj CMLinkSourceIteratorClassData.classObject
#define _CMLinkSourceIterator CMLinkSourceIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct CMLinkSourceIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken InitCMLinkSourceIterator;
}  _CMLinkSourceIteratorClassData;
SOMEXTERN struct CMLinkSourceIteratorClassDataStructure * SOMLINK resolve_CMLinkSourceIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct CMLinkSourceIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _CMLinkSourceIteratorCClassData;
SOMEXTERN struct CMLinkSourceIteratorCClassDataStructure * SOMLINK resolve_CMLinkSourceIteratorCClassData(void);

/*
 * New and Renew macros for CMLinkSourceIterator
 */
#define CMLinkSourceIteratorNew() \
   (_somNew(_CMLinkSourceIterator ? _CMLinkSourceIterator : CMLinkSourceIteratorNewClass(CMLinkSourceIterator_MajorVersion, CMLinkSourceIterator_MinorVersion)))
#define CMLinkSourceIteratorRenew(buf) \
   (_somRenew(_CMLinkSourceIterator ? _CMLinkSourceIterator : CMLinkSourceIteratorNewClass(CMLinkSourceIterator_MajorVersion, CMLinkSourceIterator_MinorVersion), buf))

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

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

/*
 * Override method: IsNotComplete
 */
#define CMLinkSourceIterator_IsNotComplete(somSelf,ev) \
	ODLinkSourceIterator_IsNotComplete(somSelf,ev)

/*
 * Override method: First
 */
#define CMLinkSourceIterator_First(somSelf,ev) \
	ODLinkSourceIterator_First(somSelf,ev)

/*
 * Override method: Next
 */
#define CMLinkSourceIterator_Next(somSelf,ev) \
	ODLinkSourceIterator_Next(somSelf,ev)

/*
 * New Method: InitCMLinkSourceIterator
 */
typedef void   (SOMLINK * somTD_CMLinkSourceIterator_InitCMLinkSourceIterator)(CMLinkSourceIterator *somSelf, Environment *ev,
		CMDraft* draft);
#define somMD_CMLinkSourceIterator_InitCMLinkSourceIterator "::CMLinkSourceIterator::InitCMLinkSourceIterator"
#define CMLinkSourceIterator_InitCMLinkSourceIterator(somSelf,ev,draft) \
    (SOM_Resolve(somSelf, CMLinkSourceIterator, InitCMLinkSourceIterator) \
	(somSelf,ev,draft))
#ifndef SOMGD_InitCMLinkSourceIterator
    #if (defined(_InitCMLinkSourceIterator) || defined(__InitCMLinkSourceIterator))
        #undef _InitCMLinkSourceIterator
        #undef __InitCMLinkSourceIterator
        #define SOMGD_InitCMLinkSourceIterator 1
    #else
        #define _InitCMLinkSourceIterator CMLinkSourceIterator_InitCMLinkSourceIterator
    #endif /* _InitCMLinkSourceIterator */
#endif /* SOMGD_InitCMLinkSourceIterator */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define CMLinkSourceIterator_InitODLinkSourceIterator ODLinkSourceIterator_InitODLinkSourceIterator
#define CMLinkSourceIterator_InitObject ODObject_InitObject
#define CMLinkSourceIterator_IsInitialized ODObject_IsInitialized
#define CMLinkSourceIterator_HasExtension ODObject_HasExtension
#define CMLinkSourceIterator_GetExtension ODObject_GetExtension
#define CMLinkSourceIterator_ReleaseExtension ODObject_ReleaseExtension
#define CMLinkSourceIterator_Purge ODObject_Purge
#define CMLinkSourceIterator_IsEqualTo ODObject_IsEqualTo
#define CMLinkSourceIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define CMLinkSourceIterator_somDefaultInit SOMObject_somDefaultInit
#define CMLinkSourceIterator_somDestruct SOMObject_somDestruct
#define CMLinkSourceIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define CMLinkSourceIterator_somDefaultAssign SOMObject_somDefaultAssign
#define CMLinkSourceIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define CMLinkSourceIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define CMLinkSourceIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define CMLinkSourceIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define CMLinkSourceIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define CMLinkSourceIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define CMLinkSourceIterator_somFree SOMObject_somFree
#define CMLinkSourceIterator_somGetClass SOMObject_somGetClass
#define CMLinkSourceIterator_somGetClassName SOMObject_somGetClassName
#define CMLinkSourceIterator_somGetSize SOMObject_somGetSize
#define CMLinkSourceIterator_somIsA SOMObject_somIsA
#define CMLinkSourceIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define CMLinkSourceIterator_somRespondsTo SOMObject_somRespondsTo
#define CMLinkSourceIterator_somDispatch SOMObject_somDispatch
#define CMLinkSourceIterator_somClassDispatch SOMObject_somClassDispatch
#define CMLinkSourceIterator_somCastObj SOMObject_somCastObj
#define CMLinkSourceIterator_somResetObj SOMObject_somResetObj
#define CMLinkSourceIterator_somDispatchV SOMObject_somDispatchV
#define CMLinkSourceIterator_somDispatchL SOMObject_somDispatchL
#define CMLinkSourceIterator_somDispatchA SOMObject_somDispatchA
#define CMLinkSourceIterator_somDispatchD SOMObject_somDispatchD
#define CMLinkSourceIterator_somPrintSelf SOMObject_somPrintSelf
#define CMLinkSourceIterator_somDumpSelf SOMObject_somDumpSelf
#define CMLinkSourceIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_CMLinkSourceIterator_h */
